Re: [Issue 101010] Direct svg or eps export from calc

2024-02-24 Thread Marcus
The things would show really nice improvements in clipboard functions 
and format offering. Go for it. :-)


Marcus



Am 22.02.24 um 16:50 schrieb Damjan Jovanovic:

Thank you everyone.

There are still a few further clipboard improvements I have planned, which
I'll elaborate on separately, but briefly:
- it might not work on macOS, and probably needs another patch.
- SVG can be copied out of OpenOffice, but cannot be pasted into OpenOffice
yet.
- Neither can we paste any other vector graphics format from Inkscape. We
might need to change our MIME types for WMF and EMF to image/wmf and
image/emf, also known as image/x-wmf and image/x-emf (which Inkscape uses).
- Only on Windows, can WMF and EMF be copied out of OpenOffice. On other
platforms it uses the wrong MIME types, application/x-openoffice-wmf and
application/x-openoffice-emf, which nothing else supports, so you can't
paste.
- Inkscape doesn't sort its clipboard formats in descending order of
quality (vector graphics formats before raster graphics formats), which is
a bug in Inkscape. But we should handle such buggy apps by looking for
vector graphics formats first, then falling back to raster formats if none
are found. At present PNG is offered before SVG, so we could paste the
worse format first!
- There are probably all kinds of other clipboard improvements I haven't
even thought of yet :-).

Oh and I really like the fact we only offer vector image formats for charts
and drawing on our clipboard at the moment. LO also offers image/png, which
can probably be pasted in a wider number of applications, but will waste
space, and be blurry when zoomed.

Damjan

On Thu, Feb 22, 2024 at 12:36 AM Marcus  wrote:


I hope my commendation is not coming too late. ;-)

I also think that this is a great extension of he clipboard formats.
One reason more to work more on the way forward to AOO 4.2.0.

Marcus



Am 14.02.24 um 16:48 schrieb Dave Fisher:

CC to dev@ for exposure.

I think that this fix is absolutely cool!

Best,
Dave


On Feb 13, 2024, at 8:46 PM, bugzi...@apache.org wrote:

https://bz.apache.org/ooo/show_bug.cgi?id=101010

dam...@apache.org changed:

What|Removed |Added




  CC||dam...@apache.org

--- Comment #2 from dam...@apache.org ---
With bug 112829 fixed, you can directly copy charts from Calc in SVG

format,

but you still need to paste and save them somewhere else.

Is that an acceptable solution?



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [Issue 101010] Direct svg or eps export from calc

2024-02-23 Thread Damjan Jovanovic
On Thu, Feb 22, 2024 at 3:50 PM Damjan Jovanovic  wrote:

>
> - SVG can be copied out of OpenOffice, but cannot be pasted into
> OpenOffice yet.
>

This is now fixed by dbea4404ca2c86a3a74294e262e6584c3e450818 in trunk and
8809675e418555082e24d8d46f876db1e912250e in AOO42X, you can paste but
unfortunately due to some existing bug, any vector graphics format somehow
becomes rasterized during the paste, and ends up as bitmap that can't be
resized nicely. I'll open a bug report for this.

Damjan


Re: [Issue 101010] Direct svg or eps export from calc

2024-02-22 Thread Damjan Jovanovic
Thank you everyone.

There are still a few further clipboard improvements I have planned, which
I'll elaborate on separately, but briefly:
- it might not work on macOS, and probably needs another patch.
- SVG can be copied out of OpenOffice, but cannot be pasted into OpenOffice
yet.
- Neither can we paste any other vector graphics format from Inkscape. We
might need to change our MIME types for WMF and EMF to image/wmf and
image/emf, also known as image/x-wmf and image/x-emf (which Inkscape uses).
- Only on Windows, can WMF and EMF be copied out of OpenOffice. On other
platforms it uses the wrong MIME types, application/x-openoffice-wmf and
application/x-openoffice-emf, which nothing else supports, so you can't
paste.
- Inkscape doesn't sort its clipboard formats in descending order of
quality (vector graphics formats before raster graphics formats), which is
a bug in Inkscape. But we should handle such buggy apps by looking for
vector graphics formats first, then falling back to raster formats if none
are found. At present PNG is offered before SVG, so we could paste the
worse format first!
- There are probably all kinds of other clipboard improvements I haven't
even thought of yet :-).

Oh and I really like the fact we only offer vector image formats for charts
and drawing on our clipboard at the moment. LO also offers image/png, which
can probably be pasted in a wider number of applications, but will waste
space, and be blurry when zoomed.

Damjan

On Thu, Feb 22, 2024 at 12:36 AM Marcus  wrote:

