diff options
author | Armin Le Grand <Armin.Le.Grand@cib.de> | 2017-06-09 19:55:17 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-07-15 11:01:29 +0200 |
commit | 83535a28c57ffb59f795dd35332d6b3426071e32 (patch) | |
tree | a35406c5ed8c7971681385cbb081aad325e1cf54 /svgio | |
parent | 79f5cb620984c4d04d53a497e698472b2192d2bb (diff) |
emfplus: create a wmf/emf/emf+ primitive based importer
First steps to organize an importer that can read/interpret
wmf/emf/emf+ and deliver a primitive representation for
the content by parsing it. Use the same mechanisms as
already applied for Svg, so to reuse abilities to keep
original binary data to allow save again and embedding in
files and have an implemented replacement bitmap based
representation. For this, unify the used helper classes
to handle more than just Svg. For 1st try, add test code
and static bool switches
Change-Id: I6e0a82943541d811a8f8d65a84115569fcd8cee7
Diffstat (limited to 'svgio')
-rw-r--r-- | svgio/source/svgreader/svgimagenode.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx index da26a83e2b6b..47e70177edf4 100644 --- a/svgio/source/svgreader/svgimagenode.cxx +++ b/svgio/source/svgreader/svgimagenode.cxx @@ -166,13 +166,13 @@ namespace svgio { if(GraphicType::Bitmap == rGraphic.GetType()) { - if(rGraphic.getSvgData().get()) + if(rGraphic.getVectorGraphicData().get()) { // embedded Svg - rEmbedded = rGraphic.getSvgData()->getPrimitive2DSequence(); + rEmbedded = rGraphic.getVectorGraphicData()->getPrimitive2DSequence(); // fill aViewBox - rViewBox = rGraphic.getSvgData()->getRange(); + rViewBox = rGraphic.getVectorGraphicData()->getRange(); } else { |