Bug 56004

Summary: Support for WMF rendering
Product: POI Reporter: Andreas Beeker <kiwiwings>
Component: HSLFAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: enhancement CC: vladk.dev
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

Description Andreas Beeker 2014-01-13 23:30:26 UTC
Currently POI can't render WMF and EMF pictures when drawing SlideShows.

I'm currently implementing the WMF support, which will probably be implemented in 3-4 parts:
- parsing the WMF records
- drawing the WMF in HSLF
- hopefully provide an alternative to bug #54542, as I would prefer context clipping instead of pasting cropped images

I'll post patches as a documentation as soon as a part is stable.

The implementation is currently built from scratch (based on the MS docs), as neither using the WMF-Transcoder of batik nor the license limitation of other libs makes me happy ...

When WMF works, I'll check how the FreeHep implementation for EMF can be adapted or if it is also necessary to implement it from scratch ...
Comment 1 vladk 2014-01-14 20:19:29 UTC
Just for info, there is also an open source library that can convert WMF to SVG:
http://code.google.com/p/wmf2svg/
Comment 2 Andreas Beeker 2015-12-21 01:27:45 UTC
Added "parsing the WMF records" via r1721078
Comment 3 Andreas Beeker 2016-01-16 00:14:27 UTC
Added "drawing the WMF in HSLF" in r1724897

There are still a lots of not implemented areas in the WMF classes, but the 
current results look good. So I'm closing this for now.