> I hope my commendation is not coming too late. ;-)
>
> I also think that this is a great extension of he clipboard formats.
> One reason more to work more on the way forward to AOO 4.2.0.
>
> Marcus
>
>
>
> Am 14.02.24 um 16:48 schrieb Dave Fisher:
> > CC to dev@ for exposure.
> >
> > I think that this fix is absolutely cool!
> >
> > Best,
> > Dave
> >
> >> On Feb 13, 2024, at 8:46 PM, bugzi...@apache.org wrote:
> >>
> >> https://bz.apache.org/ooo/show_bug.cgi?id=101010
> >>
> >> dam...@apache.org changed:
> >>
> >>What|Removed |Added
> >>
> 
> >>  CC||dam...@apache.org
> >>
> >> --- Comment #2 from dam...@apache.org ---
> >> With bug 112829 fixed, you can directly copy charts from Calc in SVG
> format,
> >> but you still need to paste and save them somewhere else.
> >>
> >> Is that an acceptable solution?
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> For additional commands, e-mail: dev-h...@openoffice.apache.org
>
>


Re: [Issue 101010] Direct svg or eps export from calc

2024-02-21 Thread Marcus

I hope my commendation is not coming too late. ;-)

I also think that this is a great extension of he clipboard formats.
One reason more to work more on the way forward to AOO 4.2.0.

Marcus



Am 14.02.24 um 16:48 schrieb Dave Fisher:

CC to dev@ for exposure.

I think that this fix is absolutely cool!

Best,
Dave


On Feb 13, 2024, at 8:46 PM, bugzi...@apache.org wrote:

https://bz.apache.org/ooo/show_bug.cgi?id=101010

dam...@apache.org changed:

   What|Removed |Added

 CC||dam...@apache.org

--- Comment #2 from dam...@apache.org ---
With bug 112829 fixed, you can directly copy charts from Calc in SVG format,
but you still need to paste and save them somewhere else.

Is that an acceptable solution?



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: [Issue 101010] Direct svg or eps export from calc

2024-02-14 Thread Czesław Wolański
Hi All,

Very good news.

BTW:
The bug number 101010 represents the number 42 in binary.
We all know 42 means "Answer to the Ultimate Question of Life, the
Universe, and Everything".  ;-)


Regards,
  Czesław

Il giorno mer 14 feb 2024 alle ore 17:00 Matthias Seidel <
matthias.sei...@hamburg.de> ha scritto:

> Hi Dave, All,
>
> Am 14.02.24 um 16:48 schrieb Dave Fisher:
> > CC to dev@ for exposure.
> >
> > I think that this fix is absolutely cool!
>
> Definitely!
>
> I am now building for Windows to test...
>
> Regards,
>
> Matthias
>
> >
> > Best,
> > Dave
> >
> >> On Feb 13, 2024, at 8:46 PM, bugzi...@apache.org wrote:
> >>
> >> https://bz.apache.org/ooo/show_bug.cgi?id=101010
> >>
> >> dam...@apache.org changed:
> >>
> >>What|Removed |Added
> >>
> 
> >>  CC||dam...@apache.org
> >>
> >> --- Comment #2 from dam...@apache.org ---
> >> With bug 112829 fixed, you can directly copy charts from Calc in SVG
> format,
> >> but you still need to paste and save them somewhere else.
> >>
> >> Is that an acceptable solution?
> >>
> >> --
> >> You are receiving this mail because:
> >> You are on the CC list for the issue.
> >> You are the assignee for the issue.
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
> > For additional commands, e-mail: dev-h...@openoffice.apache.org
> >
>


Re: [Issue 101010] Direct svg or eps export from calc

2024-02-14 Thread Matthias Seidel

Hi Dave, All,

Am 14.02.24 um 16:48 schrieb Dave Fisher:

CC to dev@ for exposure.

I think that this fix is absolutely cool!


Definitely!

I am now building for Windows to test...

Regards,

   Matthias



Best,
Dave


On Feb 13, 2024, at 8:46 PM, bugzi...@apache.org wrote:

https://bz.apache.org/ooo/show_bug.cgi?id=101010

dam...@apache.org changed:

   What|Removed |Added

 CC||dam...@apache.org

--- Comment #2 from dam...@apache.org ---
With bug 112829 fixed, you can directly copy charts from Calc in SVG format,
but you still need to paste and save them somewhere else.

Is that an acceptable solution?

--
You are receiving this mail because:
You are on the CC list for the issue.
You are the assignee for the issue.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



smime.p7s
Description: Kryptografische S/MIME-Signatur


Re: [Issue 101010] Direct svg or eps export from calc

2024-02-14 Thread Dave Fisher
CC to dev@ for exposure.

I think that this fix is absolutely cool!

Best,
Dave

> On Feb 13, 2024, at 8:46 PM, bugzi...@apache.org wrote:
> 
> https://bz.apache.org/ooo/show_bug.cgi?id=101010
> 
> dam...@apache.org changed:
> 
>   What|Removed |Added
> 
> CC||dam...@apache.org
> 
> --- Comment #2 from dam...@apache.org ---
> With bug 112829 fixed, you can directly copy charts from Calc in SVG format,
> but you still need to paste and save them somewhere else.
> 
> Is that an acceptable solution?
> 
> -- 
> You are receiving this mail because:
> You are on the CC list for the issue.
> You are the assignee for the issue.


-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org