Bug 56004 - Support for WMF rendering
Summary: Support for WMF rendering
Alias: None
Product: POI
Classification: Unclassified
Component: HSLF (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: POI Developers List
Depends on:
Reported: 2014-01-13 23:30 UTC by Andreas Beeker
Modified: 2016-01-16 00:14 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
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:
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.