Ulf Erikson wrote:
Isn't it easy to limit an extension to a particular platform? The Windows-only code wouldn't harm anyone in that case.. besides, do you have any need of EMF on Linux? Did you look at my PDF exporter? That one works okay with pdflatex. Personally I see EMF mainly as something to be used with MS-Word, but maybe I am wrong in that assumption.
OpenOffice.org running on Linux can create (export) to EMF, it also can open (import) EMF. WMF/EMF is one of the easiest ways to work with scalable graphics in OpenOffice.org. Some of the clipart included in StarOffice, as an enhancement over the free OpenOffice.org, is in WMF format.
As OpenOffice.org can't import SVG clipart for the moment, one of he proposed workarounds is to convert from SVG to WMF/EMF.
For the Open Clip Art Library it would be useful if we could mass-convert images from WMF/EMF to SVG and include them in the library (when we find or receive images with a suitable license, as happened in the past).
Anyway, the needed functions are part of the Windows API, but as far as I know they are re-implemented in libemf. So technically you should be able to use this extension on Linux by linking with libemf. Maybe using libemf would be an option for Win95/98 as well? But I somehow doubt that you would be able to view such an EMF on Win95/98..
I don't know which library is used in OpenOffice.org, nor how good it it with complex images.