emfplus: add rough version of local reader

Desktop / LibreOffice - Armin Le Grand [cib.de] - 15 July 2017 05:01 EDT

Complete redevelopent is too expensive, start with adding a copy of the existing vcl importer which will in the next steps be adapted to import primitives instead of MetaFile(Actions). Adapted namespace, made compile and added sample code to roughly use it

c7470f5 emfplus: add rough version of local reader
emfio/Library_emfio.mk | 8 +
emfio/inc/emfreader.hxx | 55 +
emfio/inc/mtftools.hxx | 667 +++++++++++
emfio/inc/wmfreader.hxx | 106 ++
emfio/source/emfuno/xemfparser.cxx | 101 +-
emfio/source/reader/emfreader.cxx | 1940 ++++++++++++++++++++++++++++++
emfio/source/reader/mtftools.cxx | 2283 ++++++++++++++++++++++++++++++++++++
emfio/source/reader/wmfreader.cxx | 1846 +++++++++++++++++++++++++++++
include/vcl/dibtools.hxx | 3 +-
9 files changed, 6957 insertions(+), 52 deletions(-)

Upstream: cgit.freedesktop.org


  • Share