summaryrefslogtreecommitdiff
path: root/writerperfect/source/draw
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2015-05-17 14:04:22 +0200
committerDavid Tardon <dtardon@redhat.com>2015-05-17 14:05:39 +0200
commit773bb53d0b672fbb6b274e45f35228c9427d7fb4 (patch)
treeff68777b3e6ab573dc98b9983750663ac5977847 /writerperfect/source/draw
parentc5d37cc97036c6edc126bf81f9829906bd3fac0e (diff)
enable new formats supported by libmwaw
Change-Id: I228b5f0a317c05ae845a9fded0ef19f87b648cde
Diffstat (limited to 'writerperfect/source/draw')
-rw-r--r--writerperfect/source/draw/MWAWDrawImportFilter.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.cxx b/writerperfect/source/draw/MWAWDrawImportFilter.cxx
index 34939032050a..85ce6d62e6c9 100644
--- a/writerperfect/source/draw/MWAWDrawImportFilter.cxx
+++ b/writerperfect/source/draw/MWAWDrawImportFilter.cxx
@@ -67,6 +67,9 @@ bool MWAWDrawImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, O
case MWAWDocument::MWAW_T_GREATWORKS:
rTypeName = "draw_Great_Works";
break;
+ case MWAWDocument::MWAW_T_MACDRAFT:
+ rTypeName = "draw_MacDraft";
+ break;
case MWAWDocument::MWAW_T_MACDRAW:
rTypeName = "draw_MacDraw";
break;
@@ -82,6 +85,9 @@ bool MWAWDrawImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, O
case MWAWDocument::MWAW_T_SUPERPAINT:
rTypeName = "draw_SuperPaint";
break;
+ case MWAWDocument::MWAW_T_RESERVED1:
+ rTypeName = "draw_ClarisDraw";
+ break;
case MWAWDocument::MWAW_T_ACTA:
case MWAWDocument::MWAW_T_ADOBEILLUSTRATOR:
@@ -102,7 +108,6 @@ bool MWAWDrawImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, O
case MWAWDocument::MWAW_T_HANMACWORDK:
case MWAWDocument::MWAW_T_LIGHTWAYTEXT:
case MWAWDocument::MWAW_T_MACDOC:
- case MWAWDocument::MWAW_T_MACDRAFT:
case MWAWDocument::MWAW_T_MACWRITE:
case MWAWDocument::MWAW_T_MACWRITEPRO:
case MWAWDocument::MWAW_T_MARINERWRITE:
@@ -128,7 +133,6 @@ bool MWAWDrawImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, O
case MWAWDocument::MWAW_T_ZWRITE:
case MWAWDocument::MWAW_T_4DIMENSION:
- case MWAWDocument::MWAW_T_RESERVED1:
case MWAWDocument::MWAW_T_RESERVED2:
case MWAWDocument::MWAW_T_RESERVED3:
case MWAWDocument::MWAW_T_RESERVED4: