Re: MIME types for WMF/EMF

2024-03-03 Thread Peter kovacs
Sorry for the top posting.
But +1 from my side too.

Am 3. März 2024 11:53:20 MEZ schrieb Arrigo Marchiori :
>Dear All,
>
>On Sat, Feb 24, 2024 at 02:08:24PM +0100, Marcus wrote:
>
>> Am 22.02.24 um 20:41 schrieb Pedro Lino:
>> > > On 02/22/2024 4:01 PM WET Damjan Jovanovic  wrote:
>> > 
>> > > Should we change the MIME types to "image/wmf" and "image/emf"? We would
>> > > presumably also keep aliases like "image/x-wmf" and "image/x-emf". 
>> > > Inkscape
>> > > can paste "image/x-emf". Should we keep the existing MIME types as 
>> > > aliases
>> > > too, so we can copy and paste to and from LibreOffice?
>> > 
>> > +1 on changing  the MIME types to improve compatibility with Inkscape and 
>> > other programs.
>> > I'm not sure LO still uses the same types. In my experience copying from 
>> > LO to AOO usually doesn't work that well (at least under Windows)
>> 
>> +1 to change MIME types and keep the aliases.
>
>+1 for me too.
>
>Best regards,
>-- 
>Arrigo
>
>-
>To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
>For additional commands, e-mail: dev-h...@openoffice.apache.org
>


Re: MIME types for WMF/EMF

2024-03-03 Thread Arrigo Marchiori
Dear All,

On Sat, Feb 24, 2024 at 02:08:24PM +0100, Marcus wrote:

> Am 22.02.24 um 20:41 schrieb Pedro Lino:
> > > On 02/22/2024 4:01 PM WET Damjan Jovanovic  wrote:
> > 
> > > Should we change the MIME types to "image/wmf" and "image/emf"? We would
> > > presumably also keep aliases like "image/x-wmf" and "image/x-emf". 
> > > Inkscape
> > > can paste "image/x-emf". Should we keep the existing MIME types as aliases
> > > too, so we can copy and paste to and from LibreOffice?
> > 
> > +1 on changing  the MIME types to improve compatibility with Inkscape and 
> > other programs.
> > I'm not sure LO still uses the same types. In my experience copying from LO 
> > to AOO usually doesn't work that well (at least under Windows)
> 
> +1 to change MIME types and keep the aliases.

+1 for me too.

Best regards,
-- 
Arrigo

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



Re: MIME types for WMF/EMF

2024-02-24 Thread Marcus

Am 22.02.24 um 20:41 schrieb Pedro Lino:

On 02/22/2024 4:01 PM WET Damjan Jovanovic  wrote:



Should we change the MIME types to "image/wmf" and "image/emf"? We would
presumably also keep aliases like "image/x-wmf" and "image/x-emf". Inkscape
can paste "image/x-emf". Should we keep the existing MIME types as aliases
too, so we can copy and paste to and from LibreOffice?


+1 on changing  the MIME types to improve compatibility with Inkscape and other 
programs.
I'm not sure LO still uses the same types. In my experience copying from LO to 
AOO usually doesn't work that well (at least under Windows)


+1 to change MIME types and keep the aliases.

Marcus


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



Re: MIME types for WMF/EMF

2024-02-22 Thread Pedro Lino
Hi Damjan

> On 02/22/2024 4:01 PM WET Damjan Jovanovic  wrote:

> Should we change the MIME types to "image/wmf" and "image/emf"? We would
> presumably also keep aliases like "image/x-wmf" and "image/x-emf". Inkscape
> can paste "image/x-emf". Should we keep the existing MIME types as aliases
> too, so we can copy and paste to and from LibreOffice?

+1 on changing  the MIME types to improve compatibility with Inkscape and other 
programs.
I'm not sure LO still uses the same types. In my experience copying from LO to 
AOO usually doesn't work that well (at least under Windows)

Best,
Pedro

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



MIME types for WMF/EMF

2024-02-22 Thread Damjan Jovanovic
Hi

While developing the patch for bug 112829, I saw that our clipboard formats
for WMF and EMF are
"application/x-openoffice-wmf;windows_formatname=\"Image WMF\"" and
"application/x-openoffice-emf;windows_formatname=\"Image EMF\"". This leads
to other applications being able to paste WMF and EMF from OpenOffice on
Windows, where the clipboard format is generated from the "Image WMF" or
"Image EMF" parameter, but being unable to paste on Linux/FreeBSD and
probably macOS, where the clipboard format is that whole unusual string.

In 2016, RFC 7093 (https://datatracker.ietf.org/doc/html/rfc7903)
standardized WMF and EMF as image/wmf and image/emf, and these appear on
IANA's list of official MIME types. Should we change our MIME types to
those? Ideally we would use the MIME types supported by other applications.
But at least "image/wmf" and "image/emf" have a chance of working on some
of them, while the application-specific "application/x-openoffice-wmf" and
""application/x-openoffice-emf" never will.

Should we change the MIME types to "image/wmf" and "image/emf"? We would
presumably also keep aliases like "image/x-wmf" and "image/x-emf". Inkscape
can paste "image/x-emf". Should we keep the existing MIME types as aliases
too, so we can copy and paste to and from LibreOffice?

Regards
Damjan