summaryrefslogtreecommitdiff
path: root/emfio/inc/emfreader.hxx
diff options
context:
space:
mode:
authorPatrick Jaap <patrick.jaap@tu-dresden.de>2017-10-02 16:21:04 +0200
committerBartosz Kosiorek <gang65@poczta.onet.pl>2017-10-26 20:18:52 +0200
commite06807f51d157844b357dab1bbf960cc55162330 (patch)
treeda3e5f6846259a6aa6d5b138d9b8d282b4ab66e5 /emfio/inc/emfreader.hxx
parent334cc99139f59fffba214c821707c35270a6b0ee (diff)
tdf#31814 EMF/EMF+ implement dual mode
There can be a dual mode flag set in the EMF+ data. If set, we should process either EMF or EMF+ data, because the contained information should be equal (says the documentation). The more advanced EMF+ renderer is chosen here. The flag is read in the EMFPlusReader and blocks the reading of other EMF records than HEADER, EOF and COMMENT. Thanks to Chris, for pointing out the dual mode! Change-Id: I8522930cebbb9e9ecc732397cbb3deea9e8c9127 Reviewed-on: https://gerrit.libreoffice.org/43122 Reviewed-by: Patrick Jaap <patrick.jaap@tu-dresden.de> Reviewed-by: Bartosz Kosiorek <gang65@poczta.onet.pl> Tested-by: Bartosz Kosiorek <gang65@poczta.onet.pl>
Diffstat (limited to 'emfio/inc/emfreader.hxx')
-rw-r--r--emfio/inc/emfreader.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/emfio/inc/emfreader.hxx b/emfio/inc/emfreader.hxx
index 8ee533c24068..4b2855cf54f6 100644
--- a/emfio/inc/emfreader.hxx
+++ b/emfio/inc/emfreader.hxx
@@ -31,6 +31,7 @@ namespace emfio
bool mbRecordPath : 1;
bool mbEMFPlus : 1;
+ bool mbEMFPlusDualMode : 1;
bool ReadHeader();
// reads and converts the rectangle