summaryrefslogtreecommitdiffstats
path: root/writerperfect
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/AllLangMoTarget_wpt.mk13
-rw-r--r--writerperfect/CppunitTest_writerperfect_calc.mk42
-rw-r--r--writerperfect/CppunitTest_writerperfect_dialogs_test.mk68
-rw-r--r--writerperfect/CppunitTest_writerperfect_draw.mk39
-rw-r--r--writerperfect/CppunitTest_writerperfect_epubexport.mk49
-rw-r--r--writerperfect/CppunitTest_writerperfect_import.mk42
-rw-r--r--writerperfect/CppunitTest_writerperfect_impress.mk39
-rw-r--r--writerperfect/CppunitTest_writerperfect_stream.mk59
-rw-r--r--writerperfect/CppunitTest_writerperfect_wpftimport.mk57
-rw-r--r--writerperfect/CppunitTest_writerperfect_writer.mk43
-rw-r--r--writerperfect/IwyuFilter_writerperfect.yaml202
-rw-r--r--writerperfect/Library_wpftcalc.mk77
-rw-r--r--writerperfect/Library_wpftdraw.mk84
-rw-r--r--writerperfect/Library_wpftimpress.mk61
-rw-r--r--writerperfect/Library_wpftqahelper.mk43
-rw-r--r--writerperfect/Library_wpftwriter.mk133
-rw-r--r--writerperfect/Library_writerperfect.mk60
-rw-r--r--writerperfect/Makefile14
-rw-r--r--writerperfect/Module_writerperfect.mk64
-rw-r--r--writerperfect/README.md9
-rw-r--r--writerperfect/UIConfig_writerperfect.mk27
-rw-r--r--writerperfect/UITest_writerperfect_epubexport.mk16
-rw-r--r--writerperfect/inc/DirectoryStream.hxx57
-rw-r--r--writerperfect/inc/DocumentHandler.hxx51
-rw-r--r--writerperfect/inc/DocumentHandlerFor.hxx22
-rw-r--r--writerperfect/inc/DocumentHandlerForOdg.hxx24
-rw-r--r--writerperfect/inc/DocumentHandlerForOdp.hxx24
-rw-r--r--writerperfect/inc/DocumentHandlerForOds.hxx24
-rw-r--r--writerperfect/inc/DocumentHandlerForOdt.hxx24
-rw-r--r--writerperfect/inc/ImportFilter.hxx184
-rw-r--r--writerperfect/inc/WPFTEncodingDialog.hxx44
-rw-r--r--writerperfect/inc/WPFTResMgr.hxx9
-rw-r--r--writerperfect/inc/WPXSvInputStream.hxx76
-rw-r--r--writerperfect/inc/strings.hrc23
-rw-r--r--writerperfect/inc/writerperfectdllapi.h20
-rw-r--r--writerperfect/qa/uitest/epubexport/epubexport.py128
-rw-r--r--writerperfect/qa/unit/DirectoryStreamTest.cxx148
-rw-r--r--writerperfect/qa/unit/DrawingImportTest.cxx156
-rw-r--r--writerperfect/qa/unit/EPUBExportTest.cxx866
-rw-r--r--writerperfect/qa/unit/ImportTest.cxx124
-rw-r--r--writerperfect/qa/unit/PresentationImportTest.cxx156
-rw-r--r--writerperfect/qa/unit/SpreadsheetImportTest.cxx138
-rw-r--r--writerperfect/qa/unit/TextImportTest.cxx145
-rw-r--r--writerperfect/qa/unit/WPXSvStreamTest.cxx355
-rw-r--r--writerperfect/qa/unit/WpftCalcFilterTest.cxx62
-rw-r--r--writerperfect/qa/unit/WpftDrawFilterTest.cxx81
-rw-r--r--writerperfect/qa/unit/WpftFilterFixture.cxx35
-rw-r--r--writerperfect/qa/unit/WpftFilterFixture.hxx85
-rw-r--r--writerperfect/qa/unit/WpftFilterTestBase.cxx62
-rw-r--r--writerperfect/qa/unit/WpftFilterTestBase.hxx68
-rw-r--r--writerperfect/qa/unit/WpftImpressFilterTest.cxx62
-rw-r--r--writerperfect/qa/unit/WpftLoader.cxx210
-rw-r--r--writerperfect/qa/unit/WpftLoader.hxx100
-rw-r--r--writerperfect/qa/unit/WpftWriterFilterTest.cxx81
-rw-r--r--writerperfect/qa/unit/data/calc/libetonyek/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libetonyek/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libetonyek/pass/Numbers_2.numbersbin0 -> 113709 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_1.0.hqx61
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_2.0.hqx125
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_1.0.hqx115
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_2.0.hqx222
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_1.0.hqx45
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_DB_1.0.hqx176
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisResolve_1.0.hqx43
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_2.0.hqx102
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_4.0.hqx160
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_5.0.cwkbin0 -> 11256 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_6.0.cwkbin0 -> 24176 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB.cwkbin0 -> 14607 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_2.0.hqx95
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_4.0.hqx134
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_5.0.cwkbin0 -> 10691 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/JazzLotus.hqx39
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_2.0.hqx45
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_3.0.hqx54
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_4.0.wk4bin0 -> 5632 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_2.0.hqx20
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_3.0.hqx266
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_4.0.wdbbin0 -> 10240 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/Multiplan_1.hqx46
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/Wingz_1.0.hqx28
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_1.0.hqx45
-rw-r--r--writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_DB_1.0.hqx176
-rw-r--r--writerperfect/qa/unit/data/calc/libstaroffice/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libstaroffice/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libstaroffice/pass/Calc_3.1.sdcbin0 -> 11776 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Lotus.wk1bin0 -> 1503 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_3.123bin0 -> 30352 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_98.123bin0 -> 7616 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Multiplan_3bin0 -> 2612 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wb1bin0 -> 174166 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wq1bin0 -> 3540 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wdbbin0 -> 1276 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wksbin0 -> 1281 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wdbbin0 -> 5632 bytes
-rw-r--r--writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wksbin0 -> 2295 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr-cmx/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr-cmx/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr-cmx/pass/fdo63782-1.cmxbin0 -> 35772 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr/fail/EDB-35217-1.cdrbin0 -> 10900 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr/pass/EDB-35217-2.cdrbin0 -> 10900 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libcdr/pass/fdo65220-2.cdrbin0 -> 10755 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libfreehand/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libfreehand/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libfreehand/pass/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libmspub/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libmspub/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22310-1.pubbin0 -> 577536 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22655-1.pubbin0 -> 577536 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmspub/pass/EDB-29664-1.pubbin0 -> 89600 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmspub/pass/fdo59355-1.pubbin0 -> 10752 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_1.0.hqx44
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_2.0.hqx104
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_P_1.0.hqx98
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_1.0.hqx104
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_P_1.0.hqx427
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/Canvas_2.hqx407
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisDraw.hqx160
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_2.0.hqx161
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_4.0.hqx181
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_5.0.cwkbin0 -> 195344 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_6.0.cwkbin0 -> 198376 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_10bin0 -> 178980 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_3_win.rifbin0 -> 1944 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.0.hqx133
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.1.hqx72
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/DrawingTable_1.hqx196
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/FreeHand_1.0.hqx75
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/FreeHand_2.0.hqx49
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraft_1.0.hqx134
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraft_5.5.drwbin0 -> 62079 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_0.hqx9
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_1.hqx103
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_II.hqx110
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_Pro_1.0.hqx109
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacPaint_1.0.hqx72
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MacPaint_2.0.hqx116
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_3.0.hqx27
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_4.0.mswbin0 -> 10752 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/ReadySetGo_1bin0 -> 150 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/Scoop_1bin0 -> 608 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_1.0.hqx27
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_P_1.0.hqx71
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_1.0.hqx104
-rw-r--r--writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_P_1.0.hqx137
-rw-r--r--writerperfect/qa/unit/data/draw/libpagemaker/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libpagemaker/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libpagemaker/pass/shapes.pmdbin0 -> 96256 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libstaroffice/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libstaroffice/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libstaroffice/pass/Draw_3.1.sdabin0 -> 23040 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libvisio/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libvisio/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libvisio/pass/EDB-22679-1.vsdbin0 -> 681984 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libvisio/pass/fdo57117-1.vsdbin0 -> 11264 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libwpg/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libwpg/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libwpg/pass/WPG1.wpgbin0 -> 79 bytes
-rw-r--r--writerperfect/qa/unit/data/draw/libzmf/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libzmf/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/draw/libzmf/pass/ZonerDraw_5.zmfbin0 -> 1408 bytes
-rw-r--r--writerperfect/qa/unit/data/import/SOLVE.FM3bin0 -> 1827 bytes
-rw-r--r--writerperfect/qa/unit/data/import/SOLVE.WK3bin0 -> 10772 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_1.keybin0 -> 1252706 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_2.keybin0 -> 335906 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_3.keybin0 -> 6972479 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_4.keybin0 -> 7340562 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_5.keybin0 -> 2210218 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_6.keybin0 -> 379391 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/ClarisWorks_6.0.cwkbin0 -> 16880 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_2.pptbin0 -> 3708 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_3.pptbin0 -> 8861 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_4.pptbin0 -> 33792 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_7.pptbin0 -> 169472 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_148
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_2bin0 -> 1892 bytes
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_3101
-rw-r--r--writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_4.pptbin0 -> 15872 bytes
-rw-r--r--writerperfect/qa/unit/data/stream/fdo40686-1.docbin0 -> 12288 bytes
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/META-INF/manifest.xml1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/Thumbnails/thumbnail.png1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/content.xml1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/manifest.rdf1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/meta.xml1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/mimetype1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/settings.xml1
-rw-r--r--writerperfect/qa/unit/data/stream/test.dir/styles.xml1
-rw-r--r--writerperfect/qa/unit/data/stream/test.odtbin0 -> 8486 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/2pages.fodt14
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/abi11105.abw200
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/char-namedstyle.fodt16
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/escape.fodt16
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/font-embedding.fodt2657
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/footnote.fodt8
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/fxl-2page.fodt78
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/hello.fodt8
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/image-border.fodt36
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/image-link.fodt37
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/image-nospan.fodt33
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/image.fodt28
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/line-break.fodt20
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/link-charformat.fodt13
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/link-invalid.odtbin0 -> 9554 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/link-namedcharformat.fodt13
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/link.fodt8
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/list.fodt36
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/meta-xmp.fodt14
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/meta-xmp/metadata.xmp28
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/meta.fodt14
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/meta/cover.pngbin0 -> 766 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/named-style-inheritance.fodt39
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/nested-span.fodt21
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/outline-level.fodt15
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/para-autostyle-char-props.fodt21
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/para-char-props.fodt16
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/para-namedstyle.fodt18
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/popup-api.odtbin0 -> 10103 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/popup-media.odtbin0 -> 10111 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/popup-media/libreoffice.pngbin0 -> 714 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/popup.odtbin0 -> 10103 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/popup/libreoffice.pngbin0 -> 714 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/section.fodt12
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/simple-ruby.odtbin0 -> 8307 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/span-autostyle.fodt19
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/table-cell-border.fodt48
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/table-cell-width.fodt45
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/table-row-height.fodt42
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/table-row-span.fodt42
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/table-width.fodt28
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/table.fodt39
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/tdf115623-many-pagespans.odtbin0 -> 8591 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/tdf115623-single-writing-mode.odtbin0 -> 8562 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/tdf115623-split-by-chapter.odtbin0 -> 9346 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/epubexport/text-box.fodt48
-rw-r--r--writerperfect/qa/unit/data/writer/libabw/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libabw/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libabw/pass/hello.abw32
-rw-r--r--writerperfect/qa/unit/data/writer/libabw/pass/hello.zabwbin0 -> 1128 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/fail/TCR.tcrbin0 -> 288 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/Broad_Band_eBook.lrfbin0 -> 1477 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb226
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2.zipbin0 -> 472 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/PalmDOC.pdbbin0 -> 135 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/PeanutPress.pdbbin0 -> 419 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/Plucker.pdbbin0 -> 4838 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/TealDoc.pdbbin0 -> 4182 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libe-book/pass/zTXT.pdbbin0 -> 4594 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libetonyek/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libetonyek/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_4.pagesbin0 -> 42277 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_5.pagesbin0 -> 57362 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/indeterminate/GreatWorks_v2.hqx180
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/Acta_1.0.hqx24
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/BeagleWorks_v1.hqx49
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_1.0bin0 -> 7716 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_2.0bin0 -> 7779 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_6.0.cwkbin0 -> 55179 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/DOCMaker_4.hqx1496
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_1.0bin0 -> 9688 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_2.0bin0 -> 3274 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.4J.hqx178
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.6K.hqx94
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/JazzLotus.hqx40
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/LightWayText_4.0.hqx16
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MacDoc_1.0.hqx41
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MacWrite_4.5bin0 -> 5174 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MacWrite_Pro1.0bin0 -> 14848 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_1.6L.hqx222
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_3.5.hqxbin0 -> 57068 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MaxWrite_1.hqx12
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_1.0bin0 -> 3456 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_3.0bin0 -> 1024 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_5.0bin0 -> 40960 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_1.0bin0 -> 46158 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_2.0bin0 -> 14490 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MindWrite_2.1bin0 -> 3402 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/More.hqx123
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/MouseWrite_1.hqx58
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/NisusWriter_4.0.hqx206
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_2.1.hqx24
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_3.2.hqx136
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_5.5.ragbin0 -> 14652 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/ScriptWriter_1bin0 -> 1972 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/SimpleText_1.0.hqx11
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/StudentWritingCenterbin0 -> 1142 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/TexEdit_2.0.hqx14
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/WordMakerbin0 -> 1064 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_2.0bin0 -> 2632 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_4.0bin0 -> 23755 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/WriterPlusbin0 -> 8918 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libmwaw/pass/eDoc_2.0.hqx29
-rw-r--r--writerperfect/qa/unit/data/writer/libstaroffice/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libstaroffice/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libstaroffice/pass/Writer_3.1.sdwbin0 -> 10752 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2007-1735-1.wpdbin0 -> 1504 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1759-1.wpdbin0 -> 26162 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-1.wpdbin0 -> 25459 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-2.wpdbin0 -> 17845 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/EDB-14344-1.wpdbin0 -> 2810 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/WP1.wpdbin0 -> 64 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/WP3.wpdbin0 -> 504 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/WP4.wpbin0 -> 211 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/WP5.wpbin0 -> 885 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwpd/pass/WP6.wpdbin0 -> 3587 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/fail/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/indeterminate/.gitignore0
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/PocketWord.pswbin0 -> 752 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.docbin0 -> 7168 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Works_2.00A_DOS.wpsbin0 -> 660 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Works_3.0.wpsbin0 -> 3584 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Works_4.5.wpsbin0 -> 4608 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Works_5.0.wpsbin0 -> 6144 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Works_6.0.wpsbin0 -> 13824 bytes
-rw-r--r--writerperfect/qa/unit/data/writer/libwps/pass/Write_3.1.wribin0 -> 176896 bytes
-rw-r--r--writerperfect/qa/unit/data/writerperfect-dialogs-test.txt38
-rw-r--r--writerperfect/qa/unit/stream.cxx16
-rw-r--r--writerperfect/qa/unit/wpftimport.cxx29
-rw-r--r--writerperfect/qa/unit/wpftimport.hxx30
-rw-r--r--writerperfect/qa/unit/wpftqahelperdllapi.h21
-rw-r--r--writerperfect/qa/unit/writerperfect-dialogs-test.cxx58
-rw-r--r--writerperfect/source/calc/MSWorksCalcImportFilter.cxx475
-rw-r--r--writerperfect/source/calc/MSWorksCalcImportFilter.hxx45
-rw-r--r--writerperfect/source/calc/MWAWCalcImportFilter.cxx124
-rw-r--r--writerperfect/source/calc/MWAWCalcImportFilter.hxx40
-rw-r--r--writerperfect/source/calc/NumbersImportFilter.cxx65
-rw-r--r--writerperfect/source/calc/NumbersImportFilter.hxx40
-rw-r--r--writerperfect/source/calc/StarOfficeCalcImportFilter.cxx99
-rw-r--r--writerperfect/source/calc/StarOfficeCalcImportFilter.hxx41
-rw-r--r--writerperfect/source/calc/wpftcalc.component33
-rw-r--r--writerperfect/source/calc/wpftcalc.component.extended7
-rw-r--r--writerperfect/source/common/DirectoryStream.cxx222
-rw-r--r--writerperfect/source/common/DocumentHandler.cxx179
-rw-r--r--writerperfect/source/common/WPFTEncodingDialog.cxx121
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx785
-rw-r--r--writerperfect/source/draw/CDRImportFilter.cxx60
-rw-r--r--writerperfect/source/draw/CDRImportFilter.hxx39
-rw-r--r--writerperfect/source/draw/CMXImportFilter.cxx60
-rw-r--r--writerperfect/source/draw/CMXImportFilter.hxx39
-rw-r--r--writerperfect/source/draw/FreehandImportFilter.cxx56
-rw-r--r--writerperfect/source/draw/FreehandImportFilter.hxx36
-rw-r--r--writerperfect/source/draw/MSPUBImportFilter.cxx56
-rw-r--r--writerperfect/source/draw/MSPUBImportFilter.hxx36
-rw-r--r--writerperfect/source/draw/MWAWDrawImportFilter.cxx116
-rw-r--r--writerperfect/source/draw/MWAWDrawImportFilter.hxx41
-rw-r--r--writerperfect/source/draw/PageMakerImportFilter.cxx56
-rw-r--r--writerperfect/source/draw/PageMakerImportFilter.hxx37
-rw-r--r--writerperfect/source/draw/QXPImportFilter.cxx60
-rw-r--r--writerperfect/source/draw/QXPImportFilter.hxx36
-rw-r--r--writerperfect/source/draw/StarOfficeDrawImportFilter.cxx101
-rw-r--r--writerperfect/source/draw/StarOfficeDrawImportFilter.hxx42
-rw-r--r--writerperfect/source/draw/VisioImportFilter.cxx56
-rw-r--r--writerperfect/source/draw/VisioImportFilter.hxx36
-rw-r--r--writerperfect/source/draw/WPGImportFilter.cxx62
-rw-r--r--writerperfect/source/draw/WPGImportFilter.hxx41
-rw-r--r--writerperfect/source/draw/ZMFImportFilter.cxx60
-rw-r--r--writerperfect/source/draw/ZMFImportFilter.hxx36
-rw-r--r--writerperfect/source/draw/wpftdraw.component67
-rw-r--r--writerperfect/source/impress/KeynoteImportFilter.cxx247
-rw-r--r--writerperfect/source/impress/KeynoteImportFilter.hxx41
-rw-r--r--writerperfect/source/impress/MWAWPresentationImportFilter.cxx104
-rw-r--r--writerperfect/source/impress/MWAWPresentationImportFilter.hxx42
-rw-r--r--writerperfect/source/impress/StarOfficePresentationImportFilter.cxx102
-rw-r--r--writerperfect/source/impress/StarOfficePresentationImportFilter.hxx42
-rw-r--r--writerperfect/source/impress/wpftimpress.component27
-rw-r--r--writerperfect/source/writer/AbiWordImportFilter.cxx58
-rw-r--r--writerperfect/source/writer/AbiWordImportFilter.hxx40
-rw-r--r--writerperfect/source/writer/EBookImportFilter.cxx114
-rw-r--r--writerperfect/source/writer/EBookImportFilter.hxx40
-rw-r--r--writerperfect/source/writer/EPUBExportDialog.cxx229
-rw-r--r--writerperfect/source/writer/EPUBExportDialog.hxx62
-rw-r--r--writerperfect/source/writer/EPUBExportFilter.cxx206
-rw-r--r--writerperfect/source/writer/EPUBExportFilter.hxx71
-rw-r--r--writerperfect/source/writer/EPUBExportUIComponent.cxx127
-rw-r--r--writerperfect/source/writer/EPUBExportUIComponent.hxx86
-rw-r--r--writerperfect/source/writer/EPUBPackage.cxx215
-rw-r--r--writerperfect/source/writer/EPUBPackage.hxx90
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.cxx157
-rw-r--r--writerperfect/source/writer/MSWorksImportFilter.hxx41
-rw-r--r--writerperfect/source/writer/MWAWImportFilter.cxx117
-rw-r--r--writerperfect/source/writer/MWAWImportFilter.hxx41
-rw-r--r--writerperfect/source/writer/PagesImportFilter.cxx63
-rw-r--r--writerperfect/source/writer/PagesImportFilter.hxx40
-rw-r--r--writerperfect/source/writer/StarOfficeWriterImportFilter.cxx128
-rw-r--r--writerperfect/source/writer/StarOfficeWriterImportFilter.hxx42
-rw-r--r--writerperfect/source/writer/WordPerfectImportFilter.cxx233
-rw-r--r--writerperfect/source/writer/WordPerfectImportFilter.hxx63
-rw-r--r--writerperfect/source/writer/exp/XMLBase64ImportContext.cxx65
-rw-r--r--writerperfect/source/writer/exp/XMLBase64ImportContext.hxx42
-rw-r--r--writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx126
-rw-r--r--writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx40
-rw-r--r--writerperfect/source/writer/exp/XMLSectionContext.cxx44
-rw-r--r--writerperfect/source/writer/exp/XMLSectionContext.hxx33
-rw-r--r--writerperfect/source/writer/exp/XMLTextFrameContext.cxx171
-rw-r--r--writerperfect/source/writer/exp/XMLTextFrameContext.hxx38
-rw-r--r--writerperfect/source/writer/exp/XMLTextListContext.cxx33
-rw-r--r--writerperfect/source/writer/exp/XMLTextListContext.hxx29
-rw-r--r--writerperfect/source/writer/exp/XMLTextListItemContext.cxx36
-rw-r--r--writerperfect/source/writer/exp/XMLTextListItemContext.hxx29
-rw-r--r--writerperfect/source/writer/exp/txtparai.cxx634
-rw-r--r--writerperfect/source/writer/exp/txtparai.hxx59
-rw-r--r--writerperfect/source/writer/exp/txtstyli.cxx415
-rw-r--r--writerperfect/source/writer/exp/txtstyli.hxx60
-rw-r--r--writerperfect/source/writer/exp/xmlfmt.cxx295
-rw-r--r--writerperfect/source/writer/exp/xmlfmt.hxx73
-rw-r--r--writerperfect/source/writer/exp/xmlictxt.cxx56
-rw-r--r--writerperfect/source/writer/exp/xmlictxt.hxx51
-rw-r--r--writerperfect/source/writer/exp/xmlimp.cxx621
-rw-r--r--writerperfect/source/writer/exp/xmlimp.hxx149
-rw-r--r--writerperfect/source/writer/exp/xmlmetai.cxx285
-rw-r--r--writerperfect/source/writer/exp/xmlmetai.hxx83
-rw-r--r--writerperfect/source/writer/exp/xmltbli.cxx254
-rw-r--r--writerperfect/source/writer/exp/xmltbli.hxx44
-rw-r--r--writerperfect/source/writer/exp/xmltext.cxx55
-rw-r--r--writerperfect/source/writer/exp/xmltext.hxx34
-rw-r--r--writerperfect/source/writer/wpftwriter.component72
-rw-r--r--writerperfect/source/writer/wpftwriter.component.extended8
-rw-r--r--writerperfect/source/writer/wpftwriter.component.extended212
-rw-r--r--writerperfect/uiconfig/ui/exportepub.ui538
-rw-r--r--writerperfect/uiconfig/ui/wpftencodingdialog.ui95
433 files changed, 28154 insertions, 0 deletions
diff --git a/writerperfect/AllLangMoTarget_wpt.mk b/writerperfect/AllLangMoTarget_wpt.mk
new file mode 100644
index 0000000000..433bb66e8b
--- /dev/null
+++ b/writerperfect/AllLangMoTarget_wpt.mk
@@ -0,0 +1,13 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+$(eval $(call gb_AllLangMoTarget_AllLangMoTarget,wpt))
+
+$(eval $(call gb_AllLangMoTarget_set_polocation,wpt,writerperfect))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_calc.mk b/writerperfect/CppunitTest_writerperfect_calc.mk
new file mode 100644
index 0000000000..54647a34a6
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_calc.mk
@@ -0,0 +1,42 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_calc))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_calc,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_calc))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_calc,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ test \
+ tl \
+ ucbhelper \
+ unotest \
+ wpftqahelper \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_calc))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_calc))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_calc,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_calc))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_calc,\
+ writerperfect/qa/unit/WpftCalcFilterTest \
+))
+
+$(call gb_CppunitTest_get_target,writerperfect_calc): \
+ $(call gb_Library_get_target,ipb)
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_dialogs_test.mk b/writerperfect/CppunitTest_writerperfect_dialogs_test.mk
new file mode 100644
index 0000000000..1052d77003
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_dialogs_test.mk
@@ -0,0 +1,68 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#*************************************************************************
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+#*************************************************************************
+
+$(eval $(call gb_CppunitTest_CppunitScreenShot,writerperfect_dialogs_test))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_dialogs_test, \
+ writerperfect/qa/unit/writerperfect-dialogs-test \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_dialogs_test))
+
+$(eval $(call gb_CppunitTest_set_include,desktop_dialogs_test,\
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_dialogs_test, \
+ basegfx \
+ comphelper \
+ cppu \
+ cppuhelper \
+ drawinglayer \
+ editeng \
+ i18nlangtag \
+ i18nutil \
+ msfilter \
+ oox \
+ sal \
+ salhelper \
+ sax \
+ sfx \
+ sot \
+ svl \
+ svt \
+ test \
+ tl \
+ tk \
+ ucbhelper \
+ unotest \
+ utl \
+ vcl \
+ xo \
+))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_dialogs_test,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_dialogs_test))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_dialogs_test))
+$(eval $(call gb_CppunitTest_use_vcl_non_headless_with_windows,writerperfect_dialogs_test))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_dialogs_test,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_dialogs_test))
+
+$(eval $(call gb_CppunitTest_use_uiconfigs,writerperfect_dialogs_test,\
+ writerperfect \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_draw.mk b/writerperfect/CppunitTest_writerperfect_draw.mk
new file mode 100644
index 0000000000..cccbafbf1d
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_draw.mk
@@ -0,0 +1,39 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_draw))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_draw,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_draw))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_draw,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ test \
+ tl \
+ ucbhelper \
+ unotest \
+ wpftqahelper \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_draw))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_draw))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_draw,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_draw))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_draw,\
+ writerperfect/qa/unit/WpftDrawFilterTest \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_epubexport.mk b/writerperfect/CppunitTest_writerperfect_epubexport.mk
new file mode 100644
index 0000000000..298a045b32
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_epubexport.mk
@@ -0,0 +1,49 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_epubexport))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_epubexport, \
+ writerperfect/qa/unit/EPUBExportTest \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_epubexport))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_epubexport, \
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ subsequenttest \
+ test \
+ tl \
+ unotest \
+ utl \
+ wpftwriter \
+ $(gb_UWINAPI) \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,writerperfect_epubexport,\
+ epubgen \
+ libxml2 \
+ revenge \
+))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_epubexport,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_epubexport))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_epubexport))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_epubexport))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_epubexport,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_epubexport))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_import.mk b/writerperfect/CppunitTest_writerperfect_import.mk
new file mode 100644
index 0000000000..f160c9e8de
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_import.mk
@@ -0,0 +1,42 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_import))
+
+$(eval $(call gb_CppunitTest_add_defs,writerperfect_import,\
+ -DTEST_DIR=\"writerperfect/qa/unit/data/import\" \
+))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_import,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_import))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_import,\
+ comphelper \
+ cppu \
+ sal \
+ test \
+ tl \
+ unotest \
+ utl \
+ wpftqahelper \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_import))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_import))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_import,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_import))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_import,\
+ writerperfect/qa/unit/ImportTest \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_impress.mk b/writerperfect/CppunitTest_writerperfect_impress.mk
new file mode 100644
index 0000000000..c41e6e2f35
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_impress.mk
@@ -0,0 +1,39 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_impress))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_impress,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_impress))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_impress,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ test \
+ tl \
+ ucbhelper \
+ unotest \
+ wpftqahelper \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_impress))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_impress))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_impress,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_impress))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_impress,\
+ writerperfect/qa/unit/WpftImpressFilterTest \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_stream.mk b/writerperfect/CppunitTest_writerperfect_stream.mk
new file mode 100644
index 0000000000..e1e6375312
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_stream.mk
@@ -0,0 +1,59 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_stream))
+
+$(eval $(call gb_CppunitTest_set_include,writerperfect_stream,\
+ -I$(SRCDIR)/writerperfect/source/common \
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_stream))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_stream))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_stream))
+
+$(eval $(call gb_CppunitTest_use_externals,writerperfect_stream,\
+ boost_headers \
+ revenge \
+))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_stream,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ sot \
+ test \
+ tl \
+ ucbhelper \
+ unotest \
+ utl \
+ writerperfect \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_stream))
+
+$(eval $(call gb_CppunitTest_use_components,writerperfect_stream,\
+ configmgr/source/configmgr \
+ i18npool/util/i18npool \
+ package/util/package2 \
+ ucb/source/core/ucb1 \
+ ucb/source/ucp/file/ucpfile1 \
+ unotools/util/utl \
+))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_stream,\
+ writerperfect/qa/unit/DirectoryStreamTest \
+ writerperfect/qa/unit/WPXSvStreamTest \
+ writerperfect/qa/unit/stream \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_wpftimport.mk b/writerperfect/CppunitTest_writerperfect_wpftimport.mk
new file mode 100644
index 0000000000..b43836d45e
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_wpftimport.mk
@@ -0,0 +1,57 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_wpftimport))
+
+$(eval $(call gb_CppunitTest_set_include,writerperfect_wpftimport,\
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_CppunitTest_use_externals,writerperfect_wpftimport,\
+ odfgen \
+ revenge \
+))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_wpftimport))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_wpftimport,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ test \
+ unotest \
+ utl \
+ vcl \
+ wpftqahelper \
+ writerperfect \
+ xo \
+))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_wpftimport,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_wpftimport))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_wpftimport))
+
+$(eval $(call gb_CppunitTest_use_rdbs,writerperfect_wpftimport,\
+ services \
+))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_wpftimport))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_wpftimport,\
+ writerperfect/qa/unit/DrawingImportTest \
+ writerperfect/qa/unit/PresentationImportTest \
+ writerperfect/qa/unit/SpreadsheetImportTest \
+ writerperfect/qa/unit/TextImportTest \
+ writerperfect/qa/unit/wpftimport \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/CppunitTest_writerperfect_writer.mk b/writerperfect/CppunitTest_writerperfect_writer.mk
new file mode 100644
index 0000000000..254d5e559d
--- /dev/null
+++ b/writerperfect/CppunitTest_writerperfect_writer.mk
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerperfect_writer))
+
+$(eval $(call gb_CppunitTest_use_external,writerperfect_writer,boost_headers))
+
+$(eval $(call gb_CppunitTest_use_sdk_api,writerperfect_writer))
+
+$(eval $(call gb_CppunitTest_use_libraries,writerperfect_writer,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ test \
+ tl \
+ ucbhelper \
+ unotest \
+ wpftqahelper \
+))
+
+$(eval $(call gb_CppunitTest_use_ure,writerperfect_writer))
+$(eval $(call gb_CppunitTest_use_vcl,writerperfect_writer))
+
+$(eval $(call gb_CppunitTest_use_rdb,writerperfect_writer,services))
+
+$(eval $(call gb_CppunitTest_use_configuration,writerperfect_writer))
+
+$(eval $(call gb_CppunitTest_use_uiconfigs,writerperfect_writer,\
+ modules/swriter \
+))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerperfect_writer,\
+ writerperfect/qa/unit/WpftWriterFilterTest \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/IwyuFilter_writerperfect.yaml b/writerperfect/IwyuFilter_writerperfect.yaml
new file mode 100644
index 0000000000..3660606f0c
--- /dev/null
+++ b/writerperfect/IwyuFilter_writerperfect.yaml
@@ -0,0 +1,202 @@
+---
+assumeFilename: writerperfect/source/common/WPXSvInputStream.cxx
+excludelist:
+ writerperfect/inc/DocumentHandler.hxx:
+ # Wrapper header for external library
+ - libodfgen/libodfgen.hxx
+ writerperfect/inc/DocumentHandlerForOdt.hxx:
+ # Wrapper header for external library
+ - libodfgen/libodfgen.hxx
+ writerperfect/inc/DocumentHandlerForOdg.hxx:
+ # Wrapper header for external library
+ - libodfgen/libodfgen.hxx
+ writerperfect/inc/DocumentHandlerForOds.hxx:
+ # Wrapper header for external library
+ - libodfgen/libodfgen.hxx
+ writerperfect/inc/DocumentHandlerForOdp.hxx:
+ # Wrapper header for external library
+ - libodfgen/libodfgen.hxx
+ writerperfect/inc/DirectoryStream.hxx:
+ # Wrapper header for external library
+ - librevenge-stream/librevenge-stream.h
+ writerperfect/inc/WPXSvInputStream.hxx:
+ # Wrapper header for external library
+ - librevenge-stream/librevenge-stream.h
+ writerperfect/source/calc/NumbersImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOds.hxx
+ writerperfect/source/calc/MWAWCalcImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOds.hxx
+ writerperfect/source/calc/StarOfficeCalcImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOds.hxx
+ writerperfect/source/calc/MSWorksCalcImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOds.hxx
+ writerperfect/source/draw/CDRImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/StarOfficeDrawImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/PageMakerImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/ZMFImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/CMXImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/QXPImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/MWAWDrawImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/WPGImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/MSPUBImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/VisioImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/draw/FreehandImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/source/impress/MWAWPresentationImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdp.hxx
+ writerperfect/source/impress/StarOfficePresentationImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdp.hxx
+ writerperfect/source/impress/KeynoteImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdp.hxx
+ writerperfect/source/writer/EBookImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/source/writer/MSWorksImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/source/writer/StarOfficeWriterImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/source/writer/PagesImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/source/writer/AbiWordImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/source/writer/MWAWImportFilter.hxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/qa/unit/WpftLoader.cxx:
+ # Actually used
+ - com/sun/star/beans/PropertyValue.hpp
+ - com/sun/star/container/XNameAccess.hpp
+ - com/sun/star/document/XFilter.hpp
+ - com/sun/star/frame/XDesktop2.hpp
+ - com/sun/star/io/XInputStream.hpp
+ - com/sun/star/uno/XComponentContext.hpp
+ # Needed for UnoType template instantiation
+ - com/sun/star/ucb/XContent.hpp
+ writerperfect/qa/unit/DrawingImportTest.cxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdg.hxx
+ writerperfect/qa/unit/SpreadsheetImportTest.cxx:
+ # Needed for direct member access
+ - DocumentHandlerForOds.hxx
+ writerperfect/qa/unit/PresentationImportTest.cxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdp.hxx
+ writerperfect/qa/unit/TextImportTest.cxx:
+ # Needed for direct member access
+ - DocumentHandlerForOdt.hxx
+ writerperfect/source/common/DocumentHandler.cxx:
+ # Actually used
+ - com/sun/star/xml/sax/XDocumentHandler.hpp
+ writerperfect/source/calc/NumbersImportFilter.cxx:
+ # Wrapper header for external library
+ - libetonyek/libetonyek.h
+ writerperfect/source/calc/MWAWCalcImportFilter.cxx:
+ # Wrapper header for external library
+ - libmwaw/libmwaw.hxx
+ writerperfect/source/calc/StarOfficeCalcImportFilter.cxx:
+ # Wrapper header for external library
+ - libstaroffice/libstaroffice.hxx
+ writerperfect/source/calc/MSWorksCalcImportFilter.cxx:
+ # Wrapper header for external library
+ - libwps/libwps.h
+ writerperfect/source/draw/CDRImportFilter.cxx:
+ # Wrapper header for external library
+ - libcdr/libcdr.h
+ writerperfect/source/draw/CMXImportFilter.cxx:
+ # Wrapper header for external library
+ - libcdr/libcdr.h
+ writerperfect/source/draw/FreehandImportFilter.cxx:
+ # Wrapper header for external library
+ - libfreehand/libfreehand.h
+ writerperfect/source/draw/MWAWDrawImportFilter.cxx:
+ # Wrapper header for external library
+ - libmwaw/libmwaw.hxx
+ writerperfect/source/draw/MSPUBImportFilter.cxx:
+ # Wrapper header for external library
+ - libmspub/libmspub.h
+ writerperfect/source/draw/PageMakerImportFilter.cxx:
+ # Wrapper header for external library
+ - libpagemaker/libpagemaker.h
+ writerperfect/source/draw/StarOfficeDrawImportFilter.cxx:
+ # Wrapper header for external library
+ - libstaroffice/libstaroffice.hxx
+ writerperfect/source/draw/VisioImportFilter.cxx:
+ # Wrapper header for external library
+ - libvisio/libvisio.h
+ writerperfect/source/draw/QXPImportFilter.cxx:
+ # Wrapper header for external library
+ - libqxp/libqxp.h
+ writerperfect/source/draw/WPGImportFilter.cxx:
+ # Wrapper header for external library
+ - libwpg/libwpg.h
+ writerperfect/source/draw/ZMFImportFilter.cxx:
+ # Wrapper header for external library
+ - libzmf/libzmf.h
+ writerperfect/source/impress/MWAWPresentationImportFilter.cxx:
+ # Wrapper header for external library
+ - libmwaw/libmwaw.hxx
+ writerperfect/source/impress/StarOfficePresentationImportFilter.cxx:
+ # Wrapper header for external library
+ - libstaroffice/libstaroffice.hxx
+ writerperfect/source/impress/KeynoteImportFilter.cxx:
+ # Wrapper header for external library
+ - libetonyek/libetonyek.h
+ writerperfect/source/writer/PagesImportFilter.cxx:
+ # Wrapper header for external library
+ - libetonyek/libetonyek.h
+ writerperfect/source/writer/MWAWImportFilter.cxx:
+ # Wrapper header for external library
+ - libmwaw/libmwaw.hxx
+ writerperfect/source/writer/MSWorksImportFilter.cxx:
+ # Wrapper header for external library
+ - libwps/libwps.h
+ writerperfect/source/writer/WordPerfectImportFilter.cxx:
+ # Wrapper header for external library
+ - libwpd/libwpd.h
+ - libwpg/libwpg.h
+ writerperfect/source/writer/StarOfficeWriterImportFilter.cxx:
+ # Wrapper header for external library
+ - libstaroffice/libstaroffice.hxx
+ writerperfect/source/writer/AbiWordImportFilter.cxx:
+ # Wrapper header for external library
+ - libabw/libabw.h
+ writerperfect/source/writer/EBookImportFilter.cxx:
+ # Wrapper header for external library
+ - libe-book/libe-book.h
+ writerperfect/source/writer/EPUBExportFilter.cxx:
+ # Actually used
+ - com/sun/star/uno/XComponentContext.hpp
+ writerperfect/source/writer/EPUBPackage.cxx:
+ - com/sun/star/embed/XStorage.hpp
diff --git a/writerperfect/Library_wpftcalc.mk b/writerperfect/Library_wpftcalc.mk
new file mode 100644
index 0000000000..3f7f823299
--- /dev/null
+++ b/writerperfect/Library_wpftcalc.mk
@@ -0,0 +1,77 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,wpftcalc))
+
+$(eval $(call gb_Library_set_include,wpftcalc,\
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_set_componentfile,wpftcalc,writerperfect/source/calc/wpftcalc,services))
+
+$(eval $(call gb_Library_add_componentimpls,wpftcalc, \
+ $(if $(ENABLE_WASM_STRIP_SCEXPORTS),,extended) \
+))
+
+$(eval $(call gb_Library_use_sdk_api,wpftcalc))
+
+$(eval $(call gb_Library_use_libraries,wpftcalc,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ sfx \
+ sot \
+ svx \
+ tl \
+ ucbhelper \
+ utl \
+ vcl \
+ writerperfect \
+ xo \
+))
+
+$(eval $(call gb_Library_use_externals,wpftcalc,\
+ boost_headers \
+ $(if $(ENABLE_WASM_STRIP_SCEXPORTS),,etonyek) \
+ odfgen \
+ revenge \
+ mwaw \
+ staroffice \
+ wps \
+ lcms2 \
+ icu_headers \
+ icui18n \
+ icuuc \
+))
+
+ifneq ($(ENABLE_WASM_STRIP_SCEXPORTS),TRUE)
+$(eval $(call gb_Library_add_exception_objects,wpftcalc,\
+ writerperfect/source/calc/NumbersImportFilter \
+))
+endif
+
+$(eval $(call gb_Library_add_exception_objects,wpftcalc,\
+ writerperfect/source/calc/MSWorksCalcImportFilter \
+ writerperfect/source/calc/MWAWCalcImportFilter \
+ writerperfect/source/calc/StarOfficeCalcImportFilter \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Library_wpftdraw.mk b/writerperfect/Library_wpftdraw.mk
new file mode 100644
index 0000000000..a369a626cc
--- /dev/null
+++ b/writerperfect/Library_wpftdraw.mk
@@ -0,0 +1,84 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,wpftdraw))
+
+$(eval $(call gb_Library_set_include,wpftdraw,\
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_set_componentfile,wpftdraw,writerperfect/source/draw/wpftdraw,services))
+
+$(eval $(call gb_Library_use_sdk_api,wpftdraw))
+
+$(eval $(call gb_Library_use_common_precompiled_header,wpftdraw))
+
+$(eval $(call gb_Library_use_libraries,wpftdraw,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ sot \
+ svx \
+ tl \
+ utl \
+ vcl \
+ writerperfect \
+ xo \
+))
+
+$(eval $(call gb_Library_use_externals,wpftdraw,\
+ boost_headers \
+ cdr \
+ freehand \
+ mspub \
+ mwaw \
+ odfgen \
+ zmf \
+ libpng \
+ pagemaker \
+ qxp \
+ revenge \
+ staroffice \
+ visio \
+ wpg \
+ wpd \
+ lcms2 \
+ libxml2 \
+ icu_headers \
+ icui18n \
+ icuuc \
+))
+
+$(eval $(call gb_Library_add_exception_objects,wpftdraw,\
+ writerperfect/source/draw/CDRImportFilter \
+ writerperfect/source/draw/CMXImportFilter \
+ writerperfect/source/draw/FreehandImportFilter \
+ writerperfect/source/draw/MSPUBImportFilter \
+ writerperfect/source/draw/MWAWDrawImportFilter \
+ writerperfect/source/draw/PageMakerImportFilter \
+ writerperfect/source/draw/QXPImportFilter \
+ writerperfect/source/draw/StarOfficeDrawImportFilter \
+ writerperfect/source/draw/VisioImportFilter \
+ writerperfect/source/draw/WPGImportFilter \
+ writerperfect/source/draw/ZMFImportFilter \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Library_wpftimpress.mk b/writerperfect/Library_wpftimpress.mk
new file mode 100644
index 0000000000..3fa007ae5d
--- /dev/null
+++ b/writerperfect/Library_wpftimpress.mk
@@ -0,0 +1,61 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,wpftimpress))
+
+$(eval $(call gb_Library_set_include,wpftimpress,\
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_set_componentfile,wpftimpress,writerperfect/source/impress/wpftimpress,services))
+
+$(eval $(call gb_Library_use_sdk_api,wpftimpress))
+
+$(eval $(call gb_Library_use_libraries,wpftimpress,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ sot \
+ svx \
+ tl \
+ ucbhelper \
+ utl \
+ vcl \
+ writerperfect \
+ xo \
+))
+
+$(eval $(call gb_Library_use_externals,wpftimpress,\
+ boost_headers \
+ etonyek \
+ mwaw \
+ odfgen \
+ staroffice \
+ revenge \
+))
+
+$(eval $(call gb_Library_add_exception_objects,wpftimpress,\
+ writerperfect/source/impress/KeynoteImportFilter \
+ writerperfect/source/impress/MWAWPresentationImportFilter \
+ writerperfect/source/impress/StarOfficePresentationImportFilter \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Library_wpftqahelper.mk b/writerperfect/Library_wpftqahelper.mk
new file mode 100644
index 0000000000..d6750e0506
--- /dev/null
+++ b/writerperfect/Library_wpftqahelper.mk
@@ -0,0 +1,43 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_Library_Library,wpftqahelper))
+
+$(eval $(call gb_Library_set_include,wpftqahelper,\
+ -I$(SRCDIR)/writerperfect/qa/unit \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_add_defs,wpftqahelper,\
+ -DWPFTQAHELPER_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_use_externals,wpftqahelper,\
+ boost_headers \
+ cppunit \
+))
+
+$(eval $(call gb_Library_use_sdk_api,wpftqahelper))
+
+$(eval $(call gb_Library_use_libraries,wpftqahelper,\
+ cppu \
+ sal \
+ test \
+ tl \
+ ucbhelper \
+ unotest \
+))
+
+$(eval $(call gb_Library_add_exception_objects,wpftqahelper,\
+ writerperfect/qa/unit/WpftFilterFixture \
+ writerperfect/qa/unit/WpftFilterTestBase \
+ writerperfect/qa/unit/WpftLoader \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Library_wpftwriter.mk b/writerperfect/Library_wpftwriter.mk
new file mode 100644
index 0000000000..840a86f06e
--- /dev/null
+++ b/writerperfect/Library_wpftwriter.mk
@@ -0,0 +1,133 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,wpftwriter))
+
+$(eval $(call gb_Library_set_include,wpftwriter,\
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_set_componentfile,wpftwriter,writerperfect/source/writer/wpftwriter,services))
+
+$(eval $(call gb_Library_add_componentimpls,wpftwriter, \
+ $(if $(ENABLE_WASM_STRIP_EPUB),,extended) \
+ $(if $(ENABLE_WASM_STRIP_SWEXPORTS),,extended2) \
+))
+
+$(eval $(call gb_Library_use_sdk_api,wpftwriter))
+
+$(eval $(call gb_Library_use_common_precompiled_header,wpftwriter))
+
+$(eval $(call gb_Library_use_libraries,wpftwriter,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ i18nlangtag \
+ vcl \
+ sal \
+ sax \
+ sfx \
+ sot \
+ svt \
+ svx \
+ tl \
+ ucbhelper \
+ utl \
+ vcl \
+ writerperfect \
+ xo \
+))
+
+ifneq ($(ENABLE_WASM_STRIP_EPUB),TRUE)
+$(eval $(call gb_Library_use_externals,wpftwriter,\
+ epubgen \
+))
+endif
+
+$(eval $(call gb_Library_use_externals,wpftwriter,\
+ abw \
+ boost_headers \
+ ebook \
+ $(if $(ENABLE_WASM_STRIP_SWEXPORTS),,etonyek) \
+ icu_headers \
+ icui18n \
+ icuuc \
+ liblangtag \
+ libxml2 \
+ mwaw \
+ odfgen \
+ revenge \
+ staroffice \
+ wpd \
+ wpg \
+ wps \
+ zlib \
+))
+
+ifneq ($(ENABLE_WASM_STRIP_EPUB),TRUE)
+$(eval $(call gb_Library_add_exception_objects,wpftwriter,\
+ writerperfect/source/writer/EPUBExportDialog \
+ writerperfect/source/writer/EPUBExportFilter \
+ writerperfect/source/writer/EPUBExportUIComponent \
+ writerperfect/source/writer/EPUBPackage \
+))
+endif
+
+ifneq ($(ENABLE_WASM_STRIP_SWEXPORTS),TRUE)
+$(eval $(call gb_Library_add_exception_objects,wpftwriter,\
+ writerperfect/source/writer/AbiWordImportFilter \
+ writerperfect/source/writer/EBookImportFilter \
+ writerperfect/source/writer/MSWorksImportFilter \
+ writerperfect/source/writer/MWAWImportFilter \
+ writerperfect/source/writer/PagesImportFilter \
+ writerperfect/source/writer/WordPerfectImportFilter \
+))
+endif
+
+$(eval $(call gb_Library_add_exception_objects,wpftwriter,\
+ writerperfect/source/writer/StarOfficeWriterImportFilter \
+ writerperfect/source/writer/exp/XMLBase64ImportContext \
+ writerperfect/source/writer/exp/XMLFootnoteImportContext \
+ writerperfect/source/writer/exp/XMLSectionContext \
+ writerperfect/source/writer/exp/XMLTextFrameContext \
+ writerperfect/source/writer/exp/XMLTextListContext \
+ writerperfect/source/writer/exp/XMLTextListItemContext \
+ writerperfect/source/writer/exp/txtparai \
+ writerperfect/source/writer/exp/txtstyli \
+ writerperfect/source/writer/exp/xmlfmt \
+ writerperfect/source/writer/exp/xmlictxt \
+ writerperfect/source/writer/exp/xmlimp \
+ writerperfect/source/writer/exp/xmlmetai \
+ writerperfect/source/writer/exp/xmltbli \
+ writerperfect/source/writer/exp/xmltext \
+))
+
+# On Windows, libepubgen-0.1.lib(EPUBGenerator.obj) references BCryptCloseAlgorithmProvider,
+# BCryptGenRandom, and BCryptOpenAlgorithmProvider via
+# workdir/UnpackedTarball/boost/boost/winapi/bcrypt.hpp:
+ifeq ($(OS),WNT)
+ifeq ($(SYSTEM_EPUBGEN)$(SYSTEM_BOOST),)
+$(eval $(call gb_Library_add_libs,wpftwriter, \
+ Bcrypt.lib \
+))
+endif
+endif
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Library_writerperfect.mk b/writerperfect/Library_writerperfect.mk
new file mode 100644
index 0000000000..64df2cba94
--- /dev/null
+++ b/writerperfect/Library_writerperfect.mk
@@ -0,0 +1,60 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Library_Library,writerperfect))
+
+$(eval $(call gb_Library_add_defs,writerperfect,\
+ -DWRITERPERFECT_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_set_include,writerperfect, \
+ -I$(SRCDIR)/writerperfect/inc \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_Library_use_externals,writerperfect,\
+ boost_headers \
+ odfgen \
+ revenge \
+))
+
+$(eval $(call gb_Library_use_sdk_api,writerperfect))
+
+$(eval $(call gb_Library_use_libraries,writerperfect,\
+ comphelper \
+ cppu \
+ cppuhelper \
+ sal \
+ sot \
+ svx \
+ tl \
+ ucbhelper \
+ utl \
+ vcl \
+ xo \
+))
+
+$(eval $(call gb_Library_add_exception_objects,writerperfect,\
+ writerperfect/source/common/DirectoryStream \
+ writerperfect/source/common/DocumentHandler \
+ writerperfect/source/common/WPFTEncodingDialog \
+ writerperfect/source/common/WPXSvInputStream \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Makefile b/writerperfect/Makefile
new file mode 100644
index 0000000000..0997e62848
--- /dev/null
+++ b/writerperfect/Makefile
@@ -0,0 +1,14 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+include $(module_directory)/../solenv/gbuild/partial_build.mk
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/Module_writerperfect.mk b/writerperfect/Module_writerperfect.mk
new file mode 100644
index 0000000000..d7ea1b9390
--- /dev/null
+++ b/writerperfect/Module_writerperfect.mk
@@ -0,0 +1,64 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_Module_Module,writerperfect))
+
+$(eval $(call gb_Module_add_targets,writerperfect,\
+ $(if $(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),, \
+ Library_wpftdraw \
+ Library_wpftimpress \
+ ) \
+ $(if $(ENABLE_WASM_STRIP_CALC),, \
+ Library_wpftcalc \
+ ) \
+ $(if $(ENABLE_WASM_STRIP_WRITER),, \
+ Library_wpftwriter \
+ ) \
+ Library_writerperfect \
+ UIConfig_writerperfect \
+))
+
+$(eval $(call gb_Module_add_l10n_targets,writerperfect,\
+ AllLangMoTarget_wpt \
+))
+
+$(eval $(call gb_Module_add_check_targets,writerperfect,\
+ CppunitTest_writerperfect_stream \
+ CppunitTest_writerperfect_wpftimport \
+))
+
+$(eval $(call gb_Module_add_slowcheck_targets,writerperfect,\
+ CppunitTest_writerperfect_calc \
+ CppunitTest_writerperfect_draw \
+ $(if $(SYSTEM_EPUBGEN),,CppunitTest_writerperfect_epubexport) \
+ CppunitTest_writerperfect_import \
+ CppunitTest_writerperfect_impress \
+ CppunitTest_writerperfect_writer \
+ Library_wpftqahelper \
+))
+
+$(eval $(call gb_Module_add_uicheck_targets,writerperfect,\
+ UITest_writerperfect_epubexport \
+))
+
+# screenshots
+$(eval $(call gb_Module_add_screenshot_targets,writerperfect,\
+ CppunitTest_writerperfect_dialogs_test \
+))
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/README.md b/writerperfect/README.md
new file mode 100644
index 0000000000..af23e738bb
--- /dev/null
+++ b/writerperfect/README.md
@@ -0,0 +1,9 @@
+# Import / Export Filters for WordPerfect and Other Formats
+
+Contains import / export filters for WordPerfect and other formats, wrappers
+for a set of similar libraries.
+
+This collection of filters is here in this folder in addition to the
+WordPerfect filter that gave the module its (humorous) name "writerperfect"
+because the libraries they use all have the same "style" of API and are
+developed, at least partially, by the same person or group of persons.
diff --git a/writerperfect/UIConfig_writerperfect.mk b/writerperfect/UIConfig_writerperfect.mk
new file mode 100644
index 0000000000..8599babf7b
--- /dev/null
+++ b/writerperfect/UIConfig_writerperfect.mk
@@ -0,0 +1,27 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+# This file incorporates work covered by the following license notice:
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed
+# with this work for additional information regarding copyright
+# ownership. The ASF licenses this file to you under the Apache
+# License, Version 2.0 (the "License"); you may not use this file
+# except in compliance with the License. You may obtain a copy of
+# the License at http://www.apache.org/licenses/LICENSE-2.0 .
+#
+
+$(eval $(call gb_UIConfig_UIConfig,writerperfect))
+
+$(eval $(call gb_UIConfig_add_uifiles,writerperfect,\
+ writerperfect/uiconfig/ui/wpftencodingdialog \
+ writerperfect/uiconfig/ui/exportepub \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/UITest_writerperfect_epubexport.mk b/writerperfect/UITest_writerperfect_epubexport.mk
new file mode 100644
index 0000000000..ebec0bf761
--- /dev/null
+++ b/writerperfect/UITest_writerperfect_epubexport.mk
@@ -0,0 +1,16 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_UITest_UITest,writerperfect_epubexport))
+
+$(eval $(call gb_UITest_add_modules,writerperfect_epubexport,$(SRCDIR)/writerperfect/qa/uitest,\
+ epubexport/ \
+))
+
+# vim: set noet sw=4 ts=4:
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx
new file mode 100644
index 0000000000..c45209333b
--- /dev/null
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -0,0 +1,57 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge-stream/librevenge-stream.h>
+#include <com/sun/star/uno/Reference.h>
+#include "writerperfectdllapi.h"
+#include <tools/long.hxx>
+#include <memory>
+
+namespace com::sun::star::ucb
+{
+class XContent;
+}
+
+namespace writerperfect
+{
+class WRITERPERFECT_DLLPUBLIC DirectoryStream final : public librevenge::RVNGInputStream
+{
+ struct Impl;
+
+public:
+ explicit DirectoryStream(const css::uno::Reference<css::ucb::XContent>& xContent);
+ virtual ~DirectoryStream() override;
+
+ static bool isDirectory(const css::uno::Reference<css::ucb::XContent>& xContent);
+ static std::unique_ptr<DirectoryStream>
+ createForParent(const css::uno::Reference<css::ucb::XContent>& xContent);
+
+ css::uno::Reference<css::ucb::XContent> getContent() const;
+
+ virtual bool isStructured() override;
+ SAL_DLLPRIVATE virtual unsigned subStreamCount() override;
+ SAL_DLLPRIVATE virtual const char* subStreamName(unsigned id) override;
+ SAL_DLLPRIVATE virtual bool existsSubStream(const char* name) override;
+ SAL_DLLPRIVATE virtual librevenge::RVNGInputStream*
+ getSubStreamByName(const char* name) override;
+ SAL_DLLPRIVATE virtual librevenge::RVNGInputStream* getSubStreamById(unsigned id) override;
+
+ virtual const unsigned char* read(unsigned long numBytes, unsigned long& numBytesRead) override;
+ virtual int seek(long offset, librevenge::RVNG_SEEK_TYPE seekType) override;
+ virtual long tell() override;
+ virtual bool isEnd() override;
+
+private:
+ std::unique_ptr<Impl> m_pImpl;
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx
new file mode 100644
index 0000000000..a79b114f37
--- /dev/null
+++ b/writerperfect/inc/DocumentHandler.hxx
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#pragma once
+
+#include <libodfgen/libodfgen.hxx>
+
+#include <com/sun/star/uno/Reference.h>
+
+#include "writerperfectdllapi.h"
+
+namespace com::sun::star::xml::sax
+{
+class XDocumentHandler;
+}
+
+namespace writerperfect
+{
+class WRITERPERFECT_DLLPUBLIC DocumentHandler final : public OdfDocumentHandler
+{
+public:
+ DocumentHandler(css::uno::Reference<css::xml::sax::XDocumentHandler> const& xHandler);
+ SAL_DLLPRIVATE void startDocument() override;
+ SAL_DLLPRIVATE void endDocument() override;
+ SAL_DLLPRIVATE void startElement(const char* psName,
+ const librevenge::RVNGPropertyList& xPropList) override;
+ SAL_DLLPRIVATE void endElement(const char* psName) override;
+ SAL_DLLPRIVATE void characters(const librevenge::RVNGString& sCharacters) override;
+
+private:
+ css::uno::Reference<css::xml::sax::XDocumentHandler> mxHandler;
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerFor.hxx b/writerperfect/inc/DocumentHandlerFor.hxx
new file mode 100644
index 0000000000..a7c7459fdc
--- /dev/null
+++ b/writerperfect/inc/DocumentHandlerFor.hxx
@@ -0,0 +1,22 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+namespace writerperfect
+{
+/** Definition of XML import service used with a Generator.
+
+ This template must be specialized for every libodfgen generator.
+ */
+template <class Generator> struct DocumentHandlerFor
+{
+ // static OUString name();
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOdg.hxx b/writerperfect/inc/DocumentHandlerForOdg.hxx
new file mode 100644
index 0000000000..7784dddcae
--- /dev/null
+++ b/writerperfect/inc/DocumentHandlerForOdg.hxx
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <libodfgen/libodfgen.hxx>
+
+#include "DocumentHandlerFor.hxx"
+
+#include <rtl/ustring.hxx>
+
+namespace writerperfect
+{
+template <> struct DocumentHandlerFor<OdgGenerator>
+{
+ static OUString name() { return "com.sun.star.comp.Draw.XMLOasisImporter"; }
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOdp.hxx b/writerperfect/inc/DocumentHandlerForOdp.hxx
new file mode 100644
index 0000000000..970f129e6f
--- /dev/null
+++ b/writerperfect/inc/DocumentHandlerForOdp.hxx
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <libodfgen/libodfgen.hxx>
+
+#include "DocumentHandlerFor.hxx"
+
+#include <rtl/ustring.hxx>
+
+namespace writerperfect
+{
+template <> struct DocumentHandlerFor<OdpGenerator>
+{
+ static OUString name() { return "com.sun.star.comp.Impress.XMLOasisImporter"; }
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOds.hxx b/writerperfect/inc/DocumentHandlerForOds.hxx
new file mode 100644
index 0000000000..226252f097
--- /dev/null
+++ b/writerperfect/inc/DocumentHandlerForOds.hxx
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <libodfgen/libodfgen.hxx>
+
+#include "DocumentHandlerFor.hxx"
+
+#include <rtl/ustring.hxx>
+
+namespace writerperfect
+{
+template <> struct DocumentHandlerFor<OdsGenerator>
+{
+ static OUString name() { return "com.sun.star.comp.Calc.XMLOasisImporter"; }
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/DocumentHandlerForOdt.hxx b/writerperfect/inc/DocumentHandlerForOdt.hxx
new file mode 100644
index 0000000000..49af6f9d59
--- /dev/null
+++ b/writerperfect/inc/DocumentHandlerForOdt.hxx
@@ -0,0 +1,24 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <libodfgen/libodfgen.hxx>
+
+#include "DocumentHandlerFor.hxx"
+
+#include <rtl/ustring.hxx>
+
+namespace writerperfect
+{
+template <> struct DocumentHandlerFor<OdtGenerator>
+{
+ static OUString name() { return "com.sun.star.comp.Writer.XMLOasisImporter"; }
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx
new file mode 100644
index 0000000000..9923b83462
--- /dev/null
+++ b/writerperfect/inc/ImportFilter.hxx
@@ -0,0 +1,184 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/awt/XWindow.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/document/XExtendedFilterDetection.hpp>
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/document/XImporter.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
+
+#include <osl/diagnose.h>
+#include <cppuhelper/implbase.hxx>
+
+#include <unotools/mediadescriptor.hxx>
+#include <utility>
+#include <vcl/svapp.hxx>
+#include <vcl/weld.hxx>
+#include <xmloff/xmlimp.hxx>
+
+#include "DocumentHandler.hxx"
+#include "WPXSvInputStream.hxx"
+
+#include "DocumentHandlerFor.hxx"
+
+namespace writerperfect
+{
+namespace detail
+{
+template <class Generator>
+class ImportFilterImpl
+ : public cppu::WeakImplHelper<css::document::XFilter, css::document::XImporter,
+ css::document::XExtendedFilterDetection,
+ css::lang::XInitialization>
+{
+public:
+ ImportFilterImpl(css::uno::Reference<css::uno::XComponentContext> xContext)
+ : mxContext(std::move(xContext))
+ {
+ }
+
+ const css::uno::Reference<css::uno::XComponentContext>& getXContext() const
+ {
+ return mxContext;
+ }
+
+ // XFilter
+ virtual sal_Bool SAL_CALL
+ filter(const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor) override
+ {
+ utl::MediaDescriptor aDescriptor(rDescriptor);
+ css::uno::Reference<css::io::XInputStream> xInputStream;
+ aDescriptor[utl::MediaDescriptor::PROP_INPUTSTREAM] >>= xInputStream;
+ if (!xInputStream.is())
+ {
+ OSL_ASSERT(false);
+ return false;
+ }
+
+ css::uno::Reference<css::awt::XWindow> xDialogParent;
+ aDescriptor["ParentWindow"] >>= xDialogParent;
+
+ // An XML import service: what we push sax messages to...
+ css::uno::Reference<XInterface> xInternalFilter
+ = mxContext->getServiceManager()->createInstanceWithContext(
+ DocumentHandlerFor<Generator>::name(), mxContext);
+ assert(xInternalFilter);
+ css::uno::Reference<css::xml::sax::XFastDocumentHandler> xInternalHandler(
+ xInternalFilter, css::uno::UNO_QUERY);
+ assert(xInternalHandler);
+
+ // The XImporter sets up an empty target document for XDocumentHandler to write to...
+ css::uno::Reference<css::document::XImporter> xImporter(xInternalHandler,
+ css::uno::UNO_QUERY);
+ assert(xImporter);
+ xImporter->setTargetDocument(mxDoc);
+
+ // OO Graphics Handler: abstract class to handle document SAX messages, concrete implementation here
+ // writes to in-memory target doc
+ DocumentHandler aHandler(
+ new SvXMLLegacyToFastDocHandler(static_cast<SvXMLImport*>(xInternalHandler.get())));
+
+ WPXSvInputStream input(xInputStream);
+
+ Generator exporter;
+ exporter.addDocumentHandler(&aHandler, ODF_FLAT_XML);
+
+ doRegisterHandlers(exporter);
+
+ return doImportDocument(Application::GetFrameWeld(xDialogParent), input, exporter,
+ aDescriptor);
+ }
+
+ virtual void SAL_CALL cancel() override {}
+
+ // XImporter
+ const css::uno::Reference<css::lang::XComponent>& getTargetDocument() const { return mxDoc; }
+ virtual void SAL_CALL
+ setTargetDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override
+ {
+ mxDoc = xDoc;
+ }
+
+ //XExtendedFilterDetection
+ virtual OUString SAL_CALL
+ detect(css::uno::Sequence<css::beans::PropertyValue>& Descriptor) override
+ {
+ OUString sTypeName;
+ sal_Int32 nLength = Descriptor.getLength();
+ sal_Int32 location = nLength;
+ const css::beans::PropertyValue* pValue = Descriptor.getConstArray();
+ css::uno::Reference<css::io::XInputStream> xInputStream;
+ for (sal_Int32 i = 0; i < nLength; i++)
+ {
+ if (pValue[i].Name == "TypeName")
+ location = i;
+ else if (pValue[i].Name == "InputStream")
+ pValue[i].Value >>= xInputStream;
+ }
+
+ if (!xInputStream.is())
+ return OUString();
+
+ WPXSvInputStream input(xInputStream);
+
+ if (doDetectFormat(input, sTypeName))
+ {
+ assert(!sTypeName.isEmpty());
+
+ if (location == nLength)
+ {
+ Descriptor.realloc(nLength + 1);
+ Descriptor.getArray()[location].Name = "TypeName";
+ }
+
+ Descriptor.getArray()[location].Value <<= sTypeName;
+ }
+
+ return sTypeName;
+ }
+
+ // XInitialization
+ virtual void SAL_CALL
+ initialize(const css::uno::Sequence<css::uno::Any>& /*aArguments*/) override
+ {
+ }
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) = 0;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ Generator& rGenerator, utl::MediaDescriptor& rDescriptor)
+ = 0;
+ virtual void doRegisterHandlers(Generator&){};
+
+ css::uno::Reference<css::uno::XComponentContext> mxContext;
+ css::uno::Reference<css::lang::XComponent> mxDoc;
+};
+}
+
+/** A base class for import filters.
+ */
+template <class Generator>
+struct ImportFilter : public cppu::ImplInheritanceHelper<detail::ImportFilterImpl<Generator>,
+ css::lang::XServiceInfo>
+{
+ ImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : cppu::ImplInheritanceHelper<detail::ImportFilterImpl<Generator>, css::lang::XServiceInfo>(
+ rxContext)
+ {
+ }
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx
new file mode 100644
index 0000000000..be3ff99a3c
--- /dev/null
+++ b/writerperfect/inc/WPFTEncodingDialog.hxx
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MSWorksImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <vcl/weld.hxx>
+
+#include "writerperfectdllapi.h"
+
+namespace writerperfect
+{
+class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog final : public weld::GenericDialogController
+{
+public:
+ WPFTEncodingDialog(weld::Window* pParent, const OUString& title, const OUString& defEncoding);
+
+ virtual ~WPFTEncodingDialog() override;
+
+ OUString GetEncoding() const;
+ bool hasUserCalledCancel() const { return m_userHasCancelled; }
+
+private:
+ bool m_userHasCancelled;
+
+ std::unique_ptr<weld::ComboBox> m_xLbCharset;
+ std::unique_ptr<weld::Button> m_xBtnCancel;
+
+private:
+ DECL_DLLPRIVATE_LINK(CancelHdl, weld::Button&, void);
+
+ WPFTEncodingDialog(WPFTEncodingDialog const&) = delete;
+ WPFTEncodingDialog& operator=(WPFTEncodingDialog const&) = delete;
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
new file mode 100644
index 0000000000..5780dd30ff
--- /dev/null
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -0,0 +1,9 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+
+#pragma once
+
+#include <unotools/resmgr.hxx>
+
+inline OUString WpResId(TranslateId aId) { return Translate::get(aId, Translate::Create("wpt")); }
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx
new file mode 100644
index 0000000000..66ed90a958
--- /dev/null
+++ b/writerperfect/inc/WPXSvInputStream.hxx
@@ -0,0 +1,76 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge-stream/librevenge-stream.h>
+#include <com/sun/star/uno/Reference.h>
+#include <tools/long.hxx>
+#include "writerperfectdllapi.h"
+#include <memory>
+#include <tools/stream.hxx>
+#include <sot/storage.hxx>
+
+namespace com::sun::star::io
+{
+class XInputStream;
+class XSeekable;
+}
+
+namespace writerperfect
+{
+struct OLEStorageImpl;
+struct ZipStorageImpl;
+
+class SAL_DLLPUBLIC_RTTI WPXSvInputStream final : public librevenge::RVNGInputStream
+{
+public:
+ WRITERPERFECT_DLLPUBLIC
+ WPXSvInputStream(css::uno::Reference<css::io::XInputStream> const& xStream);
+ WRITERPERFECT_DLLPUBLIC virtual ~WPXSvInputStream() override;
+
+ virtual bool isStructured() override;
+ virtual unsigned subStreamCount() override;
+ virtual const char* subStreamName(unsigned id) override;
+ virtual bool existsSubStream(const char* name) override;
+ virtual librevenge::RVNGInputStream* getSubStreamByName(const char* name) override;
+ virtual librevenge::RVNGInputStream* getSubStreamById(unsigned id) override;
+
+ WRITERPERFECT_DLLPUBLIC virtual const unsigned char* read(unsigned long numBytes,
+ unsigned long& numBytesRead) override;
+ WRITERPERFECT_DLLPUBLIC virtual int seek(long offset,
+ librevenge::RVNG_SEEK_TYPE seekType) override;
+ virtual long tell() override;
+ virtual bool isEnd() override;
+
+private:
+ tools::Long tellImpl();
+ int seek(tools::Long offset);
+ bool isOLE();
+ void ensureOLEIsInitialized();
+ bool isZip();
+ void ensureZipIsInitialized();
+ static librevenge::RVNGInputStream*
+ createWPXStream(const tools::SvRef<SotStorageStream>& rxStorage);
+ static librevenge::RVNGInputStream*
+ createWPXStream(const css::uno::Reference<css::io::XInputStream>& rxStream);
+
+ css::uno::Reference<css::io::XInputStream> mxStream;
+ css::uno::Reference<css::io::XSeekable> mxSeekable;
+ css::uno::Sequence<sal_Int8> maData;
+ std::unique_ptr<OLEStorageImpl> mpOLEStorage;
+ std::unique_ptr<ZipStorageImpl> mpZipStorage;
+ sal_Int64 mnLength;
+ unsigned long mnReadBufferPos;
+ bool mbCheckedOLE;
+ bool mbCheckedZip;
+};
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/strings.hrc b/writerperfect/inc/strings.hrc
new file mode 100644
index 0000000000..20292ac9a6
--- /dev/null
+++ b/writerperfect/inc/strings.hrc
@@ -0,0 +1,23 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#define NC_(Context, String) TranslateId(Context, u8##String)
+
+#define STR_ENCODING_DIALOG_TITLE NC_("STR_ENCODING_DIALOG_TITLE", "Import file")
+#define STR_ENCODING_DIALOG_TITLE_MSMULTIPLAN NC_("STR_ENCODING_DIALOG_TITLE_MSMULTIPLAN", "Import MS Multiplan for DOS file")
+#define STR_ENCODING_DIALOG_TITLE_MSWORKS NC_("STR_ENCODING_DIALOG_TITLE_MSWORKS", "Import MS Works file")
+#define STR_ENCODING_DIALOG_TITLE_MSWRITE NC_("STR_ENCODING_DIALOG_TITLE_MSWRITE", "Import MS Write file")
+#define STR_ENCODING_DIALOG_TITLE_DOSWORD NC_("STR_ENCODING_DIALOG_TITLE_DOSWORD", "Import MS Word for DOS file")
+#define STR_ENCODING_DIALOG_TITLE_LOTUS NC_("STR_ENCODING_DIALOG_TITLE_LOTUS", "Import Lotus file")
+#define STR_ENCODING_DIALOG_TITLE_SYMPHONY NC_("STR_ENCODING_DIALOG_TITLE_SYMPHONY", "Import Symphony file")
+#define STR_ENCODING_DIALOG_TITLE_QUATTROPRO NC_("STR_ENCODING_DIALOG_TITLE_QUATTROPRO", "Import Quattro Pro file")
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/inc/writerperfectdllapi.h b/writerperfect/inc/writerperfectdllapi.h
new file mode 100644
index 0000000000..29f708ffc2
--- /dev/null
+++ b/writerperfect/inc/writerperfectdllapi.h
@@ -0,0 +1,20 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#if defined WRITERPERFECT_DLLIMPLEMENTATION
+
+#define WRITERPERFECT_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#else
+#define WRITERPERFECT_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#endif
+#define WRITERPERFECT_DLLPRIVATE SAL_DLLPRIVATE
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/uitest/epubexport/epubexport.py b/writerperfect/qa/uitest/epubexport/epubexport.py
new file mode 100644
index 0000000000..76d8c5e432
--- /dev/null
+++ b/writerperfect/qa/uitest/epubexport/epubexport.py
@@ -0,0 +1,128 @@
+# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+from com.sun.star.beans import PropertyValue
+from libreoffice.uno.propertyvalue import mkPropertyValues
+from uitest.framework import UITestCase
+from uitest.uihelper.common import get_state_as_dict
+import uno
+
+
+# Test for EPUBExportDialog and EPUBExportUIComponent.
+class EPUBExportTest(UITestCase):
+
+ def testUIComponent(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+
+ # Make sure we get what we asked for.
+ self.assertEqual("com.sun.star.comp.Writer.EPUBExportUIComponent", uiComponent.getImplementationName())
+ self.assertEqual(True, uiComponent.supportsService("com.sun.star.ui.dialogs.FilterOptionsDialog"))
+ # Just make sure this doesn't fail.
+ uiComponent.setTitle(str())
+
+ with self.ui_test.execute_blocking_action(action=uiComponent.execute) as dialog:
+ # Select the second entry to request EPUB2, not EPUB3.
+ dialog.getChild("versionlb").executeAction("SELECT", mkPropertyValues({"POS": "1"}))
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ epubVersion = [i.Value for i in filterData if i.Name == "EPUBVersion"][0]
+ # This was 30, EPUBExportDialog::VersionSelectHdl() did not set the version.
+ self.assertEqual(20, epubVersion)
+
+ def testCustomProperties(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+
+ # Make sure that by default the version is not altered.
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ self.assertEqual(0, len([i.Value for i in filterData if i.Name == "EPUBVersion"]))
+
+ # But if we set it explicitly, then it's retained, even without interacting with the UI.
+ filterData = (PropertyValue(Name="EPUBVersion", Value=30),)
+ propertyValues = (PropertyValue(Name="FilterData", Value=uno.Any("[]com.sun.star.beans.PropertyValue", filterData)),)
+ uiComponent.setPropertyValues(propertyValues)
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ epubVersion = [i.Value for i in filterData if i.Name == "EPUBVersion"][0]
+ self.assertEqual(30, epubVersion)
+
+ def testDialogVersionInput(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+ positions = []
+ for version in (20, 30):
+ filterData = (PropertyValue(Name="EPUBVersion", Value=version),)
+ propertyValues = (PropertyValue(Name="FilterData", Value=uno.Any("[]com.sun.star.beans.PropertyValue", filterData)),)
+ uiComponent.setPropertyValues(propertyValues)
+ with self.ui_test.execute_blocking_action(action=uiComponent.execute) as dialog:
+ versionlb = get_state_as_dict(dialog.getChild("versionlb"))
+ # Log the state of the versionlb widget and exit.
+ positions.append(versionlb["SelectEntryPos"])
+ # Make sure that initializing with 2 different versions results in 2 different widget states.
+ self.assertEqual(2, len(set(positions)))
+
+ def testCoverImage(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+
+ with self.ui_test.execute_blocking_action(action=uiComponent.execute) as dialog:
+ dialog.getChild("coverpath").executeAction("TYPE", mkPropertyValues({"TEXT": "cover.png"}))
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ # The RVNGCoverImage key was missing, EPUBExportDialog::OKClickHdl() did not set it.
+ coverImage = [i.Value for i in filterData if i.Name == "RVNGCoverImage"][0]
+ self.assertEqual("cover.png", coverImage)
+
+ def testMediaDir(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+
+ with self.ui_test.execute_blocking_action(action=uiComponent.execute) as dialog:
+ dialog.getChild("mediadir").executeAction("TYPE", mkPropertyValues({"TEXT": "file:///foo/bar"}))
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ # The RVNGMediaDir key was missing, EPUBExportDialog::OKClickHdl() did not set it.
+ mediaDir = [i.Value for i in filterData if i.Name == "RVNGMediaDir"][0]
+ self.assertEqual("file:///foo/bar", mediaDir)
+
+ def testFixedLayout(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+
+ with self.ui_test.execute_blocking_action(action=uiComponent.execute) as dialog:
+ # Select the second entry to request fixed, not reflowable layout.
+ dialog.getChild("layoutlb").executeAction("SELECT", mkPropertyValues({"POS": "1"}))
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ # The EPUBLayoutMethod key was missing, EPUBExportDialog::OKClickHdl() did not set it.
+ layout = [i.Value for i in filterData if i.Name == "EPUBLayoutMethod"][0]
+ # 1 stands for libepubgen::EPUB_LAYOUT_METHOD_FIXED.
+ self.assertEqual(1, layout)
+
+ def testMeta(self):
+ uiComponent = self.ui_test._xContext.ServiceManager.createInstanceWithContext("com.sun.star.comp.Writer.EPUBExportUIComponent", self.ui_test._xContext)
+
+ with self.ui_test.execute_blocking_action(action=uiComponent.execute) as dialog:
+ dialog.getChild("identifier").executeAction("TYPE", mkPropertyValues({"TEXT": "baddcafe-e394-4cd6-9b83-7172794612e5"}))
+ dialog.getChild("title").executeAction("TYPE", mkPropertyValues({"TEXT": "unknown title from ui"}))
+ dialog.getChild("author").executeAction("TYPE", mkPropertyValues({"TEXT": "unknown author from ui"}))
+ dialog.getChild("language").executeAction("TYPE", mkPropertyValues({"TEXT": "sk"}))
+ dialog.getChild("date").executeAction("TYPE", mkPropertyValues({"TEXT": "2013-11-20T17:16:07Z"}))
+
+ propertyValues = uiComponent.getPropertyValues()
+ filterData = [i.Value for i in propertyValues if i.Name == "FilterData"][0]
+ # These keys were missing, EPUBExportDialog::OKClickHdl() did not set them.
+ identifier = [i.Value for i in filterData if i.Name == "RVNGIdentifier"][0]
+ self.assertEqual("baddcafe-e394-4cd6-9b83-7172794612e5", identifier)
+ title = [i.Value for i in filterData if i.Name == "RVNGTitle"][0]
+ self.assertEqual("unknown title from ui", title)
+ initialCreator = [i.Value for i in filterData if i.Name == "RVNGInitialCreator"][0]
+ self.assertEqual("unknown author from ui", initialCreator)
+ language = [i.Value for i in filterData if i.Name == "RVNGLanguage"][0]
+ self.assertEqual("sk", language)
+ date = [i.Value for i in filterData if i.Name == "RVNGDate"][0]
+ self.assertEqual("2013-11-20T17:16:07Z", date)
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/writerperfect/qa/unit/DirectoryStreamTest.cxx b/writerperfect/qa/unit/DirectoryStreamTest.cxx
new file mode 100644
index 0000000000..fd75805f58
--- /dev/null
+++ b/writerperfect/qa/unit/DirectoryStreamTest.cxx
@@ -0,0 +1,148 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <memory>
+
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <comphelper/processfactory.hxx>
+
+#include <ucbhelper/content.hxx>
+
+#include <test/bootstrapfixture.hxx>
+
+#include <DirectoryStream.hxx>
+#include <com/sun/star/ucb/XContent.hpp>
+
+namespace ucb = com::sun::star::ucb;
+namespace uno = com::sun::star::uno;
+
+using std::unique_ptr;
+
+using librevenge::RVNGInputStream;
+
+using writerperfect::DirectoryStream;
+
+namespace
+{
+class DirectoryStreamTest : public test::BootstrapFixture
+{
+public:
+ DirectoryStreamTest();
+
+public:
+ CPPUNIT_TEST_SUITE(DirectoryStreamTest);
+ CPPUNIT_TEST(testConstruction);
+ CPPUNIT_TEST(testDetection);
+ CPPUNIT_TEST(testDataOperations);
+ CPPUNIT_TEST(testStructuredOperations);
+ CPPUNIT_TEST_SUITE_END();
+
+private:
+ void testConstruction();
+ void testDetection();
+ void testDataOperations();
+ void testStructuredOperations();
+
+private:
+ uno::Reference<ucb::XContent> m_xDir;
+ uno::Reference<ucb::XContent> m_xFile;
+ uno::Reference<ucb::XContent> m_xNonexistent;
+};
+
+constexpr OUStringLiteral g_aDirPath = u"/writerperfect/qa/unit/data/stream/test.dir";
+constexpr OUStringLiteral g_aNondirPath = u"/writerperfect/qa/unit/data/stream/test.dir/mimetype";
+constexpr OUStringLiteral g_aNonexistentPath = u"/writerperfect/qa/unit/data/stream/foo/bar";
+
+DirectoryStreamTest::DirectoryStreamTest()
+{
+ const uno::Reference<ucb::XCommandEnvironment> xCmdEnv;
+ const uno::Reference<uno::XComponentContext> xContext(comphelper::getProcessComponentContext());
+
+ using ucbhelper::Content;
+
+ m_xDir = Content(m_directories.getURLFromSrc(g_aDirPath), xCmdEnv, xContext).get();
+ m_xFile = Content(m_directories.getURLFromSrc(g_aNondirPath), xCmdEnv, xContext).get();
+ m_xNonexistent
+ = Content(m_directories.getURLFromSrc(g_aNonexistentPath), xCmdEnv, xContext).get();
+}
+
+void DirectoryStreamTest::testConstruction()
+{
+ const unique_ptr<DirectoryStream> pDir(DirectoryStream::createForParent(m_xFile));
+ CPPUNIT_ASSERT(bool(pDir));
+ CPPUNIT_ASSERT(pDir->isStructured());
+
+ // this should work for dirs too
+ const unique_ptr<DirectoryStream> pDir2(DirectoryStream::createForParent(m_xDir));
+ CPPUNIT_ASSERT(bool(pDir2));
+ CPPUNIT_ASSERT(pDir2->isStructured());
+
+ // for nonexistent dirs nothing is created
+ const unique_ptr<DirectoryStream> pNondir(DirectoryStream::createForParent(m_xNonexistent));
+ CPPUNIT_ASSERT(!pNondir);
+
+ // even if we try harder, just an empty shell is created
+ DirectoryStream aNondir2(m_xNonexistent);
+ CPPUNIT_ASSERT(!aNondir2.isStructured());
+}
+
+void DirectoryStreamTest::testDetection()
+{
+ CPPUNIT_ASSERT(DirectoryStream::isDirectory(m_xDir));
+ CPPUNIT_ASSERT(!DirectoryStream::isDirectory(m_xFile));
+ CPPUNIT_ASSERT(!DirectoryStream::isDirectory(m_xNonexistent));
+}
+
+void lcl_testDataOperations(RVNGInputStream& rStream)
+{
+ CPPUNIT_ASSERT(rStream.isEnd());
+ CPPUNIT_ASSERT_EQUAL(0L, rStream.tell());
+ CPPUNIT_ASSERT_EQUAL(-1, rStream.seek(0, librevenge::RVNG_SEEK_CUR));
+
+ unsigned long numBytesRead = 0;
+ CPPUNIT_ASSERT(!rStream.read(1, numBytesRead));
+ CPPUNIT_ASSERT_EQUAL(0UL, numBytesRead);
+}
+
+void DirectoryStreamTest::testDataOperations()
+{
+ // data operations do not make sense on a directory -> just dummy
+ // impls.
+ DirectoryStream aDir(m_xDir);
+ lcl_testDataOperations(aDir);
+
+ // ... and they are equally empty if we try to pass a file
+ DirectoryStream aFile(m_xFile);
+ lcl_testDataOperations(aFile);
+}
+
+void lcl_testStructuredOperations(RVNGInputStream& rStream)
+{
+ CPPUNIT_ASSERT(rStream.isStructured());
+ unique_ptr<RVNGInputStream> pSubstream(rStream.getSubStreamByName("mimetype"));
+ CPPUNIT_ASSERT(bool(pSubstream));
+
+ // TODO: test for other operations when they are implemented =)
+}
+
+void DirectoryStreamTest::testStructuredOperations()
+{
+ DirectoryStream aDir(m_xDir);
+ lcl_testStructuredOperations(aDir);
+
+ unique_ptr<DirectoryStream> pDir(DirectoryStream::createForParent(m_xFile));
+ CPPUNIT_ASSERT(bool(pDir));
+ lcl_testStructuredOperations(*pDir);
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(DirectoryStreamTest);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/DrawingImportTest.cxx b/writerperfect/qa/unit/DrawingImportTest.cxx
new file mode 100644
index 0000000000..8af2ec8d62
--- /dev/null
+++ b/writerperfect/qa/unit/DrawingImportTest.cxx
@@ -0,0 +1,156 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/drawing/XDrawPages.hpp>
+#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
+#include <com/sun/star/drawing/XShapeDescriptor.hpp>
+#include <com/sun/star/drawing/XShapes.hpp>
+#include <com/sun/star/text/XText.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <rtl/ref.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+#include <ImportFilter.hxx>
+#include "WpftFilterFixture.hxx"
+#include "WpftLoader.hxx"
+#include "wpftimport.hxx"
+
+namespace
+{
+namespace uno = css::uno;
+
+class DrawingImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit DrawingImportFilter(const uno::Reference<uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pWindow, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
+
+ static void generate(librevenge::RVNGDrawingInterface& rDocument);
+};
+
+bool DrawingImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream&,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ DrawingImportFilter::generate(rGenerator);
+ return true;
+}
+
+bool DrawingImportFilter::doDetectFormat(librevenge::RVNGInputStream&, OUString& rTypeName)
+{
+ rTypeName = "WpftDummyDrawing";
+ return true;
+}
+
+// XServiceInfo
+OUString SAL_CALL DrawingImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Wpft.QA.DrawingImportFilter";
+}
+
+sal_Bool SAL_CALL DrawingImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+uno::Sequence<OUString> SAL_CALL DrawingImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+void DrawingImportFilter::generate(librevenge::RVNGDrawingInterface& rDocument)
+{
+ using namespace librevenge;
+
+ rDocument.startDocument(RVNGPropertyList());
+ RVNGPropertyList aProps;
+ aProps.insert("svg:width", 800);
+ aProps.insert("svg:height", 600);
+ rDocument.startPage(aProps);
+ aProps.clear();
+ aProps.insert("svg:x", 50);
+ aProps.insert("svg:y", 50);
+ aProps.insert("svg:width", 200);
+ aProps.insert("svg:height", 100);
+ rDocument.startTextObject(aProps);
+ rDocument.openParagraph(RVNGPropertyList());
+ rDocument.openSpan(RVNGPropertyList());
+ rDocument.insertText("My hovercraft is full of eels.");
+ rDocument.closeSpan();
+ rDocument.closeParagraph();
+ rDocument.endTextObject();
+ rDocument.endPage();
+ rDocument.endDocument();
+}
+}
+
+namespace
+{
+class DrawingImportTest : public writerperfect::test::WpftFilterFixture
+{
+public:
+ void test();
+
+ CPPUNIT_TEST_SUITE(DrawingImportTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+void DrawingImportTest::test()
+{
+ using namespace css;
+
+ rtl::Reference<DrawingImportFilter> xFilter{ new DrawingImportFilter(m_xContext) };
+ writerperfect::test::WpftLoader aLoader(createDummyInput(), xFilter, "private:factory/sdraw",
+ m_xDesktop, m_xContext);
+
+ uno::Reference<drawing::XDrawPagesSupplier> xDoc(aLoader.getDocument(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xDoc.is());
+ uno::Reference<drawing::XDrawPages> xPages = xDoc->getDrawPages();
+ CPPUNIT_ASSERT(xPages.is());
+ auto aPage = xPages->getByIndex(0);
+ uno::Reference<beans::XPropertySet> xPageProps;
+ CPPUNIT_ASSERT(aPage >>= xPageProps);
+ CPPUNIT_ASSERT(xPageProps.is());
+ sal_Int32 nProp = 0;
+ CPPUNIT_ASSERT(xPageProps->getPropertyValue("Height") >>= nProp);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(600), nProp);
+ CPPUNIT_ASSERT(xPageProps->getPropertyValue("Width") >>= nProp);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(800), nProp);
+ uno::Reference<drawing::XShapes> xShapes(xPageProps, uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xShapes.is());
+ auto aShape = xShapes->getByIndex(0);
+ uno::Reference<drawing::XShapeDescriptor> xShapeDesc;
+ CPPUNIT_ASSERT(aShape >>= xShapeDesc);
+ CPPUNIT_ASSERT(xShapeDesc.is());
+ CPPUNIT_ASSERT_EQUAL(OUString("com.sun.star.drawing.TextShape"), xShapeDesc->getShapeType());
+ uno::Reference<text::XText> xText(xShapeDesc, uno::UNO_QUERY);
+ CPPUNIT_ASSERT_EQUAL(OUString("My hovercraft is full of eels."), xText->getString());
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(DrawingImportTest);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx
new file mode 100644
index 0000000000..f9780b42ab
--- /dev/null
+++ b/writerperfect/qa/unit/EPUBExportTest.cxx
@@ -0,0 +1,866 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/config.h>
+
+#include <test/unoapixml_test.hxx>
+
+#include <string_view>
+
+#include <libepubgen/libepubgen.h>
+
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/frame/XStorable.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/packages/zip/ZipFileAccess.hpp>
+
+#include <comphelper/propertysequence.hxx>
+#include <comphelper/string.hxx>
+#include <o3tl/safeint.hxx>
+#include <unotools/docinfohelper.hxx>
+#include <unotools/mediadescriptor.hxx>
+#include <unotools/tempfile.hxx>
+#include <unotools/ucbstreamhelper.hxx>
+#include <o3tl/string_view.hxx>
+
+using namespace ::com::sun::star;
+
+namespace
+{
+/// Tests the EPUB export filter.
+class EPUBExportTest : public UnoApiXmlTest
+{
+protected:
+ uno::Reference<packages::zip::XZipFileAccess2> mxZipFile;
+ OUString maFilterOptions;
+
+public:
+ EPUBExportTest()
+ : UnoApiXmlTest("/writerperfect/qa/unit/data/writer/epubexport/")
+ {
+ }
+
+ void registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx) override;
+ void createDoc(std::u16string_view rFile,
+ const uno::Sequence<beans::PropertyValue>& rFilterData);
+ /// Parses a CSS representation of the stream named rName and returns it.
+ std::map<OUString, std::vector<OUString>> parseCss(const OUString& rName);
+ /// Looks up a key of a class in rCss.
+ static OUString getCss(std::map<OUString, std::vector<OUString>>& rCss, const OUString& rClass,
+ std::u16string_view rKey);
+};
+
+void EPUBExportTest::registerNamespaces(xmlXPathContextPtr& pXmlXpathCtx)
+{
+ xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("dc"), BAD_CAST("http://purl.org/dc/elements/1.1/"));
+ xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("opf"), BAD_CAST("http://www.idpf.org/2007/opf"));
+ xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("xhtml"), BAD_CAST("http://www.w3.org/1999/xhtml"));
+ xmlXPathRegisterNs(pXmlXpathCtx, BAD_CAST("svg"), BAD_CAST("http://www.w3.org/2000/svg"));
+}
+
+void EPUBExportTest::createDoc(std::u16string_view rFile,
+ const uno::Sequence<beans::PropertyValue>& rFilterData)
+{
+ // Import the bugdoc and export as EPUB.
+ loadFromFile(rFile);
+ uno::Reference<frame::XStorable> xStorable(mxComponent, uno::UNO_QUERY);
+ utl::MediaDescriptor aMediaDescriptor;
+ aMediaDescriptor["FilterName"] <<= OUString("EPUB");
+ if (maFilterOptions.isEmpty())
+ aMediaDescriptor["FilterData"] <<= rFilterData;
+ else
+ aMediaDescriptor["FilterOptions"] <<= maFilterOptions;
+ xStorable->storeToURL(maTempFile.GetURL(), aMediaDescriptor.getAsConstPropertyValueList());
+ mxZipFile
+ = packages::zip::ZipFileAccess::createWithURL(mxComponentContext, maTempFile.GetURL());
+}
+
+std::map<OUString, std::vector<OUString>> EPUBExportTest::parseCss(const OUString& rName)
+{
+ std::map<OUString, std::vector<OUString>> aRet;
+
+ uno::Reference<io::XInputStream> xInputStream(mxZipFile->getByName(rName), uno::UNO_QUERY);
+ std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(xInputStream, true));
+
+ // Minimal CSS handler till orcus is up to our needs.
+ OString aLine;
+ OUString aRuleName;
+ while (!pStream->eof())
+ {
+ pStream->ReadLine(aLine);
+ if (aLine.endsWith("{"))
+ // '.name {' -> 'name'
+ aRuleName = OUString::fromUtf8(aLine.subView(1, aLine.getLength() - 3));
+ else if (aLine.endsWith(";"))
+ aRet[aRuleName].push_back(OUString::fromUtf8(aLine));
+ }
+
+ return aRet;
+}
+
+OUString EPUBExportTest::getCss(std::map<OUString, std::vector<OUString>>& rCss,
+ const OUString& rClass, std::u16string_view rKey)
+{
+ OUString aRet;
+
+ auto it = rCss.find(rClass);
+ CPPUNIT_ASSERT(it != rCss.end());
+
+ for (const auto& rKeyValue : it->second)
+ {
+ OUString aKeyValue = rKeyValue.trim();
+ std::vector<OUString> aTokens = comphelper::string::split(aKeyValue, ':');
+ CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(2), aTokens.size());
+ if (o3tl::trim(aTokens[0]) == rKey)
+ {
+ aRet = aTokens[1].trim();
+ if (aRet.endsWith(";"))
+ // Ignore trailing semicolon.
+ aRet = aRet.copy(0, aRet.getLength() - 1);
+ break;
+ }
+ }
+
+ return aRet;
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testOutlineLevel)
+{
+ createDoc(u"outline-level.fodt", {});
+
+ // Make sure that the output is split into two.
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/sections/section0001.xhtml"));
+ // This failed, output was a single section.
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/sections/section0002.xhtml"));
+ CPPUNIT_ASSERT(!mxZipFile->hasByName("OEBPS/sections/section0003.xhtml"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testMimetype)
+{
+ createDoc(u"hello.fodt", {});
+
+ // Check that the mime type is written uncompressed at the expected location.
+ SvFileStream aFileStream(maTempFile.GetURL(), StreamMode::READ);
+ SvMemoryStream aMemoryStream;
+ aMemoryStream.WriteStream(aFileStream);
+ OString aExpected("application/epub+zip"_ostr);
+ CPPUNIT_ASSERT(aMemoryStream.GetSize() > static_cast<sal_uInt64>(aExpected.getLength()) + 38);
+
+ OString aActual(static_cast<const char*>(aMemoryStream.GetData()) + 38, aExpected.getLength());
+ // This failed: actual data was some garbage, not the uncompressed mime type.
+ CPPUNIT_ASSERT_EQUAL(aExpected, aActual);
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+ // Default is EPUB3.
+ assertXPath(mpXmlDoc, "/opf:package"_ostr, "version"_ostr, "3.0");
+
+ // This was just "libepubgen/x.y.z", i.e. the LO version was missing.
+ OUString aGenerator = getXPath(
+ mpXmlDoc, "/opf:package/opf:metadata/opf:meta[@name='generator']"_ostr, "content"_ostr);
+ CPPUNIT_ASSERT(aGenerator.startsWith(utl::DocInfoHelper::GetGeneratorString()));
+
+ uno::Reference<lang::XMultiServiceFactory> xMSF(mxComponentContext->getServiceManager(),
+ uno::UNO_QUERY);
+ constexpr OUString aServiceName(u"com.sun.star.comp.Writer.EPUBExportFilter"_ustr);
+ uno::Reference<document::XFilter> xFilter(xMSF->createInstance(aServiceName), uno::UNO_QUERY);
+ // Should result in no errors.
+ xFilter->cancel();
+ // We got back what we expected.
+ uno::Reference<lang::XServiceInfo> xServiceInfo(xFilter, uno::UNO_QUERY);
+ CPPUNIT_ASSERT_EQUAL(aServiceName, xServiceInfo->getImplementationName());
+ CPPUNIT_ASSERT(xServiceInfo->supportsService("com.sun.star.document.ExportFilter"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testEPUB2)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { // Explicitly request EPUB2.
+ { "EPUBVersion", uno::Any(static_cast<sal_Int32>(20)) } }));
+ createDoc(u"hello.fodt", aFilterData);
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+ // This was 3.0, EPUBVersion filter option was ignored and we always emitted EPUB3.
+ assertXPath(mpXmlDoc, "/opf:package"_ostr, "version"_ostr, "2.0");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testEPUBFixedLayout)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { // Explicitly request fixed layout.
+ { "EPUBLayoutMethod",
+ uno::Any(static_cast<sal_Int32>(libepubgen::EPUB_LAYOUT_METHOD_FIXED)) } }));
+ createDoc(u"hello.fodt", aFilterData);
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+ // This was missing, EPUBLayoutMethod filter option was ignored and we always emitted reflowable layout.
+ assertXPathContent(mpXmlDoc,
+ "/opf:package/opf:metadata/opf:meta[@property='rendition:layout']"_ostr,
+ "pre-paginated");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testEPUBFixedLayoutOption)
+{
+ // Explicitly request fixed layout, this time via FilterOptions.
+ maFilterOptions = "layout=fixed";
+ createDoc(u"hello.fodt", {});
+
+ // This failed, fixed layout was only working via the FilterData map.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+ assertXPathContent(mpXmlDoc,
+ "/opf:package/opf:metadata/opf:meta[@property='rendition:layout']"_ostr,
+ "pre-paginated");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testEPUBFixedLayoutImplicitBreak)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { // Explicitly request fixed layout.
+ { "EPUBLayoutMethod",
+ uno::Any(static_cast<sal_Int32>(libepubgen::EPUB_LAYOUT_METHOD_FIXED)) } }));
+ createDoc(u"fxl-2page.fodt", aFilterData);
+
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/sections/section0001.xhtml"));
+ // This was missing, implicit page break (as calculated by the layout) was lost on export.
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/sections/section0002.xhtml"));
+ CPPUNIT_ASSERT(!mxZipFile->hasByName("OEBPS/sections/section0003.xhtml"));
+
+ // Make sure that fixed layout has chapter names in the navigation
+ // document.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/toc.xhtml");
+ // This was 'Page 1' instead.
+ assertXPathContent(mpXmlDoc, "//xhtml:li[1]/xhtml:a"_ostr, "First chapter");
+ assertXPathContent(mpXmlDoc, "//xhtml:li[2]/xhtml:a"_ostr, "Second chapter");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testPageBreakSplit)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { // Explicitly request split on page break (instead of on heading).
+ { "EPUBSplitMethod",
+ uno::Any(static_cast<sal_Int32>(libepubgen::EPUB_SPLIT_METHOD_PAGE_BREAK)) } }));
+ createDoc(u"2pages.fodt", aFilterData);
+
+ // Make sure that the output is split into two.
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/sections/section0001.xhtml"));
+ // This failed, output was a single section.
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/sections/section0002.xhtml"));
+ CPPUNIT_ASSERT(!mxZipFile->hasByName("OEBPS/sections/section0003.xhtml"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testSpanAutostyle)
+{
+ createDoc(u"span-autostyle.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:span[1]"_ostr, "class"_ostr, "span0");
+ // This failed, it was still span1, i.e. the bold and the italic formatting
+ // did not differ.
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:span[2]"_ostr, "class"_ostr, "span1");
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:span[3]"_ostr, "class"_ostr, "span2");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testParaAutostyleCharProps)
+{
+ createDoc(u"para-autostyle-char-props.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This failed, para-level char props were not exported.
+ assertXPath(mpXmlDoc, "//xhtml:p[1]/xhtml:span"_ostr, "class"_ostr, "span0");
+ assertXPath(mpXmlDoc, "//xhtml:p[2]/xhtml:span"_ostr, "class"_ostr, "span1");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testMeta)
+{
+ createDoc(u"meta.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+ // This was "Unknown Author", <meta:initial-creator> was not handled.
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:creator"_ostr, "A U Thor");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:title"_ostr, "Title");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:language"_ostr, "hu");
+ assertXPathContent(mpXmlDoc,
+ "/opf:package/opf:metadata/opf:meta[@property='dcterms:modified']"_ostr,
+ "2017-09-27T09:51:19Z");
+
+ // Make sure that cover image next to the source document is picked up.
+ assertXPath(mpXmlDoc, "/opf:package/opf:manifest/opf:item[@href='images/image0001.png']"_ostr,
+ "properties"_ostr, "cover-image");
+ assertXPath(mpXmlDoc, "/opf:package/opf:manifest/opf:item[@href='images/image0001.png']"_ostr,
+ "media-type"_ostr, "image/png");
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/images/image0001.png"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testMetaXMP)
+{
+ createDoc(u"meta-xmp.fodt", {});
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+
+ // These were the libepubgen default values, metadata from a matching .xmp file was not picked up.
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:identifier"_ostr,
+ "deadbeef-e394-4cd6-9b83-7172794612e5");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:title"_ostr,
+ "unknown title from xmp");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:creator"_ostr,
+ "unknown author from xmp");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:language"_ostr, "nl");
+ assertXPathContent(mpXmlDoc,
+ "/opf:package/opf:metadata/opf:meta[@property='dcterms:modified']"_ostr,
+ "2016-11-20T17:16:07Z");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testMetaAPI)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { { "RVNGIdentifier", uno::Any(OUString("deadc0de-e394-4cd6-9b83-7172794612e5")) },
+ { "RVNGTitle", uno::Any(OUString("unknown title from api")) },
+ { "RVNGInitialCreator", uno::Any(OUString("unknown author from api")) },
+ { "RVNGLanguage", uno::Any(OUString("hu")) },
+ { "RVNGDate", uno::Any(OUString("2015-11-20T17:16:07Z")) } }));
+ createDoc(u"meta-xmp.fodt", aFilterData);
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+
+ // These were values from XMP (deadbeef, etc.), not from API.
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:identifier"_ostr,
+ "deadc0de-e394-4cd6-9b83-7172794612e5");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:title"_ostr,
+ "unknown title from api");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:creator"_ostr,
+ "unknown author from api");
+ assertXPathContent(mpXmlDoc, "/opf:package/opf:metadata/dc:language"_ostr, "hu");
+ assertXPathContent(mpXmlDoc,
+ "/opf:package/opf:metadata/opf:meta[@property='dcterms:modified']"_ostr,
+ "2015-11-20T17:16:07Z");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testCoverImage)
+{
+ OUString aCoverURL = createFileURL(u"meta.cover-image.png");
+ uno::Sequence<beans::PropertyValue> aFilterData(
+ comphelper::InitPropertySequence({ { "RVNGCoverImage", uno::Any(aCoverURL) } }));
+ createDoc(u"hello.fodt", aFilterData);
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+
+ // Make sure that the explicitly set cover image is used.
+ // This failed, as the image was not part of the package.
+ assertXPath(mpXmlDoc, "/opf:package/opf:manifest/opf:item[@href='images/image0001.png']"_ostr,
+ "properties"_ostr, "cover-image");
+ assertXPath(mpXmlDoc, "/opf:package/opf:manifest/opf:item[@href='images/image0001.png']"_ostr,
+ "media-type"_ostr, "image/png");
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/images/image0001.png"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testParaNamedstyle)
+{
+ createDoc(u"para-namedstyle.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ assertXPath(mpXmlDoc, "//xhtml:p[1]"_ostr, "class"_ostr, "para0");
+ // This failed, paragraph properties from style were not exported.
+ assertXPath(mpXmlDoc, "//xhtml:p[2]"_ostr, "class"_ostr, "para1");
+
+ // Test character properties from named paragraph style.
+ assertXPath(mpXmlDoc, "//xhtml:p[1]/xhtml:span"_ostr, "class"_ostr, "span0");
+ // This failed, character properties from paragraph style were not exported.
+ assertXPath(mpXmlDoc, "//xhtml:p[2]/xhtml:span"_ostr, "class"_ostr, "span1");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testCharNamedstyle)
+{
+ createDoc(u"char-namedstyle.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+
+ // Test character properties from named text style.
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:span[1]"_ostr, "class"_ostr, "span0");
+ // This failed, character properties from text style were not exported.
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:span[2]"_ostr, "class"_ostr, "span1");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testNamedStyleInheritance)
+{
+ createDoc(u"named-style-inheritance.fodt", {});
+
+ // Find the CSS rule for the blue text.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ OUString aBlue = getXPath(mpXmlDoc, "//xhtml:p[2]/xhtml:span[2]"_ostr, "class"_ostr);
+
+ CPPUNIT_ASSERT_EQUAL(OUString("#0000ff"), EPUBExportTest::getCss(aCssDoc, aBlue, u"color"));
+ // This failed, the span only had the properties from its style, but not
+ // from the style's parent(s).
+ CPPUNIT_ASSERT_EQUAL(OUString("'Liberation Mono'"),
+ EPUBExportTest::getCss(aCssDoc, aBlue, u"font-family"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testNestedSpan)
+{
+ createDoc(u"nested-span.fodt", {});
+
+ // Check textural content of nested span.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ // This crashed, span had no content.
+ assertXPathContent(mpXmlDoc, "//xhtml:p/xhtml:span[2]"_ostr, "red");
+
+ // Check formatting of nested span.
+ OUString aRed = getXPath(mpXmlDoc, "//xhtml:p/xhtml:span[2]"_ostr, "class"_ostr);
+ // This failed, direct formatting on top of named style was lost.
+ CPPUNIT_ASSERT_EQUAL(OUString("#ff0000"), EPUBExportTest::getCss(aCssDoc, aRed, u"color"));
+ CPPUNIT_ASSERT_EQUAL(OUString("'Liberation Mono'"),
+ EPUBExportTest::getCss(aCssDoc, aRed, u"font-family"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testLineBreak)
+{
+ createDoc(u"line-break.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This was 0, line break was not handled.
+ assertXPath(mpXmlDoc, "//xhtml:p[1]/xhtml:span/xhtml:br"_ostr, 1);
+ // This was 0, line break inside span was not handled.
+ assertXPath(mpXmlDoc, "//xhtml:p[2]/xhtml:span/xhtml:br"_ostr, 1);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testEscape)
+{
+ createDoc(u"escape.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This was lost.
+ assertXPathContent(mpXmlDoc, "//xhtml:p[1]/xhtml:span[1]"_ostr, OUString::fromUtf8("\xc2\xa0"));
+ // Make sure escaping happens only once.
+ assertXPathContent(mpXmlDoc, "//xhtml:p[1]/xhtml:span[2]"_ostr, "a&b");
+ // This was also lost.
+ assertXPathContent(
+ mpXmlDoc, "//xhtml:p[1]/xhtml:span[3]"_ostr,
+ OUString::fromUtf8("\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2"
+ "\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0\xc2\xa0 "));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testParaCharProps)
+{
+ createDoc(u"para-char-props.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ // Check formatting of the middle span.
+ OUString aMiddle = getXPath(mpXmlDoc, "//xhtml:p/xhtml:span[2]"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("italic"),
+ EPUBExportTest::getCss(aCssDoc, aMiddle, u"font-style"));
+ // Direct para formatting was lost, only direct char formatting was
+ // written, so this failed.
+ CPPUNIT_ASSERT_EQUAL(OUString("bold"),
+ EPUBExportTest::getCss(aCssDoc, aMiddle, u"font-weight"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testSection)
+{
+ createDoc(u"section.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This was "After.", i.e. in-section content was ignored.
+ assertXPathContent(mpXmlDoc, "//xhtml:p[2]/xhtml:span"_ostr, "In section.");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testList)
+{
+ createDoc(u"list.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This was "C", i.e. in-list content was ignored.
+ assertXPathContent(mpXmlDoc, "//xhtml:p[2]/xhtml:span"_ostr, "B");
+ // Test nested list content.
+ assertXPathContent(mpXmlDoc, "//xhtml:p[6]/xhtml:span"_ostr, "F");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testImage)
+{
+ createDoc(u"image.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:img"_ostr, 1);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testImageBorder)
+{
+ createDoc(u"image-border.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:img"_ostr, "class"_ostr);
+ // This failed, image had no border.
+ CPPUNIT_ASSERT_EQUAL(OUString("0.99pt dashed #ed1c24"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"border"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testImageNospan)
+{
+ createDoc(u"image-nospan.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // Image outside a span was lost.
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:img"_ostr, 1);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTable)
+{
+ createDoc(u"table.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ assertXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr/xhtml:td"_ostr, 4);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTableRowSpan)
+{
+ createDoc(u"table-row-span.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This failed, row span wasn't exported.
+ assertXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[1]/xhtml:td[1]"_ostr, "rowspan"_ostr,
+ "2");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTableCellBorder)
+{
+ createDoc(u"table-cell-border.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[1]/xhtml:td[1]"_ostr,
+ "class"_ostr);
+ // This failed, cell border wasn't exported.
+ CPPUNIT_ASSERT_EQUAL(OUString("0.05pt solid #000000"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"border-left"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTableCellWidth)
+{
+ createDoc(u"table-cell-width.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ OUString aClass1 = getXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[1]/xhtml:td[1]"_ostr,
+ "class"_ostr);
+ OUString aClass2 = getXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[1]/xhtml:td[2]"_ostr,
+ "class"_ostr);
+ OUString aClass3 = getXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[1]/xhtml:td[3]"_ostr,
+ "class"_ostr);
+ // These failed, all widths were 0.
+ CPPUNIT_ASSERT_GREATER(EPUBExportTest::getCss(aCssDoc, aClass2, u"width").toDouble(),
+ EPUBExportTest::getCss(aCssDoc, aClass1, u"width").toDouble());
+ CPPUNIT_ASSERT_GREATER(EPUBExportTest::getCss(aCssDoc, aClass3, u"width").toDouble(),
+ EPUBExportTest::getCss(aCssDoc, aClass1, u"width").toDouble());
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTableRowHeight)
+{
+ createDoc(u"table-row-height.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ OUString aClass1
+ = getXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[1]"_ostr, "class"_ostr);
+ OUString aClass2
+ = getXPath(mpXmlDoc, "//xhtml:table/xhtml:tbody/xhtml:tr[2]"_ostr, "class"_ostr);
+ // These failed, both heights were 0.
+ CPPUNIT_ASSERT_GREATER(EPUBExportTest::getCss(aCssDoc, aClass2, u"height").toDouble(),
+ EPUBExportTest::getCss(aCssDoc, aClass1, u"height").toDouble());
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testLink)
+{
+ createDoc(u"link.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ assertXPathContent(mpXmlDoc, "//xhtml:p/xhtml:a/xhtml:span"_ostr, "https://libreoffice.org/");
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:a"_ostr, "href"_ostr, "https://libreoffice.org/");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testLinkInvalid)
+{
+ createDoc(u"link-invalid.odt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This was 1, invalid relative link was not filtered out.
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:a"_ostr, 0);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testLinkCharFormat)
+{
+ createDoc(u"link-charformat.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // <span> was lost, link text having a char format was missing.
+ assertXPathContent(mpXmlDoc, "//xhtml:p/xhtml:a/xhtml:span"_ostr, "https://libreoffice.org/");
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:a"_ostr, "href"_ostr, "https://libreoffice.org/");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testLinkNamedCharFormat)
+{
+ // Character properties from named character style on hyperlink was lost.
+ createDoc(u"link-namedcharformat.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ // This failed, there was no span inside the hyperlink.
+ assertXPathContent(mpXmlDoc, "//xhtml:p/xhtml:a/xhtml:span"_ostr, "http://libreoffice.org");
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:a"_ostr, "href"_ostr, "http://libreoffice.org/");
+
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:p/xhtml:a/xhtml:span"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("#ff0000"), EPUBExportTest::getCss(aCssDoc, aClass, u"color"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTableWidth)
+{
+ createDoc(u"table-width.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:table"_ostr, "class"_ostr);
+ // This failed, relative total width of table was lost.
+ CPPUNIT_ASSERT_EQUAL(OUString("50%"), EPUBExportTest::getCss(aCssDoc, aClass, u"width"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTextBox)
+{
+ createDoc(u"text-box.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+
+ // This failed, image with caption was lost.
+ assertXPath(mpXmlDoc, "//xhtml:img"_ostr, "class"_ostr, "frame1");
+ // Expected spans:
+ // 1) break after the image
+ // 2) "Illustration "
+ // 3) The sequence field, this was missing (was ": foo" instead).
+ assertXPathContent(mpXmlDoc, "//xhtml:div/xhtml:p/xhtml:span[3]"_ostr, "1");
+
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:div/xhtml:p/xhtml:span[3]"_ostr, "class"_ostr);
+ // This failed, the 3rd span was not italic.
+ CPPUNIT_ASSERT_EQUAL(OUString("italic"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"font-style"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testFontEmbedding)
+{
+#if !defined(MACOSX)
+ createDoc(u"font-embedding.fodt", {});
+
+ // Make sure that the params of defineEmbeddedFont() are all handled.
+ // librevenge:name
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ // 'SketchFlow Print' or ''SketchFlow Print1'
+ CPPUNIT_ASSERT(EPUBExportTest::getCss(aCssDoc, "font-face", u"font-family")
+ .startsWith("'SketchFlow Print"));
+ // librevenge:mime-type
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/content.opf");
+ assertXPath(mpXmlDoc, "/opf:package/opf:manifest/opf:item[@href='fonts/font0001.otf']"_ostr,
+ "media-type"_ostr, "application/vnd.ms-opentype");
+ // office:binary-data
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/fonts/font0001.otf"));
+ // librevenge:font-style
+ CPPUNIT_ASSERT_EQUAL(OUString("normal"),
+ EPUBExportTest::getCss(aCssDoc, "font-face", u"font-style"));
+ // librevenge:font-weight
+ CPPUNIT_ASSERT_EQUAL(OUString("normal"),
+ EPUBExportTest::getCss(aCssDoc, "font-face", u"font-weight"));
+#endif
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testImageLink)
+{
+ createDoc(u"image-link.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // This failed, image was missing.
+ assertXPath(mpXmlDoc, "//xhtml:p/xhtml:a/xhtml:img"_ostr, 1);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testFootnote)
+{
+ createDoc(u"footnote.fodt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // These were missing, footnote was lost.
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:p/xhtml:sup/xhtml:a"_ostr, "type"_ostr, "noteref");
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:aside"_ostr, "type"_ostr, "footnote");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testPopup)
+{
+ createDoc(u"popup.odt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // Test image popup anchor.
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:p[1]/xhtml:a"_ostr, "type"_ostr, "noteref");
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:p[1]/xhtml:a/xhtml:img"_ostr, 1);
+ // Test image popup content.
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:aside[1]"_ostr, "type"_ostr, "footnote");
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:aside[1]/xhtml:img"_ostr, 1);
+
+ // Test text popup anchor.
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:p[2]/xhtml:span/xhtml:a"_ostr, "type"_ostr,
+ "noteref");
+ assertXPathContent(mpXmlDoc, "//xhtml:body/xhtml:p[2]/xhtml:span/xhtml:a"_ostr, "link");
+ // Test text popup content.
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:aside[2]"_ostr, "type"_ostr, "footnote");
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:aside[2]/xhtml:img"_ostr, 1);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testPopupMedia)
+{
+ // This is the same as testPopup(), but the links point to images in the
+ // default media directory, not in the document directory.
+ createDoc(u"popup-media.odt", {});
+
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // Test image popup anchor. This failed, number of XPath nodes was 0.
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:p[1]/xhtml:a"_ostr, "type"_ostr, "noteref");
+ assertXPath(mpXmlDoc, "//xhtml:body/xhtml:p[1]/xhtml:a/xhtml:img"_ostr, 1);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testPopupAPI)
+{
+ // Make sure that the popup works with data from a media directory.
+ OUString aMediaDir = createFileURL(u"popup");
+ uno::Sequence<beans::PropertyValue> aFilterData(
+ comphelper::InitPropertySequence({ { "RVNGMediaDir", uno::Any(aMediaDir) } }));
+ createDoc(u"popup-api.odt", aFilterData);
+
+ // We have a non-empty anchor image.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ OUString aAnchor
+ = getXPath(mpXmlDoc, "//xhtml:body/xhtml:p[1]/xhtml:a/xhtml:img"_ostr, "src"_ostr);
+ CPPUNIT_ASSERT(!aAnchor.isEmpty());
+ // We have a non-empty popup image.
+ OUString aData = getXPath(mpXmlDoc, "//xhtml:body/xhtml:aside[1]/xhtml:img"_ostr, "src"_ostr);
+ CPPUNIT_ASSERT(!aData.isEmpty());
+ // The anchor is different from the popup image.
+ CPPUNIT_ASSERT(aAnchor != aData);
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testPageSize)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { { "EPUBLayoutMethod",
+ uno::Any(static_cast<sal_Int32>(libepubgen::EPUB_LAYOUT_METHOD_FIXED)) } }));
+ createDoc(u"hello.fodt", aFilterData);
+
+ // This failed, viewport was empty, so page size was lost.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ // 21,59cm x 27.94cm (letter).
+ assertXPath(mpXmlDoc, "/xhtml:html/xhtml:head/xhtml:meta[@name='viewport']"_ostr,
+ "content"_ostr, "width=816, height=1056");
+
+ mpXmlDoc = parseExport("OEBPS/images/image0001.svg");
+ // This was 288mm, logic->logic conversion input was a pixel value.
+ assertXPath(mpXmlDoc, "/svg:svg"_ostr, "width"_ostr, "216mm");
+ assertXPath(mpXmlDoc, "/svg:svg"_ostr, "height"_ostr, "279mm");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testSVG)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData(comphelper::InitPropertySequence(
+ { { "EPUBLayoutMethod",
+ uno::Any(static_cast<sal_Int32>(libepubgen::EPUB_LAYOUT_METHOD_FIXED)) } }));
+ createDoc(u"hello.fodt", aFilterData);
+
+ CPPUNIT_ASSERT(mxZipFile->hasByName("OEBPS/images/image0001.svg"));
+ uno::Reference<io::XInputStream> xInputStream(
+ mxZipFile->getByName("OEBPS/images/image0001.svg"), uno::UNO_QUERY);
+ std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(xInputStream, true));
+
+ SvMemoryStream aMemoryStream;
+ aMemoryStream.WriteStream(*pStream);
+ OString aExpected("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\n<svg"_ostr);
+ CPPUNIT_ASSERT(aMemoryStream.GetSize() > o3tl::make_unsigned(aExpected.getLength()));
+
+ // This failed, there was a '<!DOCTYPE' line between the xml and the svg
+ // one, causing a validation error.
+ OString aActual(static_cast<const char*>(aMemoryStream.GetData()), aExpected.getLength());
+ CPPUNIT_ASSERT_EQUAL(aExpected, aActual);
+
+ // This failed, we used the xlink attribute namespace, but we did not
+ // define its URL.
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/images/image0001.svg");
+ assertXPathNSDef(mpXmlDoc, "/svg:svg"_ostr, u"xlink", u"http://www.w3.org/1999/xlink");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTdf115623SingleWritingMode)
+{
+ // Simple page that has single writing mode should work.
+ createDoc(u"tdf115623-single-writing-mode.odt", {});
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:body"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("vertical-rl"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"writing-mode"));
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTdf115623SplitByChapter)
+{
+ createDoc(u"tdf115623-split-by-chapter.odt", {});
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ {
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:body"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("vertical-rl"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"writing-mode"));
+ }
+ // Split HTML should keep the same writing-mode.
+ {
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0002.xhtml");
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:body"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("vertical-rl"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"writing-mode"));
+ }
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testTdf115623ManyPageSpans)
+{
+ createDoc(u"tdf115623-many-pagespans.odt", {});
+ std::map<OUString, std::vector<OUString>> aCssDoc = parseCss("OEBPS/styles/stylesheet.css");
+ // Two pages should have different writing modes.
+ {
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:body"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("vertical-rl"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"writing-mode"));
+ }
+ {
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0002.xhtml");
+ OUString aClass = getXPath(mpXmlDoc, "//xhtml:body"_ostr, "class"_ostr);
+ CPPUNIT_ASSERT_EQUAL(OUString("horizontal-tb"),
+ EPUBExportTest::getCss(aCssDoc, aClass, u"writing-mode"));
+ }
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testSimpleRuby)
+{
+ createDoc(u"simple-ruby.odt", {});
+ xmlDocUniquePtr mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml");
+ assertXPathContent(mpXmlDoc, "//xhtml:body/xhtml:p/xhtml:ruby/xhtml:span"_ostr, "base text");
+ assertXPathContent(mpXmlDoc, "//xhtml:body/xhtml:p/xhtml:ruby/xhtml:rt"_ostr, "ruby text");
+}
+
+CPPUNIT_TEST_FIXTURE(EPUBExportTest, testAbi11105)
+{
+ // This crashed because the paragraph style "P5" which had a master-page-name
+ // appeared in a table cell messed up page spans.
+ createDoc(u"abi11105.abw", {});
+}
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/ImportTest.cxx b/writerperfect/qa/unit/ImportTest.cxx
new file mode 100644
index 0000000000..d441b89aec
--- /dev/null
+++ b/writerperfect/qa/unit/ImportTest.cxx
@@ -0,0 +1,124 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/config.h>
+
+#include <string_view>
+
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/container/XIndexAccess.hpp>
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/document/XTypeDetection.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
+#include <com/sun/star/table/XCellRange.hpp>
+
+#include <unotools/mediadescriptor.hxx>
+
+#include "WpftFilterFixture.hxx"
+#include "WpftLoader.hxx"
+
+namespace
+{
+namespace beans = css::beans;
+namespace container = css::container;
+namespace document = css::document;
+namespace lang = css::lang;
+namespace sheet = css::sheet;
+namespace table = css::table;
+namespace uno = css::uno;
+
+using uno::UNO_QUERY;
+
+using writerperfect::test::WpftLoader;
+
+class ImportTest : public writerperfect::test::WpftFilterFixture
+{
+public:
+ virtual void setUp() override;
+
+ void testWK3WithFM3();
+
+ CPPUNIT_TEST_SUITE(ImportTest);
+ CPPUNIT_TEST(testWK3WithFM3);
+ CPPUNIT_TEST_SUITE_END();
+
+private:
+ WpftLoader createCalcLoader(std::u16string_view rFile) const;
+
+ WpftLoader createLoader(const OUString& rUrl, const OUString& rFactoryUrl) const;
+
+ OUString makeUrl(std::u16string_view rFile) const;
+
+private:
+ uno::Reference<lang::XMultiServiceFactory> m_xFilterFactory;
+};
+
+void ImportTest::setUp()
+{
+ writerperfect::test::WpftFilterFixture::setUp();
+
+ m_xFilterFactory.set(
+ m_xFactory->createInstanceWithContext("com.sun.star.document.FilterFactory", m_xContext),
+ UNO_QUERY);
+ assert(m_xFilterFactory.is());
+}
+
+void ImportTest::testWK3WithFM3()
+{
+ WpftLoader aLoader(createCalcLoader(u"SOLVE.WK3"));
+ uno::Reference<sheet::XSpreadsheetDocument> xDoc(aLoader.getDocument(), UNO_QUERY);
+ CPPUNIT_ASSERT(xDoc.is());
+ uno::Reference<container::XIndexAccess> xSheets(xDoc->getSheets(), UNO_QUERY);
+ CPPUNIT_ASSERT(xSheets.is());
+ uno::Reference<table::XCellRange> xSheet(xSheets->getByIndex(0), UNO_QUERY);
+ CPPUNIT_ASSERT(xSheet.is());
+ uno::Reference<beans::XPropertySet> xCellProps(xSheet->getCellByPosition(1, 1), UNO_QUERY);
+ CPPUNIT_ASSERT(xCellProps.is());
+ Color nCharColor;
+ CPPUNIT_ASSERT(xCellProps->getPropertyValue("CharColor") >>= nCharColor);
+ CPPUNIT_ASSERT_EQUAL(COL_LIGHTBLUE, nCharColor); // blue text
+}
+
+WpftLoader ImportTest::createCalcLoader(std::u16string_view rFile) const
+{
+ return createLoader(makeUrl(rFile), "private:factory/scalc");
+}
+
+WpftLoader ImportTest::createLoader(const OUString& rUrl, const OUString& rFactoryUrl) const
+{
+ utl::MediaDescriptor aDesc;
+ aDesc[utl::MediaDescriptor::PROP_URL] <<= rUrl;
+ aDesc[utl::MediaDescriptor::PROP_READONLY] <<= true;
+ uno::Sequence<beans::PropertyValue> lDesc(aDesc.getAsConstPropertyValueList());
+ m_xTypeDetection->queryTypeByDescriptor(lDesc, true);
+ aDesc = lDesc;
+ OUString sFilter;
+ aDesc[utl::MediaDescriptor::PROP_FILTERNAME] >>= sFilter;
+ CPPUNIT_ASSERT(!sFilter.isEmpty());
+ const uno::Reference<document::XFilter> xFilter(m_xFilterFactory->createInstance(sFilter),
+ UNO_QUERY);
+ CPPUNIT_ASSERT(xFilter.is());
+ return WpftLoader(rUrl, xFilter, rFactoryUrl, m_xDesktop, m_xTypeMap, m_xContext);
+}
+
+OUString ImportTest::makeUrl(std::u16string_view rFile) const
+{
+ return const_cast<ImportTest*>(this)->m_directories.getURLFromSrc(
+ Concat2View(OUString::Concat("/" TEST_DIR "/") + rFile));
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(ImportTest);
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/PresentationImportTest.cxx b/writerperfect/qa/unit/PresentationImportTest.cxx
new file mode 100644
index 0000000000..0c29c72695
--- /dev/null
+++ b/writerperfect/qa/unit/PresentationImportTest.cxx
@@ -0,0 +1,156 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/drawing/XDrawPages.hpp>
+#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
+#include <com/sun/star/drawing/XShapeDescriptor.hpp>
+#include <com/sun/star/drawing/XShapes.hpp>
+#include <com/sun/star/text/XText.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <rtl/ref.hxx>
+
+#include <DocumentHandlerForOdp.hxx>
+#include <ImportFilter.hxx>
+#include "WpftFilterFixture.hxx"
+#include "WpftLoader.hxx"
+#include "wpftimport.hxx"
+
+namespace
+{
+namespace uno = css::uno;
+
+class PresentationImportFilter : public writerperfect::ImportFilter<OdpGenerator>
+{
+public:
+ explicit PresentationImportFilter(const uno::Reference<uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdpGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pWindow, librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
+
+ static void generate(librevenge::RVNGPresentationInterface& rDocument);
+};
+
+bool PresentationImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream&,
+ OdpGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ PresentationImportFilter::generate(rGenerator);
+ return true;
+}
+
+bool PresentationImportFilter::doDetectFormat(librevenge::RVNGInputStream&, OUString& rTypeName)
+{
+ rTypeName = "WpftDummyPresentation";
+ return true;
+}
+
+// XServiceInfo
+OUString SAL_CALL PresentationImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Wpft.QA.PresentationImportFilter";
+}
+
+sal_Bool SAL_CALL PresentationImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+uno::Sequence<OUString> SAL_CALL PresentationImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+void PresentationImportFilter::generate(librevenge::RVNGPresentationInterface& rDocument)
+{
+ using namespace librevenge;
+
+ rDocument.startDocument(RVNGPropertyList());
+ RVNGPropertyList aProps;
+ aProps.insert("svg:width", 800);
+ aProps.insert("svg:height", 600);
+ rDocument.startSlide(aProps);
+ aProps.clear();
+ aProps.insert("svg:x", 50);
+ aProps.insert("svg:y", 50);
+ aProps.insert("svg:width", 200);
+ aProps.insert("svg:height", 100);
+ rDocument.startTextObject(aProps);
+ rDocument.openParagraph(RVNGPropertyList());
+ rDocument.openSpan(RVNGPropertyList());
+ rDocument.insertText("My hovercraft is full of eels.");
+ rDocument.closeSpan();
+ rDocument.closeParagraph();
+ rDocument.endTextObject();
+ rDocument.endSlide();
+ rDocument.endDocument();
+}
+}
+
+namespace
+{
+class PresentationImportTest : public writerperfect::test::WpftFilterFixture
+{
+public:
+ void test();
+
+ CPPUNIT_TEST_SUITE(PresentationImportTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+void PresentationImportTest::test()
+{
+ using namespace css;
+
+ rtl::Reference<PresentationImportFilter> xFilter{ new PresentationImportFilter(m_xContext) };
+ writerperfect::test::WpftLoader aLoader(createDummyInput(), xFilter, "private:factory/simpress",
+ m_xDesktop, m_xContext);
+
+ uno::Reference<drawing::XDrawPagesSupplier> xDoc(aLoader.getDocument(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xDoc.is());
+ uno::Reference<drawing::XDrawPages> xPages = xDoc->getDrawPages();
+ CPPUNIT_ASSERT(xPages.is());
+ auto aPage = xPages->getByIndex(0);
+ uno::Reference<beans::XPropertySet> xPageProps;
+ CPPUNIT_ASSERT(aPage >>= xPageProps);
+ CPPUNIT_ASSERT(xPageProps.is());
+ sal_Int32 nProp = 0;
+ CPPUNIT_ASSERT(xPageProps->getPropertyValue("Height") >>= nProp);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(600), nProp);
+ CPPUNIT_ASSERT(xPageProps->getPropertyValue("Width") >>= nProp);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(800), nProp);
+ uno::Reference<drawing::XShapes> xShapes(xPageProps, uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xShapes.is());
+ auto aShape = xShapes->getByIndex(0);
+ uno::Reference<drawing::XShapeDescriptor> xShapeDesc;
+ CPPUNIT_ASSERT(aShape >>= xShapeDesc);
+ CPPUNIT_ASSERT(xShapeDesc.is());
+ CPPUNIT_ASSERT_EQUAL(OUString("com.sun.star.drawing.TextShape"), xShapeDesc->getShapeType());
+ uno::Reference<text::XText> xText(xShapeDesc, uno::UNO_QUERY);
+ CPPUNIT_ASSERT_EQUAL(OUString("My hovercraft is full of eels."), xText->getString());
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(PresentationImportTest);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/SpreadsheetImportTest.cxx b/writerperfect/qa/unit/SpreadsheetImportTest.cxx
new file mode 100644
index 0000000000..3c5de090ce
--- /dev/null
+++ b/writerperfect/qa/unit/SpreadsheetImportTest.cxx
@@ -0,0 +1,138 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <com/sun/star/container/XIndexAccess.hpp>
+#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
+#include <com/sun/star/table/XCell.hpp>
+#include <com/sun/star/table/XCellRange.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <rtl/ref.hxx>
+
+#include <DocumentHandlerForOds.hxx>
+#include <ImportFilter.hxx>
+#include "WpftFilterFixture.hxx"
+#include "WpftLoader.hxx"
+#include "wpftimport.hxx"
+
+namespace
+{
+namespace uno = css::uno;
+
+class SpreadsheetImportFilter : public writerperfect::ImportFilter<OdsGenerator>
+{
+public:
+ explicit SpreadsheetImportFilter(const uno::Reference<uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdsGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pWindow, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
+
+ static void generate(librevenge::RVNGSpreadsheetInterface& rDocument);
+};
+
+bool SpreadsheetImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream&,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ SpreadsheetImportFilter::generate(rGenerator);
+ return true;
+}
+
+bool SpreadsheetImportFilter::doDetectFormat(librevenge::RVNGInputStream&, OUString& rTypeName)
+{
+ rTypeName = "WpftDummySpreadsheet";
+ return true;
+}
+
+// XServiceInfo
+OUString SAL_CALL SpreadsheetImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Wpft.QA.SpreadsheetImportFilter";
+}
+
+sal_Bool SAL_CALL SpreadsheetImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+uno::Sequence<OUString> SAL_CALL SpreadsheetImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+void SpreadsheetImportFilter::generate(librevenge::RVNGSpreadsheetInterface& rDocument)
+{
+ using namespace librevenge;
+
+ rDocument.startDocument(RVNGPropertyList());
+ rDocument.openPageSpan(RVNGPropertyList());
+ rDocument.openSheet(RVNGPropertyList());
+ rDocument.openSheetRow(RVNGPropertyList());
+ rDocument.openSheetCell(RVNGPropertyList());
+ rDocument.openParagraph(RVNGPropertyList());
+ rDocument.openSpan(RVNGPropertyList());
+ rDocument.insertText("My hovercraft is full of eels.");
+ rDocument.closeSpan();
+ rDocument.closeParagraph();
+ rDocument.closeSheetCell();
+ rDocument.closeSheetRow();
+ rDocument.closeSheet();
+ rDocument.closePageSpan();
+ rDocument.endDocument();
+}
+}
+
+namespace
+{
+class SpreadsheetImportTest : public writerperfect::test::WpftFilterFixture
+{
+public:
+ void test();
+
+ CPPUNIT_TEST_SUITE(SpreadsheetImportTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+void SpreadsheetImportTest::test()
+{
+ using namespace css;
+
+ rtl::Reference<SpreadsheetImportFilter> xFilter{ new SpreadsheetImportFilter(m_xContext) };
+ writerperfect::test::WpftLoader aLoader(createDummyInput(), xFilter, "private:factory/scalc",
+ m_xDesktop, m_xContext);
+
+ uno::Reference<sheet::XSpreadsheetDocument> xDoc(aLoader.getDocument(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xDoc.is());
+ uno::Reference<container::XIndexAccess> xSheets(xDoc->getSheets(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xSheets.is());
+ uno::Reference<table::XCellRange> xSheet(xSheets->getByIndex(0), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xSheet.is());
+ uno::Reference<table::XCell> xCell = xSheet->getCellByPosition(0, 0);
+ CPPUNIT_ASSERT(xCell.is());
+ CPPUNIT_ASSERT_EQUAL(table::CellContentType_TEXT, xCell->getType());
+ CPPUNIT_ASSERT_EQUAL(OUString("My hovercraft is full of eels."), xCell->getFormula());
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(SpreadsheetImportTest);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/TextImportTest.cxx b/writerperfect/qa/unit/TextImportTest.cxx
new file mode 100644
index 0000000000..c1ff7ad75f
--- /dev/null
+++ b/writerperfect/qa/unit/TextImportTest.cxx
@@ -0,0 +1,145 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/container/XEnumeration.hpp>
+#include <com/sun/star/container/XEnumerationAccess.hpp>
+#include <com/sun/star/text/XTextDocument.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <rtl/ref.hxx>
+
+#include <DocumentHandlerForOdt.hxx>
+#include <ImportFilter.hxx>
+#include "WpftFilterFixture.hxx"
+#include "WpftLoader.hxx"
+#include "wpftimport.hxx"
+
+namespace
+{
+namespace uno = css::uno;
+
+class TextImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit TextImportFilter(const uno::Reference<uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pWindow, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
+
+ static void generate(librevenge::RVNGTextInterface& rDocument);
+};
+
+bool TextImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream&,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ TextImportFilter::generate(rGenerator);
+ return true;
+}
+
+bool TextImportFilter::doDetectFormat(librevenge::RVNGInputStream&, OUString& rTypeName)
+{
+ rTypeName = "WpftDummyText";
+ return true;
+}
+
+// XServiceInfo
+OUString SAL_CALL TextImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Wpft.QA.TextImportFilter";
+}
+
+sal_Bool SAL_CALL TextImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+uno::Sequence<OUString> SAL_CALL TextImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+void TextImportFilter::generate(librevenge::RVNGTextInterface& rDocument)
+{
+ using namespace librevenge;
+
+ rDocument.startDocument(RVNGPropertyList());
+ rDocument.openPageSpan(RVNGPropertyList());
+ rDocument.openParagraph(RVNGPropertyList());
+ rDocument.openSpan(RVNGPropertyList());
+ rDocument.insertText("My hovercraft is full of eels.");
+ rDocument.closeSpan();
+ rDocument.closeParagraph();
+ rDocument.closePageSpan();
+ rDocument.endDocument();
+}
+}
+
+namespace
+{
+class TextImportTest : public writerperfect::test::WpftFilterFixture
+{
+public:
+ void test();
+
+ CPPUNIT_TEST_SUITE(TextImportTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+void TextImportTest::test()
+{
+ using namespace css;
+
+ rtl::Reference<TextImportFilter> xFilter{ new TextImportFilter(m_xContext) };
+ writerperfect::test::WpftLoader aLoader(createDummyInput(), xFilter, "private:factory/swriter",
+ m_xDesktop, m_xContext);
+
+ uno::Reference<text::XTextDocument> xDoc(aLoader.getDocument(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xDoc.is());
+ uno::Reference<container::XEnumerationAccess> xParaAccess(xDoc->getText(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xParaAccess.is());
+ uno::Reference<container::XEnumeration> xParas = xParaAccess->createEnumeration();
+ CPPUNIT_ASSERT(xParas.is());
+ CPPUNIT_ASSERT(xParas->hasMoreElements());
+ uno::Reference<container::XEnumerationAccess> xPortionsAccess(xParas->nextElement(),
+ uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xPortionsAccess.is());
+ uno::Reference<container::XEnumeration> xPortions = xPortionsAccess->createEnumeration();
+ CPPUNIT_ASSERT(xPortions.is());
+ CPPUNIT_ASSERT(xPortions->hasMoreElements());
+ uno::Reference<beans::XPropertySet> xPortionProps(xPortions->nextElement(), uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xPortionProps.is());
+ OUString aPortionType;
+ CPPUNIT_ASSERT(xPortionProps->getPropertyValue("TextPortionType") >>= aPortionType);
+ CPPUNIT_ASSERT_EQUAL(OUString("Text"), aPortionType);
+ uno::Reference<text::XTextRange> xPortion(xPortionProps, uno::UNO_QUERY);
+ CPPUNIT_ASSERT(xPortion.is());
+ CPPUNIT_ASSERT_EQUAL(OUString("My hovercraft is full of eels."), xPortion->getString());
+ CPPUNIT_ASSERT(!xPortions->hasMoreElements());
+ CPPUNIT_ASSERT(!xParas->hasMoreElements());
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(TextImportTest);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx
new file mode 100644
index 0000000000..7936664f25
--- /dev/null
+++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx
@@ -0,0 +1,355 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <algorithm>
+#include <cassert>
+#include <sstream>
+
+#include <memory>
+
+#include <cppunit/extensions/HelperMacros.h>
+
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/ucb/XSimpleFileAccess.hpp>
+#include <com/sun/star/uno/Reference.hxx>
+
+#include <comphelper/processfactory.hxx>
+#include <comphelper/seqstream.hxx>
+
+#include <test/bootstrapfixture.hxx>
+
+#include <WPXSvInputStream.hxx>
+
+namespace io = com::sun::star::io;
+namespace ucb = com::sun::star::ucb;
+namespace uno = com::sun::star::uno;
+
+using std::shared_ptr;
+using std::unique_ptr;
+
+using librevenge::RVNGInputStream;
+using librevenge::RVNG_SEEK_CUR;
+using librevenge::RVNG_SEEK_END;
+using librevenge::RVNG_SEEK_SET;
+
+using std::equal;
+
+using writerperfect::WPXSvInputStream;
+
+namespace
+{
+class WPXSvStreamTest : public test::BootstrapFixture
+{
+public:
+ CPPUNIT_TEST_SUITE(WPXSvStreamTest);
+ CPPUNIT_TEST(testRead);
+ CPPUNIT_TEST(testSeekSet);
+ CPPUNIT_TEST(testSeekCur);
+ CPPUNIT_TEST(testSeekEnd);
+ CPPUNIT_TEST(testStructured);
+ CPPUNIT_TEST_SUITE_END();
+
+private:
+ void testRead();
+ void testSeekSet();
+ void testSeekCur();
+ void testSeekEnd();
+ void testStructured();
+};
+
+const char aText[] = "hello world";
+constexpr OUStringLiteral aOLEFile = u"/writerperfect/qa/unit/data/stream/fdo40686-1.doc";
+constexpr OUStringLiteral aZipFile = u"/writerperfect/qa/unit/data/stream/test.odt";
+
+shared_ptr<RVNGInputStream> lcl_createStream()
+{
+ using comphelper::SequenceInputStream;
+
+ const css::uno::Sequence<sal_Int8> aData(reinterpret_cast<const sal_Int8*>(aText),
+ sizeof aText);
+ const uno::Reference<io::XInputStream> xInputStream(new SequenceInputStream(aData));
+
+ shared_ptr<RVNGInputStream> pInputStream;
+ if (xInputStream.is())
+ pInputStream = std::make_shared<WPXSvInputStream>(xInputStream);
+
+ return pInputStream;
+}
+
+shared_ptr<RVNGInputStream> lcl_createStreamForURL(const OUString& rURL)
+{
+ using uno::Reference;
+ using uno::UNO_QUERY_THROW;
+
+ const Reference<uno::XComponentContext> xContext(comphelper::getProcessComponentContext(),
+ css::uno::UNO_SET_THROW);
+ const Reference<ucb::XSimpleFileAccess> xFileAccess(
+ xContext->getServiceManager()->createInstanceWithContext(
+ "com.sun.star.ucb.SimpleFileAccess", xContext),
+ UNO_QUERY_THROW);
+ const Reference<io::XInputStream> xInputStream(xFileAccess->openFileRead(rURL),
+ css::uno::UNO_SET_THROW);
+
+ return std::make_shared<WPXSvInputStream>(xInputStream);
+}
+
+void lcl_testSubStreams(const shared_ptr<RVNGInputStream>& pInput)
+{
+ shared_ptr<RVNGInputStream> pSubStream;
+
+ // all valid substreams can be read
+ for (std::size_t i = 0; i != pInput->subStreamCount(); ++i)
+ {
+ std::ostringstream msg("opening substream ");
+ msg << i;
+ pSubStream.reset(pInput->getSubStreamById(i));
+ CPPUNIT_ASSERT_MESSAGE(msg.str(), bool(pSubStream));
+ }
+
+ // invalid substreams cannot be read
+ pSubStream.reset(pInput->getSubStreamById(pInput->subStreamCount()));
+ CPPUNIT_ASSERT(!pSubStream);
+}
+
+void WPXSvStreamTest::testRead()
+{
+ const shared_ptr<RVNGInputStream> pInput(lcl_createStream());
+ const unsigned long nLen = sizeof aText;
+
+ unsigned long nReadBytes = 0;
+ const unsigned char* pData = nullptr;
+ const unsigned char* const pTextOrig = reinterpret_cast<const unsigned char*>(aText);
+ const unsigned char* pText = pTextOrig;
+
+ // reading by small pieces
+ pData = pInput->read(1UL, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(1UL, nReadBytes);
+ CPPUNIT_ASSERT(equal(pText, pText + nReadBytes, pData));
+ CPPUNIT_ASSERT(!pInput->isEnd());
+ pText += nReadBytes;
+
+ pData = pInput->read(2UL, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(2UL, nReadBytes);
+ CPPUNIT_ASSERT(equal(pText, pText + nReadBytes, pData));
+ CPPUNIT_ASSERT(!pInput->isEnd());
+ pText += nReadBytes;
+
+ pData = pInput->read(3UL, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(3UL, nReadBytes);
+ CPPUNIT_ASSERT(equal(pText, pText + nReadBytes, pData));
+ CPPUNIT_ASSERT(!pInput->isEnd());
+ pText += nReadBytes;
+
+ assert(nLen > 6);
+ pData = pInput->read(nLen - 6, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(nLen - 6, nReadBytes);
+ CPPUNIT_ASSERT(equal(pText, pText + nReadBytes, pData));
+ CPPUNIT_ASSERT(pInput->isEnd());
+
+ // reading everything at once
+ pInput->seek(0, RVNG_SEEK_SET);
+ pText = pTextOrig;
+
+ pData = pInput->read(nLen, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(nLen, nReadBytes);
+ CPPUNIT_ASSERT(equal(pText, pText + nReadBytes, pData));
+ CPPUNIT_ASSERT(pInput->isEnd());
+
+ // trying to read too much
+ pInput->seek(0, RVNG_SEEK_SET);
+ pText = pTextOrig;
+
+ pData = pInput->read(nLen + 1, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(nLen, nReadBytes);
+ CPPUNIT_ASSERT(equal(pText, pText + nReadBytes, pData));
+ CPPUNIT_ASSERT(pInput->isEnd());
+
+ // trying to read nothing
+ pInput->seek(0, RVNG_SEEK_SET);
+ pData = pInput->read(0UL, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(0UL, nReadBytes);
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT_EQUAL(static_cast<const unsigned char*>(nullptr), pData);
+ CPPUNIT_ASSERT(!pInput->isEnd());
+}
+
+void WPXSvStreamTest::testSeekSet()
+{
+ const shared_ptr<RVNGInputStream> pInput(lcl_createStream());
+ const long nLen = sizeof aText;
+
+ // check initial state
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ // valid seeks
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(0, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(1, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(1L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(nLen, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(nLen, pInput->tell());
+ CPPUNIT_ASSERT(pInput->isEnd());
+
+ // go back to the beginning
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(0, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+
+ // invalid seeks
+ CPPUNIT_ASSERT(0 != pInput->seek(-1, RVNG_SEEK_SET));
+ // Okay, this is not defined. But it is what the WPXSvInputStream
+ // does ATM and it is reasonable.
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT(0 != pInput->seek(nLen + 1, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(nLen, pInput->tell());
+ CPPUNIT_ASSERT(pInput->isEnd());
+}
+
+void WPXSvStreamTest::testSeekCur()
+{
+ const shared_ptr<RVNGInputStream> pInput(lcl_createStream());
+ const long nLen = sizeof aText;
+
+ // check initial state
+ CPPUNIT_ASSERT(!pInput->isEnd());
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+
+ // valid seeks
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(0, RVNG_SEEK_CUR));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(1, RVNG_SEEK_CUR));
+ CPPUNIT_ASSERT_EQUAL(1L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(-1, RVNG_SEEK_CUR));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ // go back to the beginning
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(0, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+
+ // invalid seeks
+ CPPUNIT_ASSERT(0 != pInput->seek(-1, RVNG_SEEK_CUR));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT(0 != pInput->seek(nLen + 1, RVNG_SEEK_CUR));
+ CPPUNIT_ASSERT_EQUAL(nLen, pInput->tell());
+ CPPUNIT_ASSERT(pInput->isEnd());
+}
+
+void WPXSvStreamTest::testSeekEnd()
+{
+ const shared_ptr<RVNGInputStream> pInput(lcl_createStream());
+ const long nLen = sizeof aText;
+
+ // check initial state
+ CPPUNIT_ASSERT(!pInput->isEnd());
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+
+ // valid seeks
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(0, RVNG_SEEK_END));
+ CPPUNIT_ASSERT_EQUAL(nLen, pInput->tell());
+ CPPUNIT_ASSERT(pInput->isEnd());
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(-1, RVNG_SEEK_END));
+ CPPUNIT_ASSERT_EQUAL(nLen - 1, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(-nLen, RVNG_SEEK_END));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+
+ // go back to the beginning
+ CPPUNIT_ASSERT_EQUAL(0, pInput->seek(0, RVNG_SEEK_SET));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+
+ // invalid seeks
+ CPPUNIT_ASSERT(0 != pInput->seek(1, RVNG_SEEK_END));
+ CPPUNIT_ASSERT_EQUAL(nLen, pInput->tell());
+ CPPUNIT_ASSERT(pInput->isEnd());
+
+ CPPUNIT_ASSERT(0 != pInput->seek(-nLen - 1, RVNG_SEEK_END));
+ CPPUNIT_ASSERT_EQUAL(0L, pInput->tell());
+ CPPUNIT_ASSERT(!pInput->isEnd());
+}
+
+void WPXSvStreamTest::testStructured()
+{
+ // OLE2
+ {
+ const shared_ptr<RVNGInputStream> pInput(
+ lcl_createStreamForURL(m_directories.getURLFromSrc(aOLEFile)));
+ assert(bool(pInput));
+
+ CPPUNIT_ASSERT(pInput->isStructured());
+ CPPUNIT_ASSERT_EQUAL(static_cast<unsigned>(2), pInput->subStreamCount());
+ lcl_testSubStreams(pInput);
+
+ // check for existing substream
+ CPPUNIT_ASSERT(pInput->existsSubStream("WordDocument"));
+ unique_ptr<RVNGInputStream> pSubStream(pInput->getSubStreamByName("WordDocument"));
+ CPPUNIT_ASSERT(bool(pSubStream));
+ CPPUNIT_ASSERT(!pSubStream->isEnd());
+
+ // check for not existing substream
+ CPPUNIT_ASSERT(!pInput->existsSubStream("foo"));
+ pSubStream.reset(pInput->getSubStreamByName("foo"));
+ CPPUNIT_ASSERT(!pSubStream);
+ }
+
+ // Zip
+ {
+ const shared_ptr<RVNGInputStream> pInput(
+ lcl_createStreamForURL(m_directories.getURLFromSrc(aZipFile)));
+ assert(bool(pInput));
+
+ CPPUNIT_ASSERT(pInput->isStructured());
+ CPPUNIT_ASSERT_EQUAL(static_cast<unsigned>(9), pInput->subStreamCount());
+ lcl_testSubStreams(pInput);
+
+ // check for existing substream
+ CPPUNIT_ASSERT(pInput->existsSubStream("content.xml"));
+ unique_ptr<RVNGInputStream> pSubStream(pInput->getSubStreamByName("content.xml"));
+ CPPUNIT_ASSERT(bool(pSubStream));
+ CPPUNIT_ASSERT(!pSubStream->isEnd());
+
+ // check for not existing substream
+ CPPUNIT_ASSERT(!pInput->existsSubStream("foo"));
+ pSubStream.reset(pInput->getSubStreamByName("foo"));
+ CPPUNIT_ASSERT(!pSubStream);
+ }
+
+ // not structured
+ {
+ const shared_ptr<RVNGInputStream> pInput(lcl_createStream());
+
+ CPPUNIT_ASSERT(!pInput->isStructured());
+ CPPUNIT_ASSERT_EQUAL(static_cast<unsigned>(0), pInput->subStreamCount());
+ CPPUNIT_ASSERT(!pInput->existsSubStream("foo"));
+ CPPUNIT_ASSERT(!pInput->getSubStreamByName("foo"));
+ CPPUNIT_ASSERT(!pInput->getSubStreamById(42));
+ CPPUNIT_ASSERT(!pInput->subStreamName(42));
+ }
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(WPXSvStreamTest);
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftCalcFilterTest.cxx b/writerperfect/qa/unit/WpftCalcFilterTest.cxx
new file mode 100644
index 0000000000..22d1d4f95d
--- /dev/null
+++ b/writerperfect/qa/unit/WpftCalcFilterTest.cxx
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftFilterTestBase.hxx"
+
+namespace
+{
+class WpftCalcFilterTest : public writerperfect::test::WpftFilterTestBase
+{
+public:
+ WpftCalcFilterTest();
+
+ void test();
+
+ CPPUNIT_TEST_SUITE(WpftCalcFilterTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+WpftCalcFilterTest::WpftCalcFilterTest()
+ : writerperfect::test::WpftFilterTestBase("private:factory/scalc")
+{
+}
+
+void WpftCalcFilterTest::test()
+{
+ const writerperfect::test::WpftOptionalMap_t aEtonyekOptional{
+ { "Numbers_2.numbers", REQUIRE_ETONYEK_VERSION(0, 1, 2) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aMWAWOptional{
+ { "JazzLotus.hqx", REQUIRE_MWAW_VERSION(0, 3, 17) },
+ { "Multiplan_1.hqx", REQUIRE_MWAW_VERSION(0, 3, 14) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aWpsOptional{
+ { "Lotus123_3.123", REQUIRE_WPS_VERSION(0, 4, 5) },
+ { "Lotus123_98.123", REQUIRE_WPS_VERSION(0, 4, 6) },
+ { "Multiplan_3", REQUIRE_WPS_VERSION(0, 4, 9) },
+ { "QuattroPro.wb1", REQUIRE_WPS_VERSION(0, 4, 8) },
+ };
+
+ doTest("com.sun.star.comp.Calc.MWAWCalcImportFilter",
+ u"/writerperfect/qa/unit/data/calc/libmwaw/", aMWAWOptional);
+ doTest("com.sun.star.comp.Calc.MSWorksCalcImportFilter",
+ u"/writerperfect/qa/unit/data/calc/libwps/", aWpsOptional);
+ doTest("org.libreoffice.comp.Calc.NumbersImportFilter",
+ u"/writerperfect/qa/unit/data/calc/libetonyek/", aEtonyekOptional);
+ doTest("org.libreoffice.comp.Calc.StarOfficeCalcImportFilter",
+ u"/writerperfect/qa/unit/data/calc/libstaroffice/");
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(WpftCalcFilterTest);
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftDrawFilterTest.cxx b/writerperfect/qa/unit/WpftDrawFilterTest.cxx
new file mode 100644
index 0000000000..78168cdb9c
--- /dev/null
+++ b/writerperfect/qa/unit/WpftDrawFilterTest.cxx
@@ -0,0 +1,81 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftFilterTestBase.hxx"
+
+namespace
+{
+class WpftDrawFilterTest : public writerperfect::test::WpftFilterTestBase
+{
+public:
+ WpftDrawFilterTest();
+
+ void test();
+
+ CPPUNIT_TEST_SUITE(WpftDrawFilterTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+WpftDrawFilterTest::WpftDrawFilterTest()
+ : writerperfect::test::WpftFilterTestBase("private:factory/sdraw")
+{
+}
+
+void WpftDrawFilterTest::test()
+{
+ const writerperfect::test::WpftOptionalMap_t aMWAWOptional{
+ { "Canvas_2.hqx", REQUIRE_MWAW_VERSION(0, 3, 17) },
+ { "ClarisDraw.hqx", REQUIRE_MWAW_VERSION(0, 3, 5) },
+ { "CorelPainter_3_win.rif", REQUIRE_MWAW_VERSION(0, 3, 15) },
+ { "CorelPainter_10", REQUIRE_MWAW_VERSION(0, 3, 15) },
+ { "CricketDraw_1.0.hqx", REQUIRE_MWAW_VERSION(0, 3, 8) },
+ { "CricketDraw_1.1.hqx", REQUIRE_MWAW_VERSION(0, 3, 8) },
+ { "DrawingTable_1.hqx", REQUIRE_MWAW_VERSION(0, 3, 17) },
+ { "FreeHand_1.0.hqx", REQUIRE_MWAW_VERSION(0, 3, 8) },
+ { "FreeHand_2.0.hqx", REQUIRE_MWAW_VERSION(0, 3, 8) },
+ { "MacDraft_1.0.hqx", REQUIRE_MWAW_VERSION(0, 3, 5) },
+ { "MacDraft_5.5.drw", REQUIRE_MWAW_VERSION(0, 3, 6) },
+ { "MacDraw_0.hqx", REQUIRE_MWAW_VERSION(0, 3, 2) },
+ { "MacDraw_1.hqx", REQUIRE_MWAW_VERSION(0, 3, 2) },
+ { "MacDraw_II.hqx", REQUIRE_MWAW_VERSION(0, 3, 3) },
+ { "MacDraw_Pro_1.0.hqx", REQUIRE_MWAW_VERSION(0, 3, 4) },
+ { "ReadySetGo_1", REQUIRE_MWAW_VERSION(0, 3, 21) },
+ { "Scoop_1", REQUIRE_MWAW_VERSION(0, 3, 21) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aStarOfficeOptional{
+ { "Draw_3.1.sda", REQUIRE_STAROFFICE_VERSION(0, 0, 1) },
+ };
+
+ doTest("com.sun.star.comp.Draw.CDRImportFilter", u"/writerperfect/qa/unit/data/draw/libcdr/");
+ doTest("com.sun.star.comp.Draw.CMXImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libcdr-cmx/");
+ doTest("com.sun.star.comp.Draw.FreehandImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libfreehand/");
+ doTest("com.sun.star.comp.Draw.MSPUBImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libmspub/");
+ doTest("com.sun.star.comp.Draw.MWAWDrawImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libmwaw/", aMWAWOptional);
+ doTest("com.sun.star.comp.Draw.VisioImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libvisio/");
+ doTest("com.sun.star.comp.Draw.WPGImportFilter", u"/writerperfect/qa/unit/data/draw/libwpg/");
+ doTest("org.libreoffice.comp.Draw.PageMakerImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libpagemaker/");
+ doTest("org.libreoffice.comp.Draw.StarOfficeDrawImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libstaroffice/", aStarOfficeOptional);
+ doTest("org.libreoffice.comp.Draw.ZMFImportFilter",
+ u"/writerperfect/qa/unit/data/draw/libzmf/");
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(WpftDrawFilterTest);
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftFilterFixture.cxx b/writerperfect/qa/unit/WpftFilterFixture.cxx
new file mode 100644
index 0000000000..142ff22c36
--- /dev/null
+++ b/writerperfect/qa/unit/WpftFilterFixture.cxx
@@ -0,0 +1,35 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftFilterFixture.hxx"
+
+#include <com/sun/star/container/XNameAccess.hpp>
+#include <com/sun/star/document/XTypeDetection.hpp>
+#include <com/sun/star/frame/theDesktop.hpp>
+
+namespace document = com::sun::star::document;
+namespace frame = com::sun::star::frame;
+namespace uno = com::sun::star::uno;
+
+namespace writerperfect::test
+{
+void WpftFilterFixture::setUp()
+{
+ ::test::BootstrapFixture::setUp();
+
+ m_xDesktop = frame::theDesktop::get(m_xContext);
+
+ m_xTypeDetection.set(
+ m_xFactory->createInstanceWithContext("com.sun.star.document.TypeDetection", m_xContext),
+ uno::UNO_QUERY_THROW);
+ m_xTypeMap.set(m_xTypeDetection, uno::UNO_QUERY_THROW);
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftFilterFixture.hxx b/writerperfect/qa/unit/WpftFilterFixture.hxx
new file mode 100644
index 0000000000..2fdd6a2f85
--- /dev/null
+++ b/writerperfect/qa/unit/WpftFilterFixture.hxx
@@ -0,0 +1,85 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <config_writerperfect.h>
+
+#include "wpftqahelperdllapi.h"
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+
+#include <rtl/ustring.hxx>
+
+#include <test/bootstrapfixture.hxx>
+
+#define REQUIRE_VERSION(major, minor, micro, req_major, req_minor, req_micro) \
+ (major) > (req_major) \
+ || ((major) == (req_major) \
+ && ((minor) > (req_minor) || ((minor) == (req_minor) && ((micro) >= (req_micro)))))
+
+#define REQUIRE_EBOOK_VERSION(major, minor, micro) \
+ REQUIRE_VERSION(EBOOK_VERSION_MAJOR, EBOOK_VERSION_MINOR, EBOOK_VERSION_MICRO, major, minor, \
+ micro)
+
+#define REQUIRE_ETONYEK_VERSION(major, minor, micro) \
+ REQUIRE_VERSION(ETONYEK_VERSION_MAJOR, ETONYEK_VERSION_MINOR, ETONYEK_VERSION_MICRO, major, \
+ minor, micro)
+
+#define REQUIRE_MWAW_VERSION(major, minor, micro) \
+ REQUIRE_VERSION(MWAW_VERSION_MAJOR, MWAW_VERSION_MINOR, MWAW_VERSION_MICRO, major, minor, micro)
+
+#define REQUIRE_STAROFFICE_VERSION(major, minor, micro) \
+ REQUIRE_VERSION(STAROFFICE_VERSION_MAJOR, STAROFFICE_VERSION_MINOR, STAROFFICE_VERSION_MICRO, \
+ major, minor, micro)
+
+#define REQUIRE_WPS_VERSION(major, minor, micro) \
+ REQUIRE_VERSION(WPS_VERSION_MAJOR, WPS_VERSION_MINOR, WPS_VERSION_MICRO, major, minor, micro)
+
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace container
+{
+class XNameAccess;
+}
+namespace document
+{
+class XTypeDetection;
+}
+namespace frame
+{
+class XDesktop2;
+}
+}
+}
+}
+
+namespace writerperfect
+{
+namespace test
+{
+class WPFTQAHELPER_DLLPUBLIC WpftFilterFixture : public ::test::BootstrapFixture
+{
+public:
+ virtual void setUp() override;
+
+protected:
+ css::uno::Reference<css::frame::XDesktop2> m_xDesktop;
+ css::uno::Reference<css::document::XTypeDetection> m_xTypeDetection;
+ css::uno::Reference<css::container::XNameAccess> m_xTypeMap;
+};
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftFilterTestBase.cxx b/writerperfect/qa/unit/WpftFilterTestBase.cxx
new file mode 100644
index 0000000000..ca9dcc317c
--- /dev/null
+++ b/writerperfect/qa/unit/WpftFilterTestBase.cxx
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftFilterTestBase.hxx"
+
+#include <com/sun/star/document/XFilter.hpp>
+
+#include <tools/urlobj.hxx>
+
+#include "WpftLoader.hxx"
+
+namespace uno = com::sun::star::uno;
+
+namespace writerperfect::test
+{
+WpftFilterTestBase::WpftFilterTestBase(const OUString& rFactoryURL)
+ : ::test::FiltersTest()
+ , WpftFilterFixture()
+ , m_aFactoryURL(rFactoryURL)
+ , m_pOptionalMap(nullptr)
+{
+}
+
+bool WpftFilterTestBase::load(const OUString&, const OUString& rURL, const OUString&,
+ SfxFilterFlags, SotClipboardFormatId, unsigned int)
+{
+ if (m_pOptionalMap)
+ {
+ // first check if this test file is supported by the used version of the library
+ const INetURLObject aUrl(rURL);
+ const WpftOptionalMap_t::const_iterator it(m_pOptionalMap->find(aUrl.getName()));
+ if ((it != m_pOptionalMap->end()) && !it->second)
+ return true; // skip the file
+ }
+
+ const WpftLoader aLoader(rURL, m_xFilter, m_aFactoryURL, m_xDesktop, m_xTypeMap, m_xContext);
+ return aLoader.getDocument().is();
+}
+
+void WpftFilterTestBase::doTest(const OUString& rFilter, std::u16string_view rPath)
+{
+ m_xFilter.set(m_xFactory->createInstanceWithContext(rFilter, m_xContext), uno::UNO_QUERY_THROW);
+ testDir(OUString(), m_directories.getURLFromSrc(rPath));
+}
+
+void WpftFilterTestBase::doTest(const OUString& rFilter, std::u16string_view rPath,
+ const WpftOptionalMap_t& rOptionalMap)
+{
+ m_xFilter.set(m_xFactory->createInstanceWithContext(rFilter, m_xContext), uno::UNO_QUERY_THROW);
+ m_pOptionalMap = &rOptionalMap;
+ testDir(OUString(), m_directories.getURLFromSrc(rPath));
+ m_pOptionalMap = nullptr;
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftFilterTestBase.hxx b/writerperfect/qa/unit/WpftFilterTestBase.hxx
new file mode 100644
index 0000000000..8f929e9f7d
--- /dev/null
+++ b/writerperfect/qa/unit/WpftFilterTestBase.hxx
@@ -0,0 +1,68 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include "wpftqahelperdllapi.h"
+
+#include <string_view>
+#include <unordered_map>
+
+#include <com/sun/star/uno/Reference.hxx>
+
+#include <rtl/ustring.hxx>
+
+#include <unotest/filters-test.hxx>
+
+#include "WpftFilterFixture.hxx"
+
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace document
+{
+class XFilter;
+}
+}
+}
+}
+
+namespace writerperfect
+{
+namespace test
+{
+typedef std::unordered_map<OUString, bool> WpftOptionalMap_t;
+
+class WPFTQAHELPER_DLLPUBLIC WpftFilterTestBase : public ::test::FiltersTest,
+ public WpftFilterFixture
+{
+public:
+ explicit WpftFilterTestBase(const OUString& rFactoryURL);
+
+protected:
+ void doTest(const OUString& rFilter, std::u16string_view rPath);
+ void doTest(const OUString& rFilter, std::u16string_view rPath,
+ const WpftOptionalMap_t& rOptionalMap);
+
+private:
+ virtual bool load(const OUString&, const OUString& rURL, const OUString&, SfxFilterFlags,
+ SotClipboardFormatId, unsigned int) override;
+
+private:
+ const OUString m_aFactoryURL;
+ css::uno::Reference<css::document::XFilter> m_xFilter;
+ const WpftOptionalMap_t* m_pOptionalMap;
+};
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftImpressFilterTest.cxx b/writerperfect/qa/unit/WpftImpressFilterTest.cxx
new file mode 100644
index 0000000000..9ff60296b2
--- /dev/null
+++ b/writerperfect/qa/unit/WpftImpressFilterTest.cxx
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftFilterTestBase.hxx"
+
+namespace
+{
+class WpftImpressFilterTest : public writerperfect::test::WpftFilterTestBase
+{
+public:
+ WpftImpressFilterTest();
+
+ void test();
+
+ CPPUNIT_TEST_SUITE(WpftImpressFilterTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+WpftImpressFilterTest::WpftImpressFilterTest()
+ : writerperfect::test::WpftFilterTestBase("private:factory/simpress")
+{
+}
+
+void WpftImpressFilterTest::test()
+{
+ const writerperfect::test::WpftOptionalMap_t aEtonyekOptional{
+ { "Keynote_1.key", REQUIRE_ETONYEK_VERSION(0, 1, 8) },
+ { "Keynote_2.key", REQUIRE_ETONYEK_VERSION(0, 1, 1) },
+ { "Keynote_3.key", REQUIRE_ETONYEK_VERSION(0, 1, 1) },
+ { "Keynote_6.key", REQUIRE_ETONYEK_VERSION(0, 1, 4) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aMWAWOptional{
+ { "ClarisWorks_6.0.cwk", REQUIRE_MWAW_VERSION(0, 3, 3) },
+ { "PowerPoint_Mac_1", REQUIRE_MWAW_VERSION(0, 3, 9) },
+ { "PowerPoint_Mac_2", REQUIRE_MWAW_VERSION(0, 3, 9) },
+ { "PowerPoint_Mac_3", REQUIRE_MWAW_VERSION(0, 3, 9) },
+ { "PowerPoint_Mac_4.ppt", REQUIRE_MWAW_VERSION(0, 3, 10) },
+ { "PowerPoint_2.ppt", REQUIRE_MWAW_VERSION(0, 3, 10) },
+ { "PowerPoint_3.ppt", REQUIRE_MWAW_VERSION(0, 3, 9) },
+ { "PowerPoint_4.ppt", REQUIRE_MWAW_VERSION(0, 3, 10) },
+ { "PowerPoint_7.ppt", REQUIRE_MWAW_VERSION(0, 3, 11) },
+ };
+
+ doTest("org.libreoffice.comp.Impress.KeynoteImportFilter",
+ u"/writerperfect/qa/unit/data/impress/libetonyek/", aEtonyekOptional);
+ doTest("com.sun.star.comp.Impress.MWAWPresentationImportFilter",
+ u"/writerperfect/qa/unit/data/impress/libmwaw/", aMWAWOptional);
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(WpftImpressFilterTest);
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftLoader.cxx b/writerperfect/qa/unit/WpftLoader.cxx
new file mode 100644
index 0000000000..d0809b9099
--- /dev/null
+++ b/writerperfect/qa/unit/WpftLoader.cxx
@@ -0,0 +1,210 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftLoader.hxx"
+
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/container/NoSuchElementException.hpp>
+#include <com/sun/star/container/XNameAccess.hpp>
+#include <com/sun/star/document/XExtendedFilterDetection.hpp>
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/document/XImporter.hpp>
+#include <com/sun/star/frame/XController.hpp>
+#include <com/sun/star/frame/XDesktop2.hpp>
+#include <com/sun/star/frame/XModel.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/lang/IllegalArgumentException.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+#include <com/sun/star/ucb/XCommandEnvironment.hpp>
+#include <com/sun/star/ucb/XContent.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/util/XCloseable.hpp>
+
+#include <ucbhelper/content.hxx>
+
+namespace beans = com::sun::star::beans;
+namespace container = com::sun::star::container;
+namespace document = com::sun::star::document;
+namespace frame = com::sun::star::frame;
+namespace lang = com::sun::star::lang;
+namespace ucb = com::sun::star::ucb;
+namespace uno = com::sun::star::uno;
+namespace util = com::sun::star::util;
+
+namespace writerperfect::test
+{
+WpftLoader::WpftLoader(const OUString& rURL,
+ const css::uno::Reference<css::document::XFilter>& rxFilter,
+ const OUString& rFactoryURL,
+ const css::uno::Reference<css::frame::XDesktop2>& rxDesktop,
+ const css::uno::Reference<css::container::XNameAccess>& rxTypeMap,
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : m_aURL(rURL)
+ , m_aFactoryURL(rFactoryURL)
+ , m_xFilter(rxFilter)
+ , m_xDesktop(rxDesktop)
+ , m_xTypeMap(rxTypeMap)
+ , m_xContext(rxContext)
+{
+ if (!impl_load())
+ impl_dispose();
+}
+
+WpftLoader::WpftLoader(const css::uno::Reference<css::io::XInputStream>& rxInputStream,
+ const css::uno::Reference<css::document::XFilter>& rxFilter,
+ const OUString& rFactoryURL,
+ const css::uno::Reference<css::frame::XDesktop2>& rxDesktop,
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : m_xInputStream(rxInputStream)
+ , m_aFactoryURL(rFactoryURL)
+ , m_xFilter(rxFilter)
+ , m_xDesktop(rxDesktop)
+ , m_xContext(rxContext)
+{
+ if (!impl_load())
+ impl_dispose();
+}
+
+WpftLoader::~WpftLoader()
+{
+ try
+ {
+ impl_dispose();
+ }
+ catch (...)
+ {
+ }
+}
+
+const css::uno::Reference<css::lang::XComponent>& WpftLoader::getDocument() const { return m_xDoc; }
+
+bool WpftLoader::impl_load()
+{
+ // create an empty frame
+ m_xDoc.set(m_xDesktop->loadComponentFromURL(m_aFactoryURL, "_blank", 0,
+ uno::Sequence<beans::PropertyValue>()),
+ uno::UNO_SET_THROW);
+
+ // Find the model and frame. We need them later.
+ m_xFrame.set(m_xDoc, uno::UNO_QUERY);
+ uno::Reference<frame::XModel> xModel(m_xDoc, uno::UNO_QUERY);
+ uno::Reference<frame::XController> xController(m_xDoc, uno::UNO_QUERY);
+
+ if (m_xFrame.is())
+ {
+ xController = m_xFrame->getController();
+ xModel = xController->getModel();
+ }
+ else if (xModel.is())
+ {
+ xController = xModel->getCurrentController();
+ m_xFrame = xController->getFrame();
+ }
+ else if (xController.is())
+ {
+ m_xFrame = xController->getFrame();
+ xModel = xController->getModel();
+ }
+
+ if (!m_xFrame.is() || !xModel.is())
+ throw uno::RuntimeException();
+
+ // try to import the document (and load it into the prepared frame)
+ try
+ {
+ const uno::Reference<document::XImporter> xImporter(m_xFilter, uno::UNO_QUERY_THROW);
+
+ xImporter->setTargetDocument(m_xDoc);
+
+ uno::Sequence<beans::PropertyValue> aDescriptor(3);
+ auto pDescriptor = aDescriptor.getArray();
+ pDescriptor[0].Name = "URL";
+ pDescriptor[0].Value <<= m_aURL;
+ if (m_xInputStream.is())
+ {
+ pDescriptor[1].Name = "InputStream";
+ pDescriptor[1].Value <<= m_xInputStream;
+ }
+ else
+ {
+ ucbhelper::Content aContent(m_aURL, uno::Reference<ucb::XCommandEnvironment>(),
+ m_xContext);
+ pDescriptor[1].Name = "InputStream";
+ pDescriptor[1].Value <<= aContent.openStream();
+ pDescriptor[2].Name = "UCBContent";
+ pDescriptor[2].Value <<= aContent.get();
+ }
+
+ const uno::Reference<document::XExtendedFilterDetection> xDetector(m_xFilter,
+ uno::UNO_QUERY_THROW);
+
+ const OUString aTypeName(xDetector->detect(aDescriptor));
+ if (aTypeName.isEmpty())
+ throw lang::IllegalArgumentException();
+
+ if (m_xTypeMap.is())
+ impl_detectFilterName(aDescriptor, aTypeName);
+
+ xModel->lockControllers();
+ const bool bLoaded = m_xFilter->filter(aDescriptor);
+ xModel->unlockControllers();
+ return bLoaded;
+ }
+ catch (const uno::Exception&)
+ {
+ // ignore
+ }
+
+ return false;
+}
+
+void WpftLoader::impl_dispose()
+{
+ // close the opened document
+ uno::Reference<util::XCloseable> xCloseable(m_xFrame, uno::UNO_QUERY);
+ if (xCloseable.is())
+ xCloseable->close(true);
+ else if (m_xDoc.is())
+ m_xDoc->dispose();
+ m_xDoc.clear();
+ m_xFrame.clear();
+}
+
+void WpftLoader::impl_detectFilterName(uno::Sequence<beans::PropertyValue>& rDescriptor,
+ const OUString& rTypeName)
+{
+ bool bHasFilterName
+ = std::any_of(std::cbegin(rDescriptor), std::cend(rDescriptor),
+ [](const beans::PropertyValue& rProp) { return "FilterName" == rProp.Name; });
+ if (bHasFilterName)
+ return;
+
+ uno::Sequence<beans::PropertyValue> aTypes;
+ if (m_xTypeMap->getByName(rTypeName) >>= aTypes)
+ {
+ for (const auto& rType : std::as_const(aTypes))
+ {
+ OUString aFilterName;
+ if (("PreferredFilter" == rType.Name) && (rType.Value >>= aFilterName))
+ {
+ const sal_Int32 nDescriptorLen = rDescriptor.getLength();
+ rDescriptor.realloc(nDescriptorLen + 1);
+ auto& el = rDescriptor.getArray()[nDescriptorLen];
+ el.Name = "FilterName";
+ el.Value <<= aFilterName;
+ return;
+ }
+ }
+ }
+
+ throw container::NoSuchElementException();
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftLoader.hxx b/writerperfect/qa/unit/WpftLoader.hxx
new file mode 100644
index 0000000000..646e3a3b6a
--- /dev/null
+++ b/writerperfect/qa/unit/WpftLoader.hxx
@@ -0,0 +1,100 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include "wpftqahelperdllapi.h"
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+
+#include <rtl/ustring.hxx>
+
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace beans
+{
+struct PropertyValue;
+}
+namespace container
+{
+class XNameAccess;
+}
+namespace document
+{
+class XFilter;
+}
+namespace frame
+{
+class XDesktop2;
+class XFrame;
+}
+namespace io
+{
+class XInputStream;
+}
+namespace lang
+{
+class XComponent;
+}
+namespace uno
+{
+class XComponentContext;
+}
+}
+}
+}
+
+namespace writerperfect
+{
+namespace test
+{
+class WPFTQAHELPER_DLLPUBLIC WpftLoader
+{
+public:
+ WpftLoader(const OUString& rURL, const css::uno::Reference<css::document::XFilter>& rxFilter,
+ const OUString& rFactoryURL,
+ const css::uno::Reference<css::frame::XDesktop2>& rxDesktop,
+ const css::uno::Reference<css::container::XNameAccess>& rxTypeMap,
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext);
+ WpftLoader(const css::uno::Reference<css::io::XInputStream>& rxInputStream,
+ const css::uno::Reference<css::document::XFilter>& rxFilter,
+ const OUString& rFactoryURL,
+ const css::uno::Reference<css::frame::XDesktop2>& rxDesktop,
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext);
+ ~WpftLoader();
+
+ const css::uno::Reference<css::lang::XComponent>& getDocument() const;
+
+private:
+ bool impl_load();
+ void impl_dispose();
+
+ void impl_detectFilterName(css::uno::Sequence<css::beans::PropertyValue>& rDescriptor,
+ const OUString& rTypeName);
+
+private:
+ const OUString m_aURL;
+ const css::uno::Reference<css::io::XInputStream> m_xInputStream;
+ const OUString m_aFactoryURL;
+ const css::uno::Reference<css::document::XFilter> m_xFilter;
+ const css::uno::Reference<css::frame::XDesktop2> m_xDesktop;
+ const css::uno::Reference<css::container::XNameAccess> m_xTypeMap;
+ const css::uno::Reference<css::uno::XComponentContext> m_xContext;
+ css::uno::Reference<css::lang::XComponent> m_xDoc;
+ css::uno::Reference<css::frame::XFrame> m_xFrame;
+};
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/WpftWriterFilterTest.cxx b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
new file mode 100644
index 0000000000..78d24dc99b
--- /dev/null
+++ b/writerperfect/qa/unit/WpftWriterFilterTest.cxx
@@ -0,0 +1,81 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "WpftFilterTestBase.hxx"
+
+namespace
+{
+class WpftWriterFilterTest : public writerperfect::test::WpftFilterTestBase
+{
+public:
+ WpftWriterFilterTest();
+
+ void test();
+
+ CPPUNIT_TEST_SUITE(WpftWriterFilterTest);
+ CPPUNIT_TEST(test);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+WpftWriterFilterTest::WpftWriterFilterTest()
+ : writerperfect::test::WpftFilterTestBase("private:factory/swriter")
+{
+}
+
+void WpftWriterFilterTest::test()
+{
+ const writerperfect::test::WpftOptionalMap_t aEBookOptional{
+ { "FictionBook2.fb2.zip", REQUIRE_EBOOK_VERSION(0, 1, 1) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aEtonyekOptional{
+ { "Pages_4.pages", REQUIRE_ETONYEK_VERSION(0, 1, 2) },
+ { "Pages_5.pages", REQUIRE_ETONYEK_VERSION(0, 1, 8) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aMWAWOptional{
+ { "JazzLotus.hqx", REQUIRE_MWAW_VERSION(0, 3, 17) },
+ { "MaxWrite_1.hqx", REQUIRE_MWAW_VERSION(0, 3, 8) },
+ { "MouseWrite_1.hqx", REQUIRE_MWAW_VERSION(0, 3, 8) },
+ { "RagTime_2.1.hqx", REQUIRE_MWAW_VERSION(0, 3, 2) },
+ { "RagTime_3.2.hqx", REQUIRE_MWAW_VERSION(0, 3, 2) },
+ { "RagTime_5.5.rag", REQUIRE_MWAW_VERSION(0, 3, 6) },
+ { "ScriptWriter", REQUIRE_MWAW_VERSION(0, 3, 21) },
+ { "StudentWritingCenter", REQUIRE_MWAW_VERSION(0, 3, 20) },
+ { "WordMaker", REQUIRE_MWAW_VERSION(0, 3, 20) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aStarOfficeOptional{
+ { "Writer_3.1.sdw", REQUIRE_STAROFFICE_VERSION(0, 0, 2) },
+ };
+ const writerperfect::test::WpftOptionalMap_t aWpsOptional{
+ { "PocketWord.psw", REQUIRE_WPS_VERSION(0, 4, 12) },
+ { "Word_5.0_DOS.doc", REQUIRE_WPS_VERSION(0, 4, 3) },
+ { "Write_3.1.wri", REQUIRE_WPS_VERSION(0, 4, 2) },
+ };
+
+ doTest("com.sun.star.comp.Writer.AbiWordImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libabw/");
+ doTest("org.libreoffice.comp.Writer.EBookImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libe-book/", aEBookOptional);
+ doTest("com.sun.star.comp.Writer.MSWorksImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libwps/", aWpsOptional);
+ doTest("com.sun.star.comp.Writer.MWAWImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libmwaw/", aMWAWOptional);
+ doTest("org.libreoffice.comp.Writer.PagesImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libetonyek/", aEtonyekOptional);
+ doTest("org.libreoffice.comp.Writer.StarOfficeWriterImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libstaroffice/", aStarOfficeOptional);
+ doTest("com.sun.star.comp.Writer.WordPerfectImportFilter",
+ u"/writerperfect/qa/unit/data/writer/libwpd/");
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(WpftWriterFilterTest);
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/data/calc/libetonyek/fail/.gitignore b/writerperfect/qa/unit/data/calc/libetonyek/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libetonyek/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libetonyek/indeterminate/.gitignore b/writerperfect/qa/unit/data/calc/libetonyek/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libetonyek/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libetonyek/pass/Numbers_2.numbers b/writerperfect/qa/unit/data/calc/libetonyek/pass/Numbers_2.numbers
new file mode 100644
index 0000000000..307a49ccfc
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libetonyek/pass/Numbers_2.numbers
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/fail/.gitignore b/writerperfect/qa/unit/data/calc/libmwaw/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_1.0.hqx
new file mode 100644
index 0000000000..1f44c17446
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw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)!!#!#!!!J!J!!!!!J!!!#)4#)
+4L%3L%4%L4)J4)N5)J%!J%!J%!J%"!J3)%#"!J1"`1"`1"i2"J`F1($K`i-')4#)
+!L%3L!"%L4!!4)N3!JN3S%#K%JJ'Cc'BcQFaQ-hHlhHjhZphZlYflGqlGZhGr[pr
+[pr[pr[lpqrI[hlpr(ir(ir(iI$limH2(MamqI(HlhIphZphrlYflrqlGZrppZpI
+[elYprM0Qc*NcCXbCUT!)c*!)L*!)r`!!!2m!!!#!N!Mr!*!(#)#!#!L!J!KQ!!!
+!Q3!!!2q)L)MrL)L)ri#3"rm!r`$r!2m!rrm!!2rr!!"hN!J!rrrr!2rrrhq3#!$
+rN!IhIhrhphprpjRrrrpQrrrr!(GhG`"hGhF!Ij!(m*!%$j!%Q@CQQCPQCTN!#"`
+qIciF#!!)&#T9+K3)X6!$'pM!$)f!%!)J!3K!"!J8)N'!!3)%J-!K%J`%!J(rJ)#
+!r`J)#!"rIhm!prIhJ%!J!!)%#!##4$P%JJ%"!IKd)NH2&b*a[k#r[Ehp"Ie9S%"
+!93S%")K%)K%4)N5)J8)N')&#*"LU!)!!L!#!!!1%5$!-!J%"J)""2JJ)&1-!N!X
+S!3'!!!!!"RBa,M!Z-4T6H@eKER4PBb"(FQ9KG&G[FQYc)(Ba,M!Z-3!!!"888hP
+YB@jdC@-J4h*PBA4AEh*VFkS!!!%!!!!%j3!!!q8!!!##!&Zcl"Mk!!!!(!##!!4
+A8&01!!!!+P"56P3!!!!f8%&8)`!!!%*fCA*c!!!!6P088L!!!!"D!!(rr`#3"9Z
+b#!!"rrm!!!!H!&Za9!!"rrm!!!#D!&Zal!!#rrm!!!1J!&Zb!,rdrrm!!!2-!&Z
+aV-@%:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_2.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_2.0.hqx
new file mode 100644
index 0000000000..bf34a4854d
--- /dev/null
+++ b/writerperfect/q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!!$T!
+!!&jLQ,rdrrm!!!km!&jLN!"hAJ:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_1.0.hqx
new file mode 100644
index 0000000000..872304de2b
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_1.0.hqx
@@ -0,0 +1,115 @@
+(This file must be converted with BinHex 4.0)
+:#'4KG'%ZChFa!&T%3P0D48*5!3!!!#+J!!!&CiPR!3"D4%*6!*!-)!!!!#!!!!!
+J!*!,"J!!!!B!!!!'!*!,#J!!!!S!!!!+!*!,$!!!!!`!N!3)!!!!#!!!!!J!N!F
+)!!!!"`!!!!J!!!!)!!)!!J!!!S!!!!1!!!!$S!!!!m!!!!2J!!!%!!!!"#!!N!B
+&`2q38(9bH5"6BfKXBQX)6Q9h)&P[FQX36faN)%9ZCfaTFfJJ9'9iG"02E'3J4@j
+RE'PcD#"8CAKd)%e8"%pZHAJ'6hKQEh*N#&"KE'&dD@j[$P0MFQP`G#"09#"#Efa
+N"90hD@jR"P0jE@*[E!K8C@aPG'9iG!98D@ePF`G89&P'Efjd$9TKF'BJ3fKKEQ0
+PFRN0@Q&`CL"%D@jRBQ&dF`4DC@&X"9C8-6!`!!!!#!!E!!J!@Yi)!!!!'`8j)("
+dF`)a-!)a-J)a0!)a1!)b0!)c0J)d1!!!!3!!!!Qq!!!)[J!!!Ui!9S+-'2S!!!!
+F!Ui!'d4TEQB!!!$L8e4C53!!!1j69&)M!!)!qP934%`!!`%H4&"$E`!+!!!!&!!
+!#!!!!!J!!!!)!*!*!CC%8%CK!!S!!!!8!!!D!!!!'J!!!"S!N!N"aP"cCA3!#J!
+!!"3!!"`!!!!F!!!!(!#3#3(f8(*Q-3!+!!!!&!!!(J!!!"i!!!!H!*!*!LC3FQB
+e!!%!!!$d!!3!2!!(!!%"!3!!!#!!N!i#!!!""(4PH(30m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!N!Ir!2m!r`$r!2rr!!$rr`!!Gj!)!2rrr`$rrrprN!J!rj!(php
+rprGrIrHCrrrrC[rrr`"hGhF!GhGh!(q3"r#3"!q3"*PQCTQCCQDC!!JF2Rmq(!J
+!#"3U95S8#,%`!a[B`!b0J"!#)!%)3!3)&#*"J!%#")$!)4)-"!)"ri#!J2m)#!J
+!Ihpr!2Ihpi"!)!!#"!J!JN3j4))"!3(iG#*(MaFLFEqJ[lfpr3Ap9D"!3&8+"!5
+)4#)4%5*%L)&#*"L"3L3BUJ#!!)J!J!!$K%J`$!)"!B#!36i)#"6M!*!,+!%"J!!
+!!!Cf-5i`,M%D8hPYB@jdC@-J4h*PBA4AEh*VFb"f-5i`,M%!!!!9&&0jE@&ZG'9
+M)%GbC@&d9fpbDh1U!!!"!!!!"18!!!2P!!!!JJ"EY%3C@!!!!"`!JJ!%9e"66J!
+!!#T38Nj8!!!!0P""9#-!!!"#GQ9bF`!!!%j69&)J!!!!@J!"rrm!N!9EXIJ!!Ir
+r!!!!(J"EXI3!!Irr!!!!QJ"EXI`!![rr!!!$S!"EXLLrp2rr!!!$c!"EXHccC`:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_2.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_2.0.hqx
new file mode 100644
index 0000000000..19caf5ef8e
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/indeterminate/GreatWorks_DB_2.0.hqx
@@ -0,0 +1,222 @@
+(This file must be converted with BinHex 4.0)
+:#'4KG'%ZChFb!&T%3P0D48*5!3!!!#`!!!!3ZiX#!J"D4%*6!*!-+J!!!#S!!!!
+U!*!,"J!!!!B!!!!'!*!,#J!!!!S!!!!+!*!,$!!!!!`!N!3)!!!!#!!!!!J!N!F
+)!!!!#!!!!!J!!!!)!!)!!J!!)U!!!!1!!!!$S!!!!m!!!!2J!!!%!!!!"#!!N!B
+&`!)!!!!M`!!!"H!!!2q34(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!AQ"%!!(rr`!!$9%!AQ!mZ4B!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_1.0.hqx
new file mode 100644
index 0000000000..fa49d2116c
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_1.0.hqx
@@ -0,0 +1,45 @@
+(This file must be converted with BinHex 4.0)
+:#(0SC@9d,Q*h!%*AFh0#9fYc!3!!!!H!!!!"BQUN3PGVFd*AFh0#9h0c!*!&!3#
+3"`%!N!B""`#3"!@-!!N!!!!*!*!-!3#3"!F!!3!2!!!!5!")!*!%![!#32rarqi
+$#3*5B`)&+!2m!3!!!!&S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!"*`m!!3#
+3$K!!N!N3!2qerkB2,3ZD!!J"!*!0'3%!!!%(!*!)!3F!N$J'4f9ZCACK!#i!#R"
+bC@B!N!G6ZA!!8lYJ!!!""!-#!J%"!3!"!!S!!!!K!!-!"`!0!!-!Q!)Q!!&NEh0
+e#@%!N!96ZA!!8lYJ!!!!5!!!!%J!!!")!!!!5!%"!3!#*QCZ!!JJ$'B3F$![!%k
+Y"0SS3#!-@%pR4#m-6Ud!1LK!)&3JVH5S)%bJ+5"83QJ!"#"83QJ!"L"83QJ!##"
+8F!!K3!!+)&4)D!!12c`$kA!22`"1V30b)%bJ+PK2)!`SE[rm6Pj1G8j@!!![$#K
+Z!!JJ$'F`)&3JVH5S)&3r+!!%UCSJ$'FHF!![!#m-6Ud!3L!Z!!`)!!!!8%pR##m
+-6Ud%iPK2+'lrr%jH6R919[rk51F"'#KZ!!JJ6+!T9Bmr2)!!,ca`FQ9QF!%I!%K
+ZrrT)E[rm6Ud$-MiICQC9McmZrrS[,[rm)&4)D!!1,ca#9fYc,ca6G'&h6Ud#kMi
+I"e"KCf8J*R!J9%KS!!j1V3-U9Bmr,[rk,blrr#"85'J!$R!$(`"1V3-L)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J2Trrm!N!Lrp2rr!!!
+!$!#3"#5m:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_DB_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_DB_1.0.hqx
new file mode 100644
index 0000000000..db1f578995
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/BeagleWorks_DB_1.0.hqx
@@ -0,0 +1,176 @@
+(This file must be converted with BinHex 4.0)
+:#'4KG'%ZBRFa!%*AC'*#9fYc!*!%*#-!!!&LNq0#9fYc3PGNBN*AC')!N!8"!*!
+(!3#3"J%(!*!%"B`!#3!!!!N!N!`"!*!%"`!"!!m!!!")!%J!N!3#m!*!rr(rlJ-
+*!P*M!J8S!r`"!!!!!@J"D!#3"!k`#d!!!3%!!'3!!3!!!!%!!J!!!!%R$`!"!*!
+1%!#3#4!!rlArTJmY#jS!#!%!N!dC!3!!!3F!N!J""`#31!C(C@jPGQ%#+!!"C'p
+cG3Je!*!&8lPF!&1m)!!!!%J!!!")!!!!5!!!!%J!N!8"!LCQ2J#3"!0`!&'hQ!#
+3"!%V!*!&C22Q!&2+E!"6bU3!!!!"!*!1$e0dH@aP9h*TG'9b)%a[C`#3ZJG3B@G
+P)#C`!*$j,J!+F(*PCJ#3"e1jA!"6[#!!%`%%!`)#!3%"!!%!#J!!!#%!!`!(!!d
+!!`#3"5`!"!!m!!!%G'9iG!4'Efjd!"YR!!46DATP!"YS!!96G(PXC3!ED3!&3fp
+XEh)!'fS!!5d!N!3+!'J!8lMBrrm!b3!m!!!'ER9YBQ9b!*-i!!!!"J#3&%j@rp4
+)j`mB*Qi!%#KZ!!J"4`"6Z0Mrr`!)!$`!!!4NBA4P!J!!MlJ!!!!1!*!86PB!!#m
+-+'i!##m-)'`!!J*S!&1if2rr!2`!2!!!"(4TE@8#5J"B6fF'-#i!$Q"H)'`!+#"
+3)'J!%Le)rr`J8#CS!%K)EJ!1,`Y1V3Xk2J!$4`"6Z0Mrr`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!!!F`!"!!%!5`!+!!-!S!"c!!)!!3",!!S!!`$%!(-!!`#3"3)
+!N!AV!!!!"`!"!!J!!J!(!!&J%`!!!3!!!!%F!!!!(!!!!%BN&3&Qqbi4!4F"hlc
+i2&X&!$1($fN&*`4j$k&kJ3&QH`SUC'&dB5jLGc%`!!)!!!"#9f4L3PGVF`#3#N*
+AC'*#9fYc!*!Bcl2K3!#3"J&L`iXm1aJl5d6KDk*V'0X#`BJl%&-$3`k"!(-9DbV
+E$3-$(JS!@eYD5!J+,(X!$+)F+)@-q!p#Z#NX*43-U+,VBkY5$a*`QaK&1aBXmeA
+$$+Y52Z-Rd"*E!X8e8dHS2&CV!PF&,$ciZ`9QUe)T$S%-$`%5&`'dUe*X$`!VD34
+)i3"P"J!!!!J!6J!#!G`#GJ!!!!`,3Q9KCfaP9fpbDh-!!!%!!!!"(!!!!"`!!!"
+'!&1m3"S8!!!!(!"'!!&h8'pc!!!!%P088L!!!!!H!qRrr`#3#,rdrrm!!!!-!*!
+%LTX!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisResolve_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisResolve_1.0.hqx
new file mode 100644
index 0000000000..2e9546ca81
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisResolve_1.0.hqx
@@ -0,0 +1,43 @@
+(This file must be converted with BinHex 4.0)
+:#A0SC@9d,R*cGJ"5FeGc8R0XGJ%!!!!(I!!!!8DiV%*"9&p#9&06-$%`-3!!!18
+"!*!)(-Ga(-GaE$m!!!!2rrrr!*!%!Iq3"!!!!!(rrrm""3!8!"3!!!$qr`#3"J)
+%!!!!$rrrr`#3"!(rN!3!!!!"rrrr!38!&!!8!!!!r[m!N!B#"!!!!!rrrrm%!!!
+!!Iq3"!!!!!(rrrm""3!8!"3!lZlZ!Irrr`%!!!!"rrrr!38!N!3"rrrr!38!N!3
+'rrrr!38!N!33rrrr!38!N!8+!3C(C@jPGQ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%N!N!4N!2m2!!"DT3!!!3!!!!%8!!!!&!!!!$)
+!&3#3"G3"-!!"!*!)$jm!N!39!*!&#A0SC@9d,R*cGJ)!!!"5FeGc8R0XGJ#3$&*
+c9h05Ffaf!*!Bcl)h@J#3"J&'!0S!PJ%J"!46BACP!*!&RJ$D!,!")!3'3f&ZBf9
+X!*!&L!!1!*J!aBJ)8f&fC5"KFcS!N!8G!-B!-3%ZJ!#3"MJ!fJ"+!5!%"89UC@0
+d!*!'8J$D!'3")!3&4(*TGQ8!N!DG!"%!V3$#%!#3"Kd!$J!!!"!23faKFQPc)&*
+PFfpXGQ@U!!!"!!!!!43!!!!8!!!!-J!$!R3%DJ!!!"`!-J!!8e45)!!!!!Urp2r
+r!*!)kbS!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_2.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_2.0.hqx
new file mode 100644
index 0000000000..b9bc981442
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_2.0.hqx
@@ -0,0 +1,102 @@
+(This file must be converted with BinHex 4.0)
+:#A0SC@9d,Q0hD`"$9e063Np#6`%!!!!H4J!!!8)+9J)!2!0#6d*2!!%!A9`d!*!
+%!aJ#C!!N!#3!*!!N!#3!*!,d!N!"!!!"!*!5!3!!!J!#!!!!A9UX!*!(!3!"!!)
+!(&La!!S!!!!"!!!!!3"G@U`!N!3$!`#3$9eF,!#3FeeCm!!!!&eF3!)#!*!&&3!
+!$!%!!!!"!J)!!!%!N!8"!!!"!!%!,3!!!3!"!*!%@J!!!")!N!8'!3#3"!%!C!#
+3*3`!!2rr!!!!B!!!!!)!!!"i!!m!!!")!%J!N!3#m!*!rr(rlJ-*!P*M!J8S!r`
+"!!!!!@J"D!#3"!k`#d!!!3%!!'3!!3!!!!%!!J!!!!%R$`!"!*!1%!#3#4!!rlA
+rTJmY#jS!#!%!N!dC!3#3&a`!!2rr!!!!"!!3!!%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!!!!3!!,rr`#3"3`,3fa
+KFQPc9fpbDh-!!!%!!!!"%!!!!"!!!!!b!&eEi"Mk!!!!(!!b!!"69&)J!!!!#Vr
+drrm!N!9G@CJiC3:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_4.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_4.0.hqx
new file mode 100644
index 0000000000..0b5da872ff
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_4.0.hqx
@@ -0,0 +1,160 @@
+(This file must be converted with BinHex 4.0)
+:$(0SC@9d,Q0hDbjf0!"$9e063Np#6`%!!!!U-!!!!D,$jJ3!R!"#6d*2!!%!@"0
+8!*!%!aJ#C!!N!#3!*!!N!#3!*!,d!N!"!!!"!*!5!3!!!J!"!!!!@"B3!*!("`!
+"!!!!!3!"!!)!(&La!!S!!!!"!!!!!3"B&K!!N!3$!`#3$9d!N'pG!*!(@"A%!!!
+!@"0J!J,rr`!!!!8!!!(r!3!"!!!#!!)!N!S"!!!"!!%!,3!!!3!"!*!%@J!!!")
+!N!8'!3#3"!%!!3#3'3i08'9bCQpbE@%J9A0PFJ#3$hJ!$`!!!%J!5!#3"!,`!N$
+rmIrZ!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!,3!!"!3!!C!!"!!!!!3!#!!!!!5F
+2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N"!*!,(!!!rrm!!!!%!"!!!3!&!!!
+"!!%"!!!"!*!+@"T`!J#3"!%!#!#3#[rr!*!%rrm!!3!"!!!!!3#3#`%!L3#3&5N
+!!!(e!*!&!3!"!&)#D`#3"43"TJ#3(9J9d!#3#9J9Q!#3G9J5a!#3"43!!!'Q!QX
+!!3!!!3#3"!%!!!%!N!aB1p!!N!9T*e),!*!1!3!)!*!(@"-S!!!I*!#3$2q3#!!
+S!!-"h3*p!!0%8d98!!!"e!!"rrm!!!!`!CJ!!J)!!!%"p!!S!&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FQPPFJ#31%983N`!!!"!4Nj863!!(5K$9946!!!G-%4698d!!"d
+i5%4153!!(@C69&P-!!!GF%983N`!!#RSrrlpr2[kqIM`mI,cp2AfpaM+!!!"!!!
+!!8J!!!")!!!!@J#3'3)+b,(+SFS-FfKPCA3ZBhGV,RBd0!)!!J"$9e063Np#6`%
+!rj!%!J"$9e063Np#6`%!rj!%!*!5cl&)Q`!!+M!!!!'L!*!A"365Xmkb!*!V!5!
+!"2rr!!!!4!!%!!*'6P40!!!!!JG$D'PMB@G[!*!I$P"PFQC[FQeK)&9cCA)!N!3
+Lcl(NU`!!!&JFI!2S!!(2XH5V3A9dD&4&@&3$kJ!d!*!($!Y$E'&bDA0AEh*VF`!
+!!3!!!!&)!!!!5!!!!&S!@"53!"E'!!!!(!"D!!*849K8!!!!'R"ZEh3!!!!Q8e4
+5)!!!!$)$k[rr!*!+rrm!!!!5!&J66,rdrrm!!!!i!&J8(&&1:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_5.0.cwk b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_5.0.cwk
new file mode 100644
index 0000000000..66afd8b103
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_5.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_6.0.cwk b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_6.0.cwk
new file mode 100644
index 0000000000..8c47d62b87
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_6.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB.cwk b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB.cwk
new file mode 100644
index 0000000000..3bcf74cbb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_2.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_2.0.hqx
new file mode 100644
index 0000000000..aff66204b5
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_2.0.hqx
@@ -0,0 +1,95 @@
+(This file must be converted with BinHex 4.0)
+:#@4KG'%ZBhGV-J"$9d4#3Np#6`#3""Ti!*!%H!8"!%J!3Np#6`!"!"e$i!#3"!-
+B!Q3!$`!5!"N!%J!2!")#r`*5!3!!!3#3%J%!!J)!!!!G3p!!N!F"!!%!!!")!!!
+!%!!!!!%!!!!"!"e$d!#3"!%"!!%!N!N1!"e$a!#3Ba8!!!`"!*!0(82-!`-!N!8
+9!!!-!3!!!!%#!J!!!3#3"3%!!!%!!3!Y!!!!a!!#rrm!!!"F!!!!!J!$!*"E"!#
+3AAJ!$`!!!%J!5!#3"!,`!N$rmIrZ!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!,3!!
+"!3!!C!!"!!!!!3!#!!!!!5F2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N"!"f
+'4!0@!!!!!3!-!*!+rrm!N!6rr`!"!!%!!!!"!*!&!3!-!!!!!3%K!!!'ZNKZr[`
+[2!!4!)Y1V3fU!!!#3!!!!SJ!N!8"!!%!8J*V,S&)EJ!!!DB0JNKZ!*!%r[a1V3U
++(V`!!!$Lr[`r2!!)6Ud!(8*B!*!*(8*3!*!)B!!!T%KZr[`r2!!)6Ud'bNSZr[a
+FMfF!!)i-,J!Ir[aM"Kem!"rqr%kY"NT#Td*R6Ud'#RVpfNB`"9b2Cb*V)&9!C`4
+U'Q!)!*!%5J"RCMmm!!*1ZJ#3"#!-9)pR9Lm-5'i!N!NG3542l`!+!!!!-J'Q!QX
+!!3!!!3#3"!%!!!%!N!3D!,"J*%kY!"e(`!#3"5K$kJJ(!*!%,c`I4NkY"N)q!3!
+)!*!%60m!(8*F!!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%!$!#3"`B
+!!!!'!*!&!3!!!!S!N!89!!%+!3#3"`S!N!8&!"e"h!!!!!9dD@eP!%46493!!!"
+8!!$rr`!!!#B!5!!"!!!!"`#3"hlEEArrrrprrrrr!"e#P!#3$3Zi!!!,Z!!!!3!
+"!*!&!4qN!*!-!5J!!!!f!!(rr`!!!#S!!!!#!*!4!3!"!*!'(k3!N!`"+!#3#!%
+2S%)VC3!!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_4.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_4.0.hqx
new file mode 100644
index 0000000000..b855dcb38f
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_4.0.hqx
@@ -0,0 +1,134 @@
+(This file must be converted with BinHex 4.0)
+:#@4KG'%ZBhGV0!"$9d4#3Np#6`%!!!!R%3!!!D,F(!3!R!"#6d*2!!%!@"A8!*!
+%!aJ#C!!2!")!'3!5!!m!%J,r!P)"!!!"!*!5!3!!!J!"!!!!@",S!*!("`!"!!!
+!!3!"!!!!5!!!!"!!!!!"!!!!!3"B%ZJ!N!3"!3!"!*!*$J"G!*"T&3!!$!%!N!p
+B%l`$!rrr!!!!"3!!!Im"!!%!!!)!!J#3#J%!!!%!!3!Y!*!%!3#3"&S!!!!S!*!
+&"J%!N!3"!!%!N"N1$9"PFQC[FQeK)&9cCA)!N!pi!!m!!!")!%J!N!3#m!*!rr(
+rlJ-*!P*M!J8S!r`"!!!!!@J"D!#3"!k`#d!!!3%!!'3!!3!!!!%!!J!!!!%R$`!
+"!*!1%!#3#4!!rlArTJmY#jS!#!%!N!dC!3#3#a`!!2rr!!!!"!!3!!%!"3!!!3!
+"!3!!!3#3#PMYi!0@!!!!!3!-!*!+rrm!N!6rr`!"!!%!!!!"!*!&!3!-!!!!!3%
+K!!!'ZNKZr[`[2!!4!)Y1V3fU!!!#3!!!!SJ!N!8"!!%!8J*V,S&)EJ!!!DB0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file mode 100644
index 0000000000..ff33586f3d
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/ClarisWorks_DB_5.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/JazzLotus.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/JazzLotus.hqx
new file mode 100644
index 0000000000..7c527f2c19
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/JazzLotus.hqx
@@ -0,0 +1,39 @@
+(This file must be converted with BinHex 4.0)
+:"A0SC@9d!%TA5e0+39TD!*!%"fd!!!&%EiF!!!!#!!X!%3!FBf9XE&3!N"!%!!!
+!"!!%!"%!((0NBR0NFf4LFf4LFf9QCJ#3"JF!!!!(!!3!%3!H5c&6!"3!!!S!0!!
+d!%8!43!(!!(rr`!"rrm!!!$j!"%!(NXb8`!!i`"Y!23!!!!5!!)!"`!#rrm!![r
+r!!!"!J!4!"j,-e-!N!i(rj!%!!,rr`#3"4%!(&056NF!%J!#&!!!#J!d!2`!"`!
+!rrm!!2rr!!!!%3!F58-a!!!!!4J!!!!5!!)8!!!*rj!%!!,rr`!!!"%!(%P$-J#
+3"")!!K3!!!S!0!!*rj!%!!,rr`!!!"%!(&456NF!"J!*!!!"#3!+!!!!#3!#rrm
+!![rr!!!!%3!F3NP1!)!"Irprr`!!!")!!J!)!!6rr`!%rrm!!!!4!"a@38`!!!)
+8!!!+!&`!9`"Y!!MrN!3!"2rr!!!!"J!'9N%!"J!5!"8"*[m!!3$rrh&3!!B!%J!
+'!")!"J!5!!!!#JJ!"`!!!"B*!*$j32rr!"B!#J%!N!B5!!B!!J!&rrm!%`!%!!,
+rr`!0!!KrJ!#3"3)!$3!)Ii!!!3!!!!-!%!!HIi!!!`#3$3`&!!%&!!)4"3!$%J-
+!$3!)Ii!!!!!"!!3!%!!LIi!!!3!"[rq!!*!)%!'rrlrr!!!"J!#rr`!!%J-!%!!
+RIi!!!`!"2rbCN!HD!"8&!!%&!!-6"3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!
+!N!JH"3!$2`8!!e-5"3!$8K)&!!0P%J8!!h%5"3!$CK)$!!d!#(q!!!!!%3!"!!d
+!#!+!!!%!%3!"!!d!#!q!!!)!%3!"!!d!#"+!!!-!%3!"!!d!##+!!!3!%3!"!!d
+!#$+!!!8!%3!"!!d!#%+!!!B!%3!"!!d!#(#!!!!!%J!"!!d!#(+!!!%!%J!"!!d
+!#(@!!!)!%J!"!!d!#(q#!!-!%J!"!!d!#(q%!!3!%J!"!!d!#2q!!!8!%J!"!!d
+!#(q!!!B!%J!"!!%!!$VQ!!!"!!!!!4)!!!!5!!!!-J%Z!!!!'!$,!&`!k`"m!!!
+"!!!"!!!"%J%!!)B",J!!"A0SC@9d!J!!!%TA5e0+39TD!*!+$RB!N!4+9dY65N&
+D@J#3'0YlTfX!!!FC!!!"4!##!5i!!!!B!&F!'3"h!$N!!!%!!!%!!!%5!3!!J`%
+Z!!!!'!"A!'B!G`#'!!!"!!!"!!!"%J%!!)3",J!!!"J!N3!C!,%!13!!!3!!!3!
+!!4)"!!#&!5i!!!!B!*%!CJ#a!)B!!!%!!!%!!!%5!3!!KJ%Z!!!!'!!H!!`!S!#
+J!*!&$Je+39TD)$!a,M!`-#`a!!!"!!!!!4)!!!!5!!!!-J!#&5!"HJ!!!"`!-J!
+!8e45)!!!!!S"!2rr!*!&!VMkV2!!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_2.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_2.0.hqx
new file mode 100644
index 0000000000..606719746a
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_2.0.hqx
@@ -0,0 +1,45 @@
+(This file must be converted with BinHex 4.0)
+:#R0SC@9d,RGVFc)!39G68e"656)"!!!!#Fm!N!3NZ3!!!!J!2J!%!FB#2J!!"@S
+!!`#3"`%!N!B)r`!'!!N!A@Ni!(i!N!FY!G3!N!8*!!!*!J#3"`-!N!FX!!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[-M!`0%!Y!!!!!4rm!*!%`%*Q%M!Z16rqjQD3"`!!J%*Rr`!
+!!"-4FfpYC5"QEh*YG@aK!!#!!Q2r!!!!LLF)!6%rri!!N!F@!!N"!!$r!!!!&$r
+rJ!#3#B##BcS)!6*!!)!!N!F'#!%c3!$!!*!("!S!#3!@!!N#!!N!N!3S2rkUN!H
+V!!#!JQ-P$!)3$J!*!!!*!4)@!*!%#3%!!!!m2rr99C!'9J!!J)*Mr`"`!')!N!X
+4!!!),!"G*jLP,Q-'!!!!$J"G*jMrJ%)Z!!!!%!!F*jJ!A@PJ!!!(r!!!!#S!A5H
+B!*!*1!#3$8B!N!e8!!-!"`!$!Q1!!*!%!3!#!!%!!J*cJ!#3"B!!!9!!!!!"!*!
+4#J!!!!%!!!!Q!!%!N"d8!!!!"!!+!!-!N!8"!*!%-m!!!$1F!!%A2!!!-M4!J'(
+)!(A6&N#!B+`!k!!!!2i!!!!'!'K!J0GB!!!!!J!!!!&!J,[X!(DDJJ!!K&S!!4k
+M!(DDL3#3#3%HR#!!3)"!J,[X!*!*!4kF!(DDJJ"fQJ!!!4kF3)$--N#!bR"!J!!
+!K&S!!!1NJ!!Z4!!!S!+!!#j%!),A,#!)3)!!N!3#!!!!!J!!!!(r!!!!r`!!!!G
+!J*9X3)#Ul!#3"KPB!'M3Y!!!#J#3"`Kr!!!!"!"Smc!!%fNS!!"'D!"Sd,5!BZ`
+J!(D)!!!%)!3!#M&-!!!#!!!!!Im!!!$r!!#m2`!!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_3.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_3.0.hqx
new file mode 100644
index 0000000000..0410df8b1c
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_3.0.hqx
@@ -0,0 +1,54 @@
+(This file must be converted with BinHex 4.0)
+:#R0SC@9d,RGVFc-!39G68de69dX"!!!!#UX!!!&''FJ!!!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1kX!!#%@J"SULB!2AGr!!!!!3#3"@MVRL!
+!!'B!CZ%-!!!!r`!!!2m!!!!(!!"%Q`!!!3!!!!%8!!!!&!!!!$)!N!8H!$F!*`#
+1!AJ!!3%!N!L1#80XEh0P#R0SC@9d,RGVFc-!!J#30Fqb-`8!N!B"4T3"9!(S!!8
+!N!JE@K9"E'`J9fpbDh-J8(*PCQ9bC@jMCA-!!!![!#d!+!&!!A`!"3#3#"YE'PG
+[FQ3J8(*[Bf9cFfpb)&"bC@CPFQ9ZBf9c!!!!*3!Y!(B"3!(+!!8!N!JEA""%FQ&
+h)&"bC@CPFQ9ZBf8!!!!3$deTBh*[FfpQG#"AEh*VF`!!!3!!!!%8!!!!&!!!!$)
+!8mG3'9J!!!!F!$)!!&088L!!!!!+[r6rr`#3"91p%)L6:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_4.0.wk4 b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_4.0.wk4
new file mode 100644
index 0000000000..5adbc7b7d6
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_4.0.wk4
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_2.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_2.0.hqx
new file mode 100644
index 0000000000..d912b1f3cb
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_2.0.hqx
@@ -0,0 +1,20 @@
+(This file must be converted with BinHex 4.0)
+:#@4KG'%ZGf4L-J""9d4#8&0*-J#3"!Dc!*!%4H!!!!!)!$d!&!(6!Ni!!!@-!!)
+!N!F"!*!(!`!(!!!!!J$)!*!&#!!"!'J!!J$-!!-"-!!#!-J!!`(S!!B#5!!(!UJ
+!#!-)!!N$D!!+!mJ!#`3S!!`%L!!0"1J!$J9)!!m&U!!3"JJ!%3CS!")'b!!6"bJ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%[-5m`0#`J-5mc-5m`0#`J-6)[-5mi15RrYQF!!!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_3.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_3.0.hqx
new file mode 100644
index 0000000000..8f77386588
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_3.0.hqx
@@ -0,0 +1,266 @@
+(This file must be converted with BinHex 4.0)
+:#Q4KG'&1,RGNBM-!39G%3Ne69dX!N!3dr!!!!8CK@`!!!!N!23!%!GF#2J!!!&!
+!!J#3$`-!"`!"!*!&"J!"!!%!N%-6"'jKE@8'ER9YBQ9b"'4KG'Ar!*!%(34dEh4
+[#N!!`!#3"`S!N!Vr!*!%(34dGA4e#N!"J!#3"`T!,3!!!!%GPJ!!r`#3""d%G'P
+dD3T!!D!!N!F+3#d!N!6e+J!!r`#3"#JP+#"MEfjdB@PZFb!c)'CTC@aNFb"ZB@e
+P,fjeE@*PFLpNBA4P+Im!N!3p1LJJD@iJCQPPE'3J-6SJG'pdEbadGA4e,(4TG'N
+J+b"dD'9cC5"QEh9b)'0[E@ePER3RFb"XD@jPFbRr!*!%*#%SD@iJCQPPE'3J-MS
+J-b`d,$8JGfPdD#!b)'4TCfPdFbRr!*!%+5BSD@iJCQPPE'3J-cSJ-5ma,c!d,#!
+a,c-a,c!d,#!a-Lma,cJj+Im!!!!0mJ!)!!-!#3)!!2m!%J!!!!J!!`!*!P-!r`!
+54!!M#3!$!!N#8`$r!"*%!%!*!!-!#3*6!2m!%N3!!!J!!`!*!P-!r`!54!!!#!!
+$!!N#!!$r!")!!!!)!!-!#3)!!2m!%J!!!!J!!`!*!J!!r`!5!!!!#!!$!!N#!!$
+r!")!!!!)!!-!#3)!!2m!%J!!!!J!!`!*!J!!r`!5!!!!#!!$!!N#!!$r!")!!!!
+)!!-!#3)!!2m!%J!!!!J!!`!*!J!!r`!5!!!!#!!$!!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!CJ"Qi3`!!$6m!!!'QIrrrrX!N!9Skji!8mr-!'MVRJ"AMr3!D+9
+m!&H3!,i!!!DCrrrrq`!!!!%!8m(3!!$N%!!!!3!!!!%8!!!!&!!!!$*"3e4"39"
+36!%!N"F+C'&dB8iZGf4L-`!#!*!ecl+9bJ#3"J&'!*!02#8"3PGVFd*AC')$!*!
+H-58"4PG59%CA,P8"!*!H'#8"6&G848e"3e)'!*!B%!p0D@0bEh0[CR3J9fpbDh-
+!!!%!!!!"&!!!!"3!!!!b!&2(8"Qf!!!!(!!b!!"69&)J!!!!#Vrdrrm!N!96[@c
+JrJ:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_4.0.wdb b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_4.0.wdb
new file mode 100644
index 0000000000..8b9a6d2ecc
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/MicrosoftWorks_DB_4.0.wdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/Multiplan_1.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/Multiplan_1.hqx
new file mode 100644
index 0000000000..48d0fe228d
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/Multiplan_1.hqx
@@ -0,0 +1,46 @@
+(This file must be converted with BinHex 4.0)
+:"f9YF(4j69!!69"#6P"-38i"!!!!"j`!!!&e@fm4U`!!%qJ!N!F#!N`!'!!1!Q3
+$FJ!1h03!!`!1!*3"TM-0!!J9AKR4!eiCh@&JB&i@N!!!Cf"JB(q2A`2SHM"KB'!
+6Iem$k(Z3!!"q')m@KAiGMaD'IKGH%(Z3!!"q+Bm6HM%8DYF@IiF8Gf!@Ifq&IMb
+3!!"q3*!!!(j%MhiGF)9q'('&INq3!!"q8ipq,(+&ILGcKAjHMc&qBSm8HaCX&)8
+8IN*dKAipE"+&B0d!$K&X*LS5`@!4E#+&X,9R%@`JV(UYIa&9%40rd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ErN!3!N!X#!!%!!!!
+m!$`!2J!q!$i!!J"!!%!!3J#3"IX"f!!-!"N!q`(B!*!&&!!(rqIrp-!!N!C9!&8
+!$!!C!&8!93#3"3F!!IrRrr6!!!!!)!'Q+N'8!!!"!!!!!5m!!!![!!!!4J!#TDJ
+!!J!#TDS!!U@d!!+PXJ!!!!+)h!!1!!+)i!!!"f9YF(4j69!#!!!!69"#6P"-38i
+!N!S0*!!!69"#6P"-38i!N"M@DUXH!!!(R!!!!A8LbJ!#Di!""2rr"!!M%J!#Dh`
+""Irr"!!M@J!#DhJ""[rr"!!MSJ!#Dh3""rrr)!')qJ#3"!%!rrmJ!BP#!*!%!3(
+rrb!"LKJ!!!!-!"J!@3!-!"N!!U9Z!!+PC!!(!!B!$!!B!GN!$!'C!!)!!!!'!!U
+!"J!!!!1-T[rdrqF!!J!!!!F'4'pXE'&b!!!!)#iX,#3!!0!!!#rrB#""63!J8%d
+!1J#3#J%!!!%!!!!",`!!!#m!!!"'!!*VQ!03!!!!(!"'!!&69&)J!!!!%NP19%`
+!!!!H!9lrr`#3#[rr)!!!#`!#L23p+3:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/Wingz_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/Wingz_1.0.hqx
new file mode 100644
index 0000000000..7fcbae307e
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/Wingz_1.0.hqx
@@ -0,0 +1,28 @@
+(This file must be converted with BinHex 4.0)
+:#90SC@9d,RGRHJ"A@P069dj(@J%!!!!&f!#3"(JV9dj(@PGD8e-`-6%`!!#!FJ%
+!N!SFah%Fah&X2`!!!"6rrrm%!!!!!Iq3"!!!!!(rrrm""3!8!"3!!!$qr`#3"J)
+%!!!!&2rrr`3!!!!"rj!%!!!!!Irrr`%&!"3!&!!!!2lr!*!'!J3!!!!8rrrr"!!
+!!!(rN!3!!!!"rrrr!38!&!!8!*!%&2rrr`%!!!!"rrrr!38!N!3"rrrr!38!N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`9bD@GSG!a!+!!%!*!&!`!5!!!!rrm
+IG'9cG#"[CL"ND@CQCA*PER3JER9YBQ9b)'C[FQeKG!a!8!!&!!!!"!!&!")!!!$
+rr`#3"d!&!#)!!!$rr`#3"d!&!$)!!!$rr`#3"d!&!%)!!!$rr`#3"d!&!!)!!!$
+rr`#3"d!-3"X!"`#3"3-!%J!!!2rr%R0[E@8JC'&dC5"KEQ3JG'PYC3a!8!!)!!!
+!"!!&!&)!!!$rr`#3"D#E3!8!BJ!!!2rr!*!&'*a!"3#5!!!!rrm!N!6!#H"!"3#
+L!!!!rrmTA)r#p5M-2`8!dJ!!!2rrQTQ3"HNr$%!9!!S!N!8$!")!!!$rr`acEfe
+P)'C[FQeeE'%-3$m!#`!!!!-!*3!5!*!,m$mL!")!!!!"!!CK)(4PH(3P!")!!!!
+#!&@3"Y8r*3!5!!!!!`#3"a"!%S!!N!36J!#3"2m2!!!"-!!!:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_1.0.hqx
new file mode 100644
index 0000000000..5fae0005fc
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_1.0.hqx
@@ -0,0 +1,45 @@
+(This file must be converted with BinHex 4.0)
+:#A0SC@9d,RG`G`"#9h0c3PGVF`%!!!!(J!!!!@,GiN*ADh0#9h0c3PGcF`#3"3%
+!N!F"!*!'!3F!N!3&M!!*!!!!#3#3$!%!N!3(!!%!$`!!!%J!5!#3"!,`!N$rmIr
+Z!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!,3!!"!3!!C!!"!!!!!3!#!!!!!5F2!!%
+!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N"!!!""`#3#!%(!*!i"NGPEQ9fB3!Z!!T
+`FQ9Q!*!(A4fF!&dIR!!!!33$!J)"!3%!!3!+!!!!)3!$!!F!$3!$!*J#*J!"C'p
+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rq!!&N"!rp
+!!%!!!3%!!3%!N!N*!!-!#J!%!!N!!f)F!!!"!!!!!4`!!!!F!!!!4J!Y32qS28E
+rV%(Zria`"k*J2J!JEJ!-)+lr[$!(61i3#bTcD'9PG#jhF(F`!J!!!%*AFh0#9fY
+c!*!+3PGcFd*ADh-!N"M2XLAS!*!'!@)&,J"5Kf!F)!B#J!!!!!p)J"Qc!!"i!#!
+'FK"1V32b,!"6Kh!"X)GYhNcZ'1MreNjH6R8`-6)c0$8f0cJj38*$4%9'!!"19[r
+m51F$'#CZ!!`m,J!5)'i!#%)3+&086(i"B!a`!"!88N$B`#!(8SG)aVb(EZjCMbm
+-6Ud$HR!!%"63!!!!$!Y#C@&RE'9AEh*VF`!!!!J!6J!#!G`#GJ!!!3!!!!%F!!!
+!(!!!!%B!A5"d'R)!!!!F!%B!!9088L!!!!!5Ge"[F`!!!"krp2rr!*!&A4UF!qR
+rr`!!!"!!N!6Y6J:
diff --git a/writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_DB_1.0.hqx b/writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_DB_1.0.hqx
new file mode 100644
index 0000000000..f9790361d5
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libmwaw/pass/WordPerfectWorks_DB_1.0.hqx
@@ -0,0 +1,176 @@
+(This file must be converted with BinHex 4.0)
+:#@4KG'%ZGh"h-3"#9f4L3PGVF`#3"#3M!!!"BX#C3PGVFd*AC'*#9f4L!*!&!3#
+3"`%!N!B""`#3"!@-!!N!!!!*!*!-!3#3"!F!!3!2!!!!5!")!*!%![!#32rarqi
+$#3*5B`)&+!2m!3!!!!&S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!"*`m!!3#
+3$K!!N!N3!2qerkB2,3ZD!!J"!*!0'3%!!!%(!*!)!3F!N$J'4f9ZCACK!LJ!!@4
+[Fh8)03#3"9dGC!"G)$3!!!")!!!!5!!!!%J!!!")!*!&!3)QCMi!N!3$F!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data/calc/libstaroffice/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libstaroffice/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libstaroffice/indeterminate/.gitignore b/writerperfect/qa/unit/data/calc/libstaroffice/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libstaroffice/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libstaroffice/pass/Calc_3.1.sdc b/writerperfect/qa/unit/data/calc/libstaroffice/pass/Calc_3.1.sdc
new file mode 100644
index 0000000000..683d1a85cc
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libstaroffice/pass/Calc_3.1.sdc
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/fail/.gitignore b/writerperfect/qa/unit/data/calc/libwps/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libwps/indeterminate/.gitignore b/writerperfect/qa/unit/data/calc/libwps/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Lotus.wk1 b/writerperfect/qa/unit/data/calc/libwps/pass/Lotus.wk1
new file mode 100644
index 0000000000..288d914c5e
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Lotus.wk1
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_3.123 b/writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_3.123
new file mode 100644
index 0000000000..fa2154967a
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_3.123
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_98.123 b/writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_98.123
new file mode 100644
index 0000000000..1d3a7e752c
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Lotus123_98.123
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Multiplan_3 b/writerperfect/qa/unit/data/calc/libwps/pass/Multiplan_3
new file mode 100644
index 0000000000..7639d78fbb
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Multiplan_3
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wb1 b/writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wb1
new file mode 100644
index 0000000000..95a6331c9c
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wb1
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wq1 b/writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wq1
new file mode 100644
index 0000000000..fc1aae9450
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/QuattroPro.wq1
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wdb b/writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wdb
new file mode 100644
index 0000000000..d9a6a56bac
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wks b/writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wks
new file mode 100644
index 0000000000..b0c28eaa4c
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Works_2.0.wks
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wdb b/writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wdb
new file mode 100644
index 0000000000..6fd3786446
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wks b/writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wks
new file mode 100644
index 0000000000..a9b3d0277e
--- /dev/null
+++ b/writerperfect/qa/unit/data/calc/libwps/pass/Works_Windows.wks
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libcdr-cmx/fail/.gitignore b/writerperfect/qa/unit/data/draw/libcdr-cmx/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr-cmx/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libcdr-cmx/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libcdr-cmx/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr-cmx/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libcdr-cmx/pass/fdo63782-1.cmx b/writerperfect/qa/unit/data/draw/libcdr-cmx/pass/fdo63782-1.cmx
new file mode 100644
index 0000000000..013448f38a
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr-cmx/pass/fdo63782-1.cmx
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libcdr/fail/.gitignore b/writerperfect/qa/unit/data/draw/libcdr/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libcdr/fail/EDB-35217-1.cdr b/writerperfect/qa/unit/data/draw/libcdr/fail/EDB-35217-1.cdr
new file mode 100644
index 0000000000..3745033678
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr/fail/EDB-35217-1.cdr
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libcdr/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libcdr/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libcdr/pass/EDB-35217-2.cdr b/writerperfect/qa/unit/data/draw/libcdr/pass/EDB-35217-2.cdr
new file mode 100644
index 0000000000..7a15b4b016
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr/pass/EDB-35217-2.cdr
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libcdr/pass/fdo65220-2.cdr b/writerperfect/qa/unit/data/draw/libcdr/pass/fdo65220-2.cdr
new file mode 100644
index 0000000000..aff705ffa5
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libcdr/pass/fdo65220-2.cdr
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libfreehand/fail/.gitignore b/writerperfect/qa/unit/data/draw/libfreehand/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libfreehand/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libfreehand/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libfreehand/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libfreehand/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libfreehand/pass/.gitignore b/writerperfect/qa/unit/data/draw/libfreehand/pass/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libfreehand/pass/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libmspub/fail/.gitignore b/writerperfect/qa/unit/data/draw/libmspub/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmspub/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libmspub/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libmspub/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmspub/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22310-1.pub b/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22310-1.pub
new file mode 100644
index 0000000000..741676f3f4
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22310-1.pub
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22655-1.pub b/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22655-1.pub
new file mode 100644
index 0000000000..e3654a13ae
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-22655-1.pub
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-29664-1.pub b/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-29664-1.pub
new file mode 100644
index 0000000000..18287fc152
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmspub/pass/EDB-29664-1.pub
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmspub/pass/fdo59355-1.pub b/writerperfect/qa/unit/data/draw/libmspub/pass/fdo59355-1.pub
new file mode 100644
index 0000000000..607a07ae2d
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmspub/pass/fdo59355-1.pub
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/fail/.gitignore b/writerperfect/qa/unit/data/draw/libmwaw/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_1.0.hqx
new file mode 100644
index 0000000000..7ff1bd9109
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_1.0.hqx
@@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'BcGl[GlRH
+lhHlZhEYhlYflGhqrhqrhqrhqr[hlpqrI[hmIMmIMmIKm2[MaimH2(cjmGl[GrhH
+lhIrZhE[rlYflrhfleqrAZhhq-fE-Q60Qc*QUN!M-N!L)N!Mr!!!!r`!!!)#3#2m
+!N!F)J)!)#)#!#'B!!!#C!!!!riL)L2q)L)MrJ*!(r`$r!2m!r`$rr`!!rrm!!(H
+3#!$rrrm!rrrrIj!)!2q3"rGrIrIhIhrhQIrrrfErrrm!GhGh!(GhG`"rN!I`N!3
+2N!5CCQDCQ@CQQ3!)($jr2K`)!!J8+P8U&!La-!-Ef-!-MB!3!L!"#%!%#"3L3B!
+"!J5!`#%5$!3#!Iq!J)$r#!J)!(prI`$hprH!3#!!!J3)!)*%185#!3%"q(3L4im
+A)R'rS,qp[Id&r9@J3%"9#J3%L%3L%4%L4)L"3L3BJ8)N'+S!J!#)!)!!!i4)-!`
+#!3'!J%%q#!J8i`#3#bJ"!B!!!!!'GM%Z-#ia'P0jE@&ZG'9M)%GbC@&d9fpbDh-
+JGM%Z-#ia!!!!&446H@eKER4PBb"(FQ9KG&G[FQYcUJ!!!3!!!!6P!!!$j3!!!))
+!3l()'K3!!!!F!))!"&G38di!!!!U8&*19!!!!$C3393M!!!!3RCPFR-!!!"18e4
+5)!!!!&S!!Irr!*!&3l!S!!(rr`!!!"i!3kr8!!(rr`!!!*S!3l!i!!,rr`!!!k!
+!3l$d[r6rr`!!!m`!3krNa8-!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_2.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_2.0.hqx
new file mode 100644
index 0000000000..c17e8ed950
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_2.0.hqx
@@ -0,0 +1,104 @@
+(This file must be converted with BinHex 4.0)
+:#'4bBAFb,QGh!&T23NTD48*5!*!%"JN!!"#l2BS#!&T23NS!N!X"!!J!#3!!!!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!Z!!8
+!!!!,!!8!$MrpVk$9Hl3ei8G!!ZhEDZFG)A@k!2)!"!!!!!X!"3!12rf[S09lY$A
+K4d!#lGYUjadKGES!9J!$!!!!#`!&!!irrDqJeAZd0H&(3!,YffVR(5&eZJ!)!!-
+!!!!,!!3!%6rml+-)+"'F@54!!iZfb%KMc82P!&B!!!!S!J#!!!!$"RBb,M!Z-4T
+6H@eKER4PBb"(FQ9KG&G[FQYc)(Bb,M!Z-3!!!"888hPYB@jdC@-J4h*PBA4AEh*
+VFkS!!!%!!!!2e3!!$Y8!!!$Q!%CLD"S8!!!!(!$Q!!PA8&01!!!!8P"56P3!!!"
+H8%&8)`!!!'T3E&48!!!!GNji4@3!!!##4h*%8`!!!)j%B8K6!!!!QN&58R-!!!#
+QGQ9bF`!!!,*69&)J!!!![J!"rrm!N!9'ApJ!!Irr!!!!(J"'Aq`!!Irr!!!!QJ"
+'AhJ!!Irr!!!$S!"'Ah3!!Irr!!!+#!"'B#3!!Irr!!!+%!"'ArJ!!Irr!!!,&!"
+'Ap3!!Irr!!!0$!"'Am!!![rr!!!1N!!!4PrN[r6rr`!!$V`!4Pr3BkB!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_P_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_P_1.0.hqx
new file mode 100644
index 0000000000..1eaa55c6ca
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/indeterminate/GreatWorks_P_1.0.hqx
@@ -0,0 +1,98 @@
+(This file must be converted with BinHex 4.0)
+:#A"KD@jd-5jRG`"36P4(@N9#8J#3"!pJ!!!&Cbd)!*$r!*$r!!#j!,N!Z3#j!,N
+!Z3#j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N
+!Z3#j!,N!Z3#j!2%!"a!(J!!#3K!"rJ!$"!)!32d!!!(G!2%!"a!)3!!#3K!"r3!
+#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K3!!!!F!))!"&G38di!!!!U8&*19!!!!$C3393M!!!!3RCPFR-!!!"18e45)!!
+!!&S!!Irr!*!&3l$i!!(rr`!!!"i!3l"3!!(rr`!!!*S!3kr%!!,rr`!!!k!!3kr
+d[r6rr`!!!m`!3l"i!,-!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_1.0.hqx
new file mode 100644
index 0000000000..c1942aed5f
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_1.0.hqx
@@ -0,0 +1,104 @@
+(This file must be converted with BinHex 4.0)
+:#'4bBAFa,Q*h!%*AC(*#9fYc!*!%&$J!!!&L)1*#9fYc3PGNFN*AC()!N!8"!*!
+(!3#3"J%(!*!%")m!#3!!!!N!N!`"!*!%"`!"!!m!!!")!%J!N!3#m!*!rr(rlJ-
+*!P*M!J8S!r`"!!!!!@J"D!#3"!k`#d!!!3%!!'3!!3!!!!%!!J!!!!%R$`!"!*!
+1%!#3#4!!rlArTJmY#jS!#!%!N!dC!3!!!3F!N!J""`#31!C(C@jPGQ%!!!!%!!B
+!!"&%!!!!F!!!"DJ!!!r-!!B!!"'m!!!6$!!!!!)!N!3#fJ)SJ!%!!3!*!!!!#3!
+!!!%!N!8)!!%!!!!"!!!!!J!"!%N!!!!N!*!&'3!C!!!!$!#3"5%!!2rr!*!*J!#
+!!)3!"J#!!!S!!!8S!*!@rj!)!!!J8)L3"!8#!*!%(#)L)K`!!!"9S%"!93S%"!!
+!ULVU#[S#rJ!!!,m![lq`N!3!!+pIVem0#`d,!!"hLBq2GjMiq!!!`fBmCX0Q2'B
+!!!JU&'-8+JL!!!!!3&aFA%"q!!!!#"`qIrIM`B!!!!!3%2jm1'a%!!!!($jrIhm
+q(!!!J%!J!!)%#!!!!!%"%"!"!4!3!!!4)N3!%5*%!!!!99@UUP99UUS!!,%`!a[
+B`!b0!!#)4#)4%5*%L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/BeagleWorks_P_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_P_1.0.hqx
new file mode 100644
index 0000000000..6d640c8a5d
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/BeagleWorks_P_1.0.hqx
@@ -0,0 +1,427 @@
+(This file must be converted with BinHex 4.0)
+:#A"KD@jd-5jLG`"#9h"d3PGVF`#3"%pE!!!"BN'h3PGVFd*AF(4#9h"d!*!&!3#
+3"`%!N!B""`#3"!3-!!N!!!!*!*!-!3#3"!F!!3!2!!!!5!")!*!%![!#32rarqi
+$#3*5B`)&+!2m!3!!!!&S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!"*`m!!3#
+3$K!!N!N3!2qerkB2,3ZD!!J"!*!0'3%!!!%(!*!)!3F!N$J'4f9ZCACK!!"',J!
+!#!J"D!*!!!J!N"Ir!!$rN!B!!Icmmr-&"3!#m[))#)5%!!2Gh3J)"JB!"!)#Uk[
+UkJ!&!!#!J"%4!!B!N!68e!!(hC!'!!M-N!B!#EZ3"J!+UT!'!!Z)N!B!$'D3"J!
+04*!'!!iLN!B!$`#3"a"-c!i6!!!!%8c-(#F!!!!56-`U2!!!!"0-c$K3!!!!&%c
+-4Q8!!!!945"-c!!!!"Bh#dc-!!!!&bMi6-`!!!!B'Z*-c!!!!"N-cdc-!!!!'J!
+!6-`"5!!E!!"-c!pE!"`!!%c-(A!!(3!!6-`VK!!H!!"-c$QC!"q&(L0p!!!!))8
+H''B!!!!KK4i`c!!!!#+&(NNe!!!!)i8HBC`!!!!NK4jk"3!!!#9hdS8H!!!!*Pp
+TK4i!!!!R4`1&(J!!!#JZQS8H!!!!+4BcK4i!!!!U!!#&(J)i!#X!!)8H'Ti!,!!
+!K4ic"`!Y!!#&(NYY!#i!!)8HBpF!,le`-S%!!!!`[A!LZ3!!!$'pF%9b!!!!-Ve
+`D#m!!!!c[A#+j`!!!$5pF+fP!!!!0DU%[A!!!!!fKmHpF!!!!$G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!2rb03$rp$8!rq8e!2rf03$rpc8"rrrq03$rrM8"rrq"0B%!c`!!0,%
+!fc8!rrJe!2rp03$rk68!rrFe!2rk03$rmM8!rr3e!2rC03$rq$8!rrFe!2q"0B%
+!c`!!HE%!h$8#rcArq68!rrde!2rq0Ilrr6AqrrderIrq03$rr6Aqrrie!2rq03$
+rrM8!rrier[rq03(r0Ilr!6ArrM8!rrier[rk0IlrqMAprrder[rq03(rrrie!rm
+errrq0IlrqMAqrrie!Irrr68!rrder[q)0B%!c`!!P,%!h$8#rcArq6Amrrie!2r
+q032r06ArrM8$rc8errie!2rq03$rrM8!rrie!2rq03Er06Ar06ArrM8!rrie"2m
+e0Irrr68$rc8errie!2rq03$rr$8!rrie!2rl03$rrM8$rc8errie!2rq03$rrM8
+%rrme0Irq03$rq$8!rr`e!2rp03$rrM8!rrie!2q*0B%!c`!!LV%!h68!rrie!2r
+k03$rr68$rc8errie!2rq0Ihr!M8errie!2rq03$rrM8!rrie!2rq03Er0ImercA
+rrM8!rrie!rme0Irm03,r0Irp03$rq$8!rrFe!2rq03$rrMAprrie!2rq03$rrM8
+!rrie!2ri03$rr$8!rrde!2rq03$rrM8!riNeJ3$2!!#%X3$G03$rrM8!rrSe!2r
+p03,r06Amr`)e0Irq032r06ArrM8!rrie!2rq0IcrrM8'rcAr0Imerrie!2rq032
+r06Arr$8"rrrl0IlrqMAqrrSe!2rq032r06ArrM8!rrie!2rq03$rrM8!rrie!2r
+i03$rr$8!rrde!2rq0IcrL6@"!-m!!(ka!0ieq[rl03$rr68$rc8errXe!2rq032
+r06ArrM8!rrie!2rq03$rq68!rrie!2rp03$rrM8$rc8err`e![merrNe!2ri03$
+rqc8!rrie!rme0Irq03$rrM8!rrie!2rq03$rrM8!rrJe!2rm03$rr68!rrie!2q
+&0B%!c`!!PV%!hM8!rr`e!2rl03$rr68$rc8errie!rme0Irq032r06ArrM8!rri
+e!2rq03$rrM8!rrde!2rq03$rr68!rrie!rme0Irm032r06ArrM8!rrie!2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J3#"!)%
+!`3!!#S%!J3#"!)%!`3!!#S%!J3#"!)%!`3!!#S%!J3#"!)%!`3!!#S%!J3#"!)%
+!`3!!!+!!J`$rij%!!!%!!!!"(!!!!"`!!!"'!3!+@BqU!bPI!!C)H!-",b`!"Nk
+Y!F)[,!!'F!-[!#!,+R"KD@jd-5jLGc!#!!!!3PG`G%*ADh-!N!T#9h"d3PGVF`#
+3'-qde8)!N!B"BPm!&PQ2-#i!%NM!,`#S2b"X!!BJ8#&I!"SSE[rm6Pj1G8j@!!!
+[$#KZ!!JJE!!')&!aE!!@!#"`%,"X!"CZ$L"X!!BJ8$&m!"!!(Q!+)'`!"L"33QJ
+!(M!X!"C63'FB8d"R&&9!Ca"C3'F-88"R)J4!!""R0Q"-)'`!"L"3-A`!!3#3"!J
+!6J!#!G`#GJ!!!!`,3Q9KCfaP9fpbDh-!!!%!!!!"(!!!!"`!!!"'!$Zja"XZ!!!
+!(!"'!!&h8'pc!!!!%P088L!!!!!H!qRrr`#3#,rdrrm!!!!-!*!%-U%!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/Canvas_2.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/Canvas_2.hqx
new file mode 100644
index 0000000000..9a534cd21c
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/Canvas_2.hqx
@@ -0,0 +1,407 @@
+(This file must be converted with BinHex 4.0)
+:"@CTE'8a!'4bGc*%383b!3!!!%p"!!!"VKBU!!!ChJ!!4E`!!!'N!!!!#J!!!()
+!!!!k!!!!-J!!!#)!!!!@!!!!3J!!!"S!!!##!!!!2!"N!!%!!%@m!%X!!%!#PJ#
+3$J%"!!%!N!3J!%!!B!#!!-!"3!'!!F!#3!+!!*!62J!!!!%!!3!3!!!!!3!$2rb
+!!*!)"`!$!!F!#`!1!!$rq!!!!(J!N!i@&3#3"Xc-rj!%!!!!![rr!%N!!2rr!!!
+!&!!%!!3!6!"-!!%!#!"+!%S!)J!#!!%!(3!#r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3!#!!!!!5F2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!*!1'3%!!!%!!!!"I!!
+!!(`!!!!b!&SCi#"5!!!!(!!b!!"+D@jQ!!!!#LP)rrm!N!KP33:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisDraw.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisDraw.hqx
new file mode 100644
index 0000000000..dfdaa69a55
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisDraw.hqx
@@ -0,0 +1,160 @@
+(This file must be converted with BinHex 4.0)
+:#R0TEA"XC5jME'3!C%4bGd0%FRF!N!3e@3!!!D([eJ%!X3"&@&"A!!%!3NZ%!*!
+%![!#3!#3$!,`!N!"!!!"!*!5!3!!!J!#!*!(3NMB!!%!N!Vrr`#3"3%!!3!!!%J
+!!!!)!!!!!3!!!!%!3NMB!*!%!3-!!3#3#3i!3NZ!!*"R&3!"!")!!3#3$8*,L!#
+3#48!!!!-!!%!!"%"!!)!!J!!!3#3"!%"!!!"!!%!,3!!!3!!!C!*!*!N!3!!"J!
+&"!!"!*!%3!!"!!N!#3!)!"8!%!!3!3#3"&S!!!!*!*!("J%!N!3"!N!!N#0#5e`
+!3NY3!%*,9!!"!*!(3NYm!*!&!3"#5hJ!N!F"!!)!!`!%!!8!!!"#5C3!N!8"!!!
+!!3!!B3#3$!J!!!!"!!!!!3!!B!!$!*!+#J!"!!"!!!!"!!"K!J%!N!S-!!)!!3!
+!!$)!!'!!!`#3#J%!!`!#!!!!!3!!B3#3$"3!"!!"!!!!!3!!B3#3#`%X!!8!3NA
+m!!!!%!!#!*$r!!"#5f3!N!3"!*!13NNm!%**5!#3"!%!N!4#563!N(9#56!!N2m
+!N2m!N)%%!!)!N!8*!*!M"`!#rrm!N!6rN!i!N"i5!!!!!3!"!3!!!!%&"I`!!!%
+!!3!#!*!,!3!#!3!!m!%!N!a)!!i*!!!$!3%"!!!"!!%"!3!1!!!"!%!#J!#3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3Nb!#8KPE(CPG'PMBH0k!!#%@J"#6)!
+!!&pXCAKd!*!&)%),+L!)3)!!4Lh'!*!%CAKd!*!&3)$69J!!Af`!N!3Z1!!!!3!
+!!!&2!!!!6`!!!&)!!!"X!!!'cJ!!!%i!!!!"!J!!*3!!!)!!!!!&!*!%#R0TEA"
+XC5jME'3!!J!!!'4%FRG$4(*h!*!+C%4bGd0%FRF!N"M4CljZ!*!'!D%!N(VrN!J
+!!!!V!31!X3!!"6%Z-(Bc(N0XBA*TFd4bBAFJ-5i`GM-0CQpb)%eKBfPZG'pcD!!
+!!!d"!i#a!!!&-5i`GM-!N!3,#N0XBA*TFd4bBAF!!!%!!!!"6`!!!%m!!!"5!%*
++2"Tb!!!!(!"5!!&fCA*c!!%!%P088L!!!!!U!!(rr`#3#3,rr`!!!#m!N!5rp2r
+r!!!!3!#3""G5:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_2.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_2.0.hqx
new file mode 100644
index 0000000000..ec786ea6b8
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_2.0.hqx
@@ -0,0 +1,161 @@
+(This file must be converted with BinHex 4.0)
+:#R"KD@jd-LjMGfX!3eG39%*23Nm"!!!#mb`!!!'L!53#!$`$3Np#6`!"!%m)E!#
+3"!-B!Q3!13!j!$N!13!j!$N#h`)V!3!!!3#3%J%!!!)!!J!!!%m*U!!"!*!&!3!
+"!!)!(&La!!N!!!!"!!!!!3"2#DJ!N!3'%`#3#`i!6`QB!*"R&3!!$!%!N!e2#!!
+%"!#3"48!!!`"!!"BJ3),!!!"!*!&!3!!!3!"!#d!!3%!!3#3"&S!!!!5!*!&"J%
+!N!3"!'3!N#8-!!$rr`!!!'!!!!!#!!!!H!!2!!!!5!")!*!%![!#32rarqi$#3*
+5B`)&+!2m!3!!!!&S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!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!!N!!3!#!!)!"!!
+#6%Y98!!!!!-!!Irr!!)!!`!%!!8!"J!!!-3!"Irr!!!!*!!%!!*138e&!!!%b,(
++S3#3(J)+b,(+SFV8bq1al3#3'!3%dV2$[!#3(J8%eIh1a!#3(JB%dV21XJ#3,0`
+!!rrr!!!!4!!%!!*'6P40!!!!!JG$D'PMB@G[!*!j!`!#"NGPEQ9fB3#31K8!!JP
+)C@afCA4TBf%!N$C&9%*-!!!!3%C19%d!![*X3e988`!#mR4%8e90!!,bI%K%6NN
+!![+U8e4C6!!#mV4&9%*-!!,j62rqrIclq[Rim2(bmr6ep[H3!1m!!!%!!!!"5!!
+!!%J!!!"D3Np#6d0A6&!$!*!A#R"KD@jd0#jMGfX!!J!!!%0A8&4#6d*2!*!+3eG
+39%*23Nm!N"M2Xq2!!*!'!D)!N!d[*3&#6d*25(P`D!)!N"ih*3&#6d*28&*&4J-
+!N"if*3&#6d*2C%0[E!%!N"J18'9bCQpbE@%J9A0PFJ#3"#,2Xq2!!!"35808!qJ
+!!Fqcim""GA4S9%9B9!2U!$3!N!F-#d0XBA*TFeG[FQYc!!!"!!!!!8J!!!")!!!
+!@J"B&*3Ai!!!!"`!@J!#9%9B9!!!!"T`EQpd!!!!*P088L!!!!!b!qVrr`#3#[r
+r!!!!%J"B%Ebrp2rr!!!!1!"B%H3S2J:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_5.0.cwk b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_5.0.cwk
new file mode 100644
index 0000000000..84dae04712
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_5.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_6.0.cwk b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_6.0.cwk
new file mode 100644
index 0000000000..371ed1410b
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/ClarisWorks_6.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_10 b/writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_10
new file mode 100644
index 0000000000..b90bfbdc90
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_10
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_3_win.rif b/writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_3_win.rif
new file mode 100644
index 0000000000..be59998c04
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/CorelPainter_3_win.rif
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.0.hqx
new file mode 100644
index 0000000000..e94be35851
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.0.hqx
@@ -0,0 +1,133 @@
+(This file must be converted with BinHex 4.0)
+:#f0bD@0VCA4%FQ&h!%0,4&4$8N4A!3!!!#*!!*!%a$J!!JBb,c8[1$F!N!Are2r
+m!DJ#3!!2!!!!5!")!*!%![!#32rarqi$#3*5B`)&+!2m!3!!!!&S!@J!N!31X!Y
+!!!%"!!"N!!%!!!!"!!)!!!!"*`m!!3#3$K!!N!N3!2qerkB2,3ZD!!J"!*!0'3%
+!!3!"!@N!!3%!!!%!!!!"!!!"!3'!!!(rr`)!!!#K)J!!!!J!!!!)!!!!#!!!!!J
+!!!%b!!%!!!&N!#%!N!6`+J!1!#%EZ3#3"3-!N"-)!!J!!J!#!*!G*!!!P0!!!3"
+UcMJ!DXeJ!'V0A2rr!'V0H+T9UP@U9DT9!!!!2!!!PD$jN!!!!)+!!*!%!H!#J!#
+3#8J!!!")!*!&#!!"!!J!N!9Uc@3!N!6qpJ!!!#!!!*6-!*!E%!!!P-J!N!X-!!#
+8a!!!rri!!!,X!!#8`!!+re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Ar
+ZrmB!-`#3#!%!N"S"!!!"C!!K!*!*)3#3"f3C5`#3#5%!N!GN!*!0)3#3'fd!!!!
+Y!%J!N"$rq+LY%"pR+$!Z!!L3!'lrq#"YqB3J8%M!JHJ!'#m!3QF[,IPm'e!!!!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.1.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.1.hqx
new file mode 100644
index 0000000000..fc6c016fae
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/CricketDraw_1.1.hqx
@@ -0,0 +1,72 @@
+(This file must be converted with BinHex 4.0)
+:!Q0N!%0,4&4$8N4A!3!!!"-B!*!%lA`!"!Fh,c)b,cJi!*!%rp6rr!'X!M`!$`!
+!!%J!5!#3"!,`!N$rmIrZ!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!,3!!"!3!!C!!
+"!!!!!3!#!!!!!5F2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N"!)N!33)!!!%
+!!!!"!!!"!!%#!!$rr`!K!*!(#!!!!!J!!!!)!!!!#!!!!%J!!3!!!@3!)3#3"`%
+!)3#3"`-!N!9)!!!!5!#3#3J!#!!#!!)!N!X%%3!!!!44!*!%N3#3"&%!!!!%83!
+!!!%4!!!!"&%!N!44!!!!5+*+F"!!!!1F!!!!"mi!!!!$MJ#3")i!!!!(MJ!!!!1
+1!!!!!3i!!!!$MJ!!!!11!!!!ja`%!*"S)!#3"#!!N!3J!*!%)!#3"#!!N!3J!*!
+%)!#3"#!!N!3J!*!%)!#3"#!!)!#3"#!!!!"Q#d3!N!6ri)!!rmi!!!!IJ!!!-J!
+!!3J!!!%6!!!"4`!!!AF!N!m$!!!!%!!"!!!"C!!K!*!(!3!K!*!'!@3C5`!+!!!
+!#!!!!#%!N!GN!)F!N!XK!*!+!5H!!!&&!*!,L3!!!#d!2!#3"b!!LJ'C!)X"M3#
+,!Bi!L`'A!)X"Q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3!V!*!%$')DAK-
+D&XB!N!Xi&4S!N!9N!!"`!!1!!!!!)!"L!*!%!k`FV!NN&`)!N!Fm&4N!N!9N!!!
+-!!-!N!3P!#X!N!3-BKTH%aS@aJ#3#am8bJ#3"QaTEQ8JF'pcG(0MFQP`G!!!!"m
+8bJ#3"QaTEQ8JF'pcG(0MFQP`G2q3",[C!!!!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraft_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraft_1.0.hqx
new file mode 100644
index 0000000000..d5d2b7a246
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraft_1.0.hqx
@@ -0,0 +1,134 @@
+(This file must be converted with BinHex 4.0)
+:$A4PFh46D'&`C5jYC'B!4&*A4de%4P3"!!!!iC!!!*!%S,%!!J!!!!)#BJ*L!!!
+!9"'Xr%#-B!"8%I3!!!"8$T`!9"&N!&314!"8$N3!!J#3"!G96Nj"689%6PEpmNM
+R!aK#Tcmm!3ZTZLKI3UFr2!%0!&34p!!!!!%!N!6Irrrr!*!%lYIrr`#3"*h9[rm
+b)N!!rZlrr`3!!)!!!!Ir!*!%prhrr`#3"2q3"!!)!!$lEErr!*!%lEDrrb!!!!$
+Yf[rr!*!K"3J*!BN+"`'-#JX"MJS-!C!!#Ji"NJJ5!C-!N"!"4!!+!9)!$!#3"%c
+58bf@@8Dc!"%!#rq3#!!J!!3!N!8"!!%!N#X"!!%!N!8"!!%!!!!"!!!6!"85r`)
+#!3!1!!8!!J#3"`%!!3!"!!!!!3%"!"!!3J%3!8)!N!3AJ")!!!%!-!!`!3&rrhr
+rJ!'!!3!!!8!"3!!"!!,ljrrCrqF$f3#3'2r*!*!%rrm!!!!"!!%#3!(m!"3!!3S
+!"43SC-L3"#L3##+3"&@3"!!!!!%!!3*!!I`!&!!"#J!&&#KNb*!%+*!))T!%9C!
+%!3%!!`"N!3!"!!!"!!)!!3!)!!B!"`$J!"!"!*!&!3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waw/pass/MacDraft_5.5.drw
new file mode 100644
index 0000000000..5bb15fc080
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraft_5.5.drw
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_0.hqx
new file mode 100644
index 0000000000..5265ebd9a9
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_0.hqx
@@ -0,0 +1,9 @@
+(This file must be converted with BinHex 4.0)
+:"h4PFh3`,MN!4&*A4de%8PF"!!!!!VB!N!5f98e%!!3!N!82!!!!5!")!*!%![!
+#32rarqi$#3*5B`)&+!2m!3!!!!&S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!
+"*`m!!3#3$K!!N!N3!2qerkB2,3ZD!!J"!*!0'3%!!J#3#8J!!!")!*!'!J-#!!0
+X!!%$!3%!!!%"!!(j!Y!#3!,3!N!#d!*!!*!&!3%""J!"!*$r!*"#"!!!!!)$!J!
+!'`!!!#d!!!"M!!!!K`!!"`!!!!)$!3!!B`!!!%J!!!#p!!!"RJ!!!3i!@JJ!!!!
+#!`%!N!4Z!#S!*3!!!%J!!!$'!!!!fJ!!!!J!aJ!!!&S!!!(lr[MlpI[jq[Vrq3$
+f#HJ8k4$`$rB2p`[q"`!&"J8'"`J%#!-(!Jd"$3!1r42m$rm*!!Elr[hjr[)&p!h
+i#[d)rJAr!rS!j2RIrI2pmrllr!d!N!3#!`)!HJ8!!!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_1.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_1.hqx
new file mode 100644
index 0000000000..54ed70ad0a
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_1.hqx
@@ -0,0 +1,103 @@
+(This file must be converted with BinHex 4.0)
+:"h4PFh3a,MF!4&*A4de%8PF"!!!!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j!4`!#3$`IrN"(!!*!2"rq3%F!!N!m(rj!4`!#
+3$`IrN"(!!*!+!Im!!!!(rj!4`!#3$`IrN"(!!*!2"rq3%F!!N![r!!!!"rq3%F!
+!N!m(rj!4`!#3#J(r!!!!"rq3%F!!N!m(rj!4`!#3$`IrN"(!!*!2"rq3%F!!N!S
+"r`!!!!IrN"(!!*!2"rq3%F!!N!S"r`!!!!IrN"(!!*!+!Im!!!!(rj!4`!#3$`I
+rN"(!!*!2"rq3%F!!N!m(rj!4`!#3#J(r!!!!"rq3%F!!N!m(rj!4`!#3$`IrN"(
+!!*!2"rq3%F!!N!m(rj!4`!#3#J%!N!3(rj!4`!#3#J%!N!3(rj!4`!#3$`IrN"(
+!!*!2"rq3%F!!N!m(rj!4`!#3$`IrN"(!!*!2!rq3%B!!N![r!!!!!rq3%B!!N!S
+"r`!!!!(rN"%!N"(rN"$q!*!4Irq3$r`!N"%Irj!2m!#3r`#32J(r!*$r!*$r!*$
+r!*$r!*"U!J-#!*!&!J-#!,%'!!!!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_II.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_II.hqx
new file mode 100644
index 0000000000..01185c149f
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_II.hqx
@@ -0,0 +1,110 @@
+(This file must be converted with BinHex 4.0)
+:#R0TEA"XC5jYC()!4&*A4de%8%`"!!!!%!!!!!fC'k4%8PG(4$)!!3!2!!!"D!&
+S!*!%$VJ,32qerkB2,3ZDB`)&+!2m!3!!!!&S!@J!N!31Z!Y!!!%&!!"N!!%!!!!
+"!!)!!!!"*`m!!3#3$K!!N!N3!2qerkB2,3ZD!!J!N!iC!3!#!(J!5!!!!%J!N!J
+"!3#3E`-!"J!'!!%!"J!'!$8!1`!)!*!*!`!$!!!!!3!!!!B!N!PdJ!!!2S!!!3H
+!!!'MJ!!!G)!!!$k!!!%(J!!"Si!!N!3'!!!!!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!Xb)("d,L"
+6F'&MC3#3"!%Y!*!%#dC[ER3J8fPkCA2*!*!%$8aTEQ8J8h"KBfPZCmN!N!F"!!!
+!#p-!!!V6!!!"aJ"I1G3Dd!!!!"`"aJ!64'PZCJ!!!+*%GRGc!!!!VN4cG'`!!!#
+k8R0d-J!!!-C5Ff9d!!!!dN45G@`!!!$H8(0PG!!!!1T%Ff9d!!!!pN&cCA3!!!%
+#8(*PCJ!!!3ji8(*Q!!!"'R"3FQB!!!%QFe"bCJ!!!6*'EA4i!!!"2NCZEA-!!!&
++F'&d8J!!!9CLBAG3!!!"BN0dBQ`!!!&ZBfpX8!!!!AT048j9!!)"KJ%!rrm!N!9
+I1Y`"!2rr!!!!A!"I1MJ"!2rr!!!!U!"I1J3"!2rr!!!![J#3"!%!rrm!!!&5!&m
+k!!%!rrm!!!(Q!&mk4!%!rrm!!!*k!&mlP!%!rrm!!!+Z!&ml,!%!rrm!!!01!&m
+m2!%!rrm!!!11!&ml%!%!rrm!!!1X!&mli!%!rrm!!!1i!&ml1!%!rrm!!!2+!&m
+jR!%!rrm!!!4J!&mlY!%!rrm!!!4X!&mlL!%!rrm!!!4h!&mlN!!"!2rr!!!&6`"
+I1j`"!2rr!!!)&`"I1jJ"!2rr!!!)Q`"I1qJ"!rrr!!!)R`"I1c`""[rr!!!*L3"
+I2#3""rrr!!!+(J"I2!`!*3:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_Pro_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_Pro_1.0.hqx
new file mode 100644
index 0000000000..f89c711800
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacDraw_Pro_1.0.hqx
@@ -0,0 +1,109 @@
+(This file must be converted with BinHex 4.0)
+:#R4PFh404&!a,M!!C%4[Bf43FQm"!!!!%!!!!!cJjC0N4'pM4$,rr`!2!!!"D!&
+S!*!%$VJ,32qerkB2,3ZDB`)&+!2m!3!!!!&S!@J!N!31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P*cCA3!!!(@8(0PG!!!!H*%Ff9d!!!
+"lN&cCA3!!!(k8(*PCJ!!!JC3FQBa!!!#%P"bCM)!!!)H8(*Q-`!!!LT3FQBd!!!
+#0P"bCM8!!!*#8(*Q0J!!!Nj3FQBi!!!#@P"bCMN!!!*Q4QedH!!!!R*'EQec!!!
+#IQCZG%`!!!++CQjd4!!!!TCcDAT-!!!#SR0THN3!!!+Z!3$rr`#3"8j%E!!!rrm
+!!!"f!%j%D!!!rrm!!!#!!*!&!Irr!!!"A!#3"3,rr`!!!J3!N!Err`!!!*B!N!8
+"rrm!!!&`!*!&![rr!!!#'J#3"32rr`!!!Ui!N!Err`!!!-J!N!Err`!!!3J!N!8
+"rrm!!!'`!*!&![rr!!!#@J#3"32rr`!!!Zi!N!8"rrm!!!'L!*!&![rr!!!#6!#
+3"32rr`!!!Z!!N!3"!2rr!!!$3J"14&J"!2rr!!!$XJ"14&3"!2rr!!!$b!"14&!
+"!2rr!!!%A!"14%`"!2rr!!!%N!!!6N4)!3$rr`!!"6!!6N4%!3$rr`!!"A!!6N4
+!!3$rr`!!"Bi!6N3m!3$rr`!!"F!!6N3i!3$rr`!!"FS!6N3d!3$rr`!!"G!!6N3
+`!3$rr`!!"GJ!6N3X!3$rr`!!"H)!6N3S!3$rr`!!"RJ!6N3N!3$rr`!!"U3!6N3
+J!3$rr`!!"V`!8Ir!!3$rr`!!"XJ!8Iqm!J$rr`!!"YB!6N3F!J$rr`!!"Z)!6N3
+B!J$rr`!!#0m!6N38!J$rr`!!#1X!6N33imS!:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MacPaint_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacPaint_1.0.hqx
new file mode 100644
index 0000000000..a8d23fe540
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MacPaint_1.0.hqx
@@ -0,0 +1,72 @@
+(This file must be converted with BinHex 4.0)
+:#R"KD@jd-5jYBh!!8%j84de36P3"!!!!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j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N!Z3#j!,N
+!Z3#j!,N!Z3#j!,N!(iJ!!!%!!!!"RJ!!!*i!!!"A)%G%)%&38%`"!*!A#R"KD@j
+d-LjYBh!!!J!!!&"19%G08%j8!*!+8%j84de36P3!N"M2Y*d&!*!'!I8!N!`#RL8
+"6Np"68&38%`"!*!G!8iP!90*9'96594-"3#3(3(6*3&KG'0[4hTTF2m!N"JH!#J
+!"!(8!Fm!#!&l!!N!d3$J!KF!+!"l!*!%!H%!!!"ijDSr2!!#,a5T4d*R6Ud!`K!
+IC`!!e(i"B"``"e0!3HhQ2-(m!Pj"k!*1%M!!!'F%1dINL&*(F!Q`4fcH2@hNL2f
+iIJ&J!!#B-!G63%(YjMc"r!*H3HJ#6K)`!!"R)M!(8d""lHBm`I`#AN2Zrlj&k!(
+F3I)!!(!2!!!"!!!!!Ci!!!#H!!!!9`"K+-`BqJ!!!"`!4J!"8&*&4J!!!"*38N9
+$!!!!(J#!!*!(BD!B!)%!#3!!!#)!BD!F#%4[Be"bC@Cc"d4[Be"bC@-5E3:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_3.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_3.0.hqx
new file mode 100644
index 0000000000..ab761cd8db
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_3.0.hqx
@@ -0,0 +1,27 @@
+(This file must be converted with BinHex 4.0)
+:#@4bBAFc,QecG`""9d45690A5`%!!!!%`!!!!8C')3!!!!N!+`!%!Gi#2J#3"3`
+!N!B)!*!)$`!!!%J!5!#3"!,`!N$rmIrZ!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!
+,3!!"!3!!C!!"!!!!!3!#!!!!!5F2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N
+"!(J!H!"i!(J!N!F"!!%!N"%"!!%!!!!"!!!$qJ!!!!8!N"%-!!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&!!%!@`!1$k-!&3qK'eJ!![rr!!%!"J!)rrrrf2rrrr!!S`!!!5X
+!!!%e!!!"IJ#3"J4d!*!%"3"6[-!!h!!!!@d!!!%#!!!"IJ!!!68!!!&9!!!!jJ!
+!!5X!!!#M!!!"E!#3"3%!@`!1$k-!&3qK'eJ!![rr!!%!"J!)rrrrf2rrrm!"-3!
+!!6N!!!%N!!!!N!!!!!!"!!!%GJ#693!!!3!!!!%8!!!!&!!!!$*59%G%8P434JB
+!N"F*C(*KGc-ZEA0h!J#30mqdj*i!N!B"4J#3$!)e*3&59lNh4&"54J)!N"lG*3&
+5C@GT39"36!)!N"d"L58"8Q9i,N&38%`"!*!B%!p0D@0bEh0[CR3J9fpbDh-!!!%
+!!!!"&!!!!"3!!!!b!&2(8"PB!!!!(!!b!!"69&)J!!!!#Vrdrrm!N!96Zq$0QJ:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_4.0.msw b/writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_4.0.msw
new file mode 100644
index 0000000000..d2ab02e326
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/MicrosoftWorks_4.0.msw
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/ReadySetGo_1 b/writerperfect/qa/unit/data/draw/libmwaw/pass/ReadySetGo_1
new file mode 100644
index 0000000000..71a2e7a91a
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/ReadySetGo_1
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/Scoop_1 b/writerperfect/qa/unit/data/draw/libmwaw/pass/Scoop_1
new file mode 100644
index 0000000000..78af036c6a
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/Scoop_1
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_1.0.hqx
new file mode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r
+hrrrrIrrhrhrrprphrrrrGrrrrhIrhIphrphr9IrGreArhIp9rqlr9IqlreAr9Ip
+9reArGpehhAIGGpe9[eAr9IY9re@l9Ip9ZeAr9Ep9lPAl9Hj9ZeAZ9EY9lP@l9HT
+9Ze@Z9ET9Ue@k9DY9kP@U9Dj9UUT9UP@U9DT9UK@U9DT4UP@U4DT8UN@U9+T%UK@
+U4+T4UN5U%DT%UK'U3+S4UJ5U%DT%UJ#U4+S!UN#U!+S%UJ#))SJLL#+))US!UJ#
+U!+S!UJ!4!+S!4!#U!#)!UJ!L!)J!)J#)!#)!L!!J!)J!!J#!!!J!J!!)!)J!!!#
+)!!!!J!!!!!J!N!8"!J!J!*$r!!!!!3)!)+U3#!$r!2m!r`$rL*!)Gj!)r`!!!2m
+!N!6rrrm!rrrrJ*!)Ij!)r`#3#2q3"mb3#2rr!!$rr`!!riL)L2q)L)J!GhGh!(G
+hGrq!N!F!Ij!(L%3L%BK%)K&hZphZGl[GlK%L4)J4)N5)lYflGqlGZhH!3#!3#!3
+#!Aqrhqrhqrhq!3)%#"!J3)$qrI[hlpqrIq"`1"`1"i2"QFaQ-jR-CM1$"`iF1($
+J`60Qc*NcCXbCJ8)N'"JN3S&q[G[RjpZpIS*%+"!S4))"IE[AlpHlIIi!!!%!!!!
+&'!!!""J!!!"@!&&Rr"Qf!!!!(!"@!!"3393M!!-!#J$krrm!N!95$U3""2rr!!!
+""J"5$d3"'2rr!!!#$!"5$`3"$[rr!!!$%J"5$`JQ#`:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_P_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_P_1.0.hqx
new file mode 100644
index 0000000000..6a1dc50090
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/SuperPaint_P_1.0.hqx
@@ -0,0 +1,71 @@
+(This file must be converted with BinHex 4.0)
+:#A"KD@jd-5jcF!"68&4(8e"19!#3"!UX!!!&E[`,%!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)!L!!
+J!)J!!J#!!!J!J!!)!)J!!!#)!!!!J!!!!!J!N!8"!J!J!*$r!!!!!3)!)+U3#!$
+r!2m!r`$rL*!)Gj!)r`!!!2m!N!6rrrm!rrrrJ*!)Ij!)r`#3#2q3"mb3#2rr!!$
+rr`!!riL)L2q)L)J!GhGh!(GhGrq!N!F!Ij!(L%3L%BK%)K&hZphZGl[GlK%L4)J
+4)N5)lYflGqlGZhH!3#!3#!3#!Aqrhqrhqrhq!3)%#"!J3)$qrI[hlpqrIq"`1"`
+1"i2"QFaQ-jR-CM1$"`iF1($J`60Qc*NcCXbCJ8)N'"JN3S&q[G[RjpZpIS*%+"!
+S4))"IE[AlpHlIIi!!!%!!!!&'!!!""J!!!"@!&&Rr"PB!!!!(!"@!!"3393M!!-
+!#J$krrm!N!95$f3""2rr!!!""J"5$e`"'2rr!!!#$!"5$h!"$[rr!!!$%J"5$fM
+L%3:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_1.0.hqx
new file mode 100644
index 0000000000..a692cf555e
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_1.0.hqx
@@ -0,0 +1,104 @@
+(This file must be converted with BinHex 4.0)
+:#@4bBAFa,RG`G`"#9f4b3PGVF`#3""3i!!!"BJAL3PGVFd*AC(*#9f4b!*!&!3#
+3"`%!N!B""`#3"!32!!N!!!!*!*!-!3#3"!F!!3!2!!!!5!")!*!%![!#32rarqi
+$#3*5B`)&+!2m!3!!!!&S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!"*`m!!3#
+3$K!!N!N3!2qerkB2,3ZD!!J"!*!0'3%!!!%(!*!)!3F!N$J'4f9ZCACK!!!!"!!
+'!!!44!!!!(!!!!@S!!!2c!!'!!!4[!!!%``!!!!#!*!%!YS#+)!"!!%!#3!!!!N
+!!!!"!*!&#!!"!!!!!3!!!!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)+%!TI!!!!0)!IKPm!!%!KPK2)!`SE[rm6Pj1G3!!%RB2m!!Q6PB!!%M
+R!"JQEJ!F+'i!##m,,bi!'$!Z!"C)`#m!-#i!%NM!,`![,J!-,`a1V3jU)%XLD`!
++d1N!Q#m))%NLD!#F6T%j3!!`61iB!2m!!!!-#d*PB@GXC9G[FQYc!!!!#!"1!!)
+"h!*f!!!"!!!!!4`!!!!F!!!!4J!YD,`AJJ!!!"`!4J!"8e45)!!!!"*h8'pc!!!
+!(Vrdrrm!N!8YBJ3$kIrr!!!!%!#3",il:
diff --git a/writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_P_1.0.hqx b/writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_P_1.0.hqx
new file mode 100644
index 0000000000..413a8fdbf3
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libmwaw/pass/WordPerfectWorks_P_1.0.hqx
@@ -0,0 +1,137 @@
+(This file must be converted with BinHex 4.0)
+:#R"KD@jd-5jhF(F!3PG`G%*ADh-!N!3BX3!!!@+H,%*ADh0#9h"d3PG`G!#3"3%
+!N!F"!*!'!3F!N!3%$!!*!!!!#3#3$!%!N!3(!!%!$`!!!%J!5!#3"!,`!N$rmIr
+Z!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!,3!!"!3!!C!!"!!!!!3!#!!!!!5F2!!%
+!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N"!!!""`#3#!%(!*!i"NGPEQ9fB3!!$i3
+!!!J)!Y!#3!!"!*!Ar`!!rj!'!!(mr22c"38!![,b#!L%K!!$hGd)#!B'!!3#!UZ
+VkZS!"3!!J)!4%3!'!*!%e03!"pf3"J!)c*!'!!QlN!B!#UU3"J!,L*!'!!aQN!B
+!$853"J!1)T!'!!m!N!F36-`1%`!!!"&-c"`R!!!!%Nc-+M`!!!!66-`i8!!!!"4
+-c%CP!!!!&88J6-`!!!!@0`Y-c!!!!"FSq%c-!!!!'"VL6-`!!!!C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z3!#Z3!#Z3!#Z3!#Z3!#Z3!
+#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!
+#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!
+#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!
+#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!#Z3!!!+!!J`$rAPX!!!%!!!!"(!!
+!!"`!!!"'!3!+@BqU!bPI!!C)H!-",b`!"NkY!F)[,!!'F!-[!#!-+R"KD@jd-5j
+hF(F`[`)!!!"#9h"d3PGVF`#3#%*AF(4#9fYc!*!Bcl6@8J#3"J&LA`!@@Bm`,J!
+55-![!+Jr)'`!"L"3)9m!'LKZrra1ANje6PB!!#m-+'i!##"X!!BJ8$&X!"B!)(!
+3X'`!&Qi1)'`!"L"3-A`!%!!HB!SJE!!')&"#D!!H-#`!&P0!CaK63'F898"R%&P
+!C`a43'FL"%!!%'FfB%`JE!!')&!aI!!"!*!%$!Y#C@&RE'9AEh*VF`!!!!J!6J!
+#!G`#GJ!!!3!!!!%F!!!!(!!!!%B!,@Lm&i)!!!!F!%B!!9088L!!!!!5Ge"[F`!
+!!"krp2rr!*!&,9qS!qRrr`!!!"!!N!5,K!:
diff --git a/writerperfect/qa/unit/data/draw/libpagemaker/fail/.gitignore b/writerperfect/qa/unit/data/draw/libpagemaker/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libpagemaker/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libpagemaker/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libpagemaker/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libpagemaker/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libpagemaker/pass/shapes.pmd b/writerperfect/qa/unit/data/draw/libpagemaker/pass/shapes.pmd
new file mode 100644
index 0000000000..40e7df8b2f
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libpagemaker/pass/shapes.pmd
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libstaroffice/fail/.gitignore b/writerperfect/qa/unit/data/draw/libstaroffice/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libstaroffice/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libstaroffice/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libstaroffice/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libstaroffice/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libstaroffice/pass/Draw_3.1.sda b/writerperfect/qa/unit/data/draw/libstaroffice/pass/Draw_3.1.sda
new file mode 100644
index 0000000000..bd03aa7c17
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libstaroffice/pass/Draw_3.1.sda
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libvisio/fail/.gitignore b/writerperfect/qa/unit/data/draw/libvisio/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libvisio/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libvisio/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libvisio/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libvisio/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libvisio/pass/EDB-22679-1.vsd b/writerperfect/qa/unit/data/draw/libvisio/pass/EDB-22679-1.vsd
new file mode 100644
index 0000000000..a0f5242a4b
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libvisio/pass/EDB-22679-1.vsd
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libvisio/pass/fdo57117-1.vsd b/writerperfect/qa/unit/data/draw/libvisio/pass/fdo57117-1.vsd
new file mode 100644
index 0000000000..3d73877667
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libvisio/pass/fdo57117-1.vsd
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libwpg/fail/.gitignore b/writerperfect/qa/unit/data/draw/libwpg/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libwpg/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libwpg/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libwpg/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libwpg/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libwpg/pass/WPG1.wpg b/writerperfect/qa/unit/data/draw/libwpg/pass/WPG1.wpg
new file mode 100644
index 0000000000..273089649c
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libwpg/pass/WPG1.wpg
Binary files differ
diff --git a/writerperfect/qa/unit/data/draw/libzmf/fail/.gitignore b/writerperfect/qa/unit/data/draw/libzmf/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libzmf/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libzmf/indeterminate/.gitignore b/writerperfect/qa/unit/data/draw/libzmf/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libzmf/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/draw/libzmf/pass/ZonerDraw_5.zmf b/writerperfect/qa/unit/data/draw/libzmf/pass/ZonerDraw_5.zmf
new file mode 100644
index 0000000000..fa2a96a6c6
--- /dev/null
+++ b/writerperfect/qa/unit/data/draw/libzmf/pass/ZonerDraw_5.zmf
Binary files differ
diff --git a/writerperfect/qa/unit/data/import/SOLVE.FM3 b/writerperfect/qa/unit/data/import/SOLVE.FM3
new file mode 100644
index 0000000000..8e4a2ed2d1
--- /dev/null
+++ b/writerperfect/qa/unit/data/import/SOLVE.FM3
Binary files differ
diff --git a/writerperfect/qa/unit/data/import/SOLVE.WK3 b/writerperfect/qa/unit/data/import/SOLVE.WK3
new file mode 100644
index 0000000000..7b3d74c1d4
--- /dev/null
+++ b/writerperfect/qa/unit/data/import/SOLVE.WK3
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/fail/.gitignore b/writerperfect/qa/unit/data/impress/libetonyek/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/indeterminate/.gitignore b/writerperfect/qa/unit/data/impress/libetonyek/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_1.key b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_1.key
new file mode 100644
index 0000000000..f59ccfab05
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_1.key
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_2.key b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_2.key
new file mode 100644
index 0000000000..8d7cd4b722
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_2.key
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_3.key b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_3.key
new file mode 100644
index 0000000000..5d715e68c8
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_3.key
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_4.key b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_4.key
new file mode 100644
index 0000000000..bf3c9f0c59
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_4.key
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_5.key b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_5.key
new file mode 100644
index 0000000000..fe2f9ad21b
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_5.key
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_6.key b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_6.key
new file mode 100644
index 0000000000..b0401b3987
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libetonyek/pass/Keynote_6.key
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/fail/.gitignore b/writerperfect/qa/unit/data/impress/libmwaw/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/indeterminate/.gitignore b/writerperfect/qa/unit/data/impress/libmwaw/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/ClarisWorks_6.0.cwk b/writerperfect/qa/unit/data/impress/libmwaw/pass/ClarisWorks_6.0.cwk
new file mode 100644
index 0000000000..2e60a81d30
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/ClarisWorks_6.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_2.ppt b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_2.ppt
new file mode 100644
index 0000000000..4856f15f5d
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_2.ppt
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_3.ppt b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_3.ppt
new file mode 100644
index 0000000000..f2185ab921
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_3.ppt
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_4.ppt b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_4.ppt
new file mode 100644
index 0000000000..bd2a464f91
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_4.ppt
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_7.ppt b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_7.ppt
new file mode 100644
index 0000000000..0556e51c68
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_7.ppt
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_1 b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_1
new file mode 100644
index 0000000000..72be750b8d
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_1
@@ -0,0 +1,48 @@
+(This file must be converted with BinHex 4.0)
+:#R"[Gf9bF'pTER3!8da%8e"36P3"!!!!#DB!N!6iJ!ZYhZd!!!!#!!!!'!!D!!3
+!!!QQ!!S!'3!!!+J!!!$S!!!!rJ!!!C!!!!!!(!!!!Si!N!B#UJ!!!$S!!!+U!!!
+"L!!!!Z3!!!"5!!!%E!!!!"`!!!5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#L!*!!$"!"C`!"!!S!"`!0!"8!(3!M!#S!,J!
+k!%8!8!29!")!!!S2!6J!0J!N#Jm"!!"D!%J+$`&(!(i!E!S2!@i!SJ#3!!S2!@F
+!!!!+!!J!%`!F!#3!-!"!!&!!AJ"X!(B!1!!9!!`-%!%i!$B!*!`3!3!!@J")$"!
+"4`"q!'`-%!&Z!+)!N!!-%!&R!"8!%J(!!"8!%J(!!"8!'!&""q%!I4NJ!!%!!!!
+"!!%!EJ!!!3#3"#i!N!6qiIk*!5!"H!%!N!8"!3!-!*!+relr#J#Z!3J"!!%!!!!
+"!8%!rrm!!3#3"[pHraB!VJ#k!*!'!3%!!2rr!!%!N!Er22mkre2rp3-!N!3"!3%
+!!2rr!!!!%J"X9a!!!!!8G'9iG#"TEL"SB@jNEh9d)("KCf8!"J!!%J%!&5"Z!!j
+$l[ri!*!+rrJL6#,B)YJ`,J!-8d$T30"81)!!!!!@!*!&&3!%!3"63%M!JI`!$`!
+!!%J!5!#3"!,`!N$rmIrZ!`N#8Q-!"5J$r!%!!!!"D!&S!*!%$V!,3!!"!3!!C!!
+"!!!!!3!#!!!!!5F2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!3#3$4N"rrrr,IrrrX!
+@aJ!!!#N!"3(F!R`!!J!#!*!&E&TB!!!!$J"X@1!!E&Pirbrqk3$5!4MqiIk*!5!
+"H!!!!"F!E&D!rr!!"!!"!!8!!!!#!*!&2J"6!&F!3J!'!!N!#J)"!!!!E&CB!'a
+9!!%#!!!!%3!!!")!!!!6rj!%!*!(&!)r!Zm"S`)Z!!%!J!!!!"J!N!J,VGlY$PB
+!!!:
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_2 b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_2
new file mode 100644
index 0000000000..6f646c1a51
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_2
Binary files differ
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_3 b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_3
new file mode 100644
index 0000000000..95b415b061
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_3
@@ -0,0 +1,101 @@
+(This file must be converted with BinHex 4.0)
+:"A"bCA-c!&0-4$038&3c!3!!!",*!!!%%fUe#khHl3!!!!-!!!!H!$`!#J!!%XN
+!8!!l!*!'J!!!'!!!!Ik!!!"!!!!#&S!!N!8#9S!!N!8#9S!!!,)!!!*@J!!!*J!
+!!`L!!!"!!!!$,S!!N!8$ES!!N!8$ES!!!'!!!!0ZJ!!!*J!!!mk!!!!J!!!$p)!
+!!#!!!!38J!!!&J!!"$5!!!!B!!!%5S!!!%!!!!4LJ!#3"35LJ!#3"35LJ!!"iJ!
+!"++!!!!Q!!!'K)!!!'!!!!DUJ!!!&!!!"`U!!*!&"ak!!!'q!!!((S!!!#B!!!M
+FJ!!!)!!!#3+!!!!B!!!*)S!!!#!!!!NkJ!!!&!!!#9U!!*!&#@k!!!#8!!!*ES!
+!!#B!!!S#J!!!)!!!#LL!!!!B!!!+5)!!!#!!!!TJJ!!!&!!!#S#!!*!&#T5!!!#
+8!!!+P)!!!#B!!!XSJ!!!)!!!#dk!!!!5!!!,ES!!!"!!!!Z!J!!!'J!!#j!!J!!
+!'J!!#kU!!!!D!!!,a)!!!$B!!![HJ!!!5!!!$"5!!!"!!!!-A)!!!&i!!!bFJ!!
+!'!!!$2U!!!35!!!0%S!!!#)!!"%NJ!!!"J!!%8D!!!!-!!!46)!!!!F!!"&BJ!!
+!$!!!%9q!!!!H!!!4Di!!!(J!!"'*J!!!0J!!%J'!!!#1!!!50`!!98i!!J!#rj!
+%!!!(!J!-!*!'%!##d2N3pc$li!M3!3!"N!3!!J#3"2rp!!![0`i8%!##`2a`pc!
+'N!!)d!%!!C!%!!)!N!6rr3!!)Pm#[!!!!!i!!!"J!*!&$J!!63#!!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a3!#a3!
+#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!
+#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!
+#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!
+#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!#a3!!!2m!!!#cXP4SDA-JC'pMG@e
+PER3JBfpeE'3JEQpd)'*P)'p`C@jPC#`JBQ9MBA9cC5"dD'8JBA"`E'PMBA4TEfi
+JdP"[Gf9b8'pTER3J-bi`db"MEh9XC#"ZEh3JBQ8JCQpeEQ3Z)#"8D'Pc)'4[Bh9
+YC@jd)'0KEL"KE(0[)'*P)'p`C@jPC#"QFQpY)(GTG'KTEL"dD'8JdP"[Gf9b8'p
+TER3J9QPPGf9bdb"KF("XD@0KG'P[ELi!!!%!!!!$c3!!!Xd!!!"'!&**`"6`!!!
+!(!"'!!&35808!!!!%P088L!!!!!H4Errr`#3"9KXE,rcrrm!!!)@!&KbQ*qr:
diff --git a/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_4.ppt b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_4.ppt
new file mode 100644
index 0000000000..7714520d8a
--- /dev/null
+++ b/writerperfect/qa/unit/data/impress/libmwaw/pass/PowerPoint_Mac_4.ppt
Binary files differ
diff --git a/writerperfect/qa/unit/data/stream/fdo40686-1.doc b/writerperfect/qa/unit/data/stream/fdo40686-1.doc
new file mode 100644
index 0000000000..bb0fd59274
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/fdo40686-1.doc
Binary files differ
diff --git a/writerperfect/qa/unit/data/stream/test.dir/META-INF/manifest.xml b/writerperfect/qa/unit/data/stream/test.dir/META-INF/manifest.xml
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/META-INF/manifest.xml
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.dir/Thumbnails/thumbnail.png b/writerperfect/qa/unit/data/stream/test.dir/Thumbnails/thumbnail.png
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/Thumbnails/thumbnail.png
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.dir/content.xml b/writerperfect/qa/unit/data/stream/test.dir/content.xml
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/content.xml
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.dir/manifest.rdf b/writerperfect/qa/unit/data/stream/test.dir/manifest.rdf
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/manifest.rdf
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.dir/meta.xml b/writerperfect/qa/unit/data/stream/test.dir/meta.xml
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/meta.xml
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.dir/mimetype b/writerperfect/qa/unit/data/stream/test.dir/mimetype
new file mode 100644
index 0000000000..2e95b81c92
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/mimetype
@@ -0,0 +1 @@
+application/vnd.oasis.opendocument.text \ No newline at end of file
diff --git a/writerperfect/qa/unit/data/stream/test.dir/settings.xml b/writerperfect/qa/unit/data/stream/test.dir/settings.xml
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/settings.xml
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.dir/styles.xml b/writerperfect/qa/unit/data/stream/test.dir/styles.xml
new file mode 100644
index 0000000000..8b13789179
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.dir/styles.xml
@@ -0,0 +1 @@
+
diff --git a/writerperfect/qa/unit/data/stream/test.odt b/writerperfect/qa/unit/data/stream/test.odt
new file mode 100644
index 0000000000..5688df4f92
--- /dev/null
+++ b/writerperfect/qa/unit/data/stream/test.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/2pages.fodt b/writerperfect/qa/unit/data/writer/epubexport/2pages.fodt
new file mode 100644
index 0000000000..ee797e8ac2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/2pages.fodt
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="P1" style:family="paragraph">
+ <style:paragraph-properties fo:break-before="page"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text text:use-soft-page-breaks="true">
+ <text:p>First page</text:p>
+ <text:p text:style-name="P1">Second page</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/abi11105.abw b/writerperfect/qa/unit/data/writer/epubexport/abi11105.abw
new file mode 100644
index 0000000000..cbb3269402
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/abi11105.abw
@@ -0,0 +1,200 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN" "http://www.abisource.com/awml.dtd">
+<abiword template="false" styles="unlocked" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:math="http://www.w3.org/1998/Math/MathML" xid-max="602" xmlns:dc="http://purl.org/dc/elements/1.1/" fileformat="1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:awml="http://www.abisource.com/awml.dtd" xmlns="http://www.abisource.com/awml.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" version="0.99.2" xml:space="preserve" props="dom-dir:ltr; document-footnote-restart-section:0; document-endnote-type:numeric; document-endnote-place-enddoc:1; document-endnote-initial:1; lang:en-US; document-endnote-restart-section:0; document-footnote-restart-page:0; document-footnote-type:numeric; document-footnote-initial:1; document-endnote-place-endsection:0">
+<!-- ======================================================================== -->
+<!-- This file is an AbiWord document. -->
+<!-- AbiWord is a free, Open Source word processor. -->
+<!-- More information about AbiWord is available at http://www.abisource.com/ -->
+<!-- You should not edit this file by hand. -->
+<!-- ======================================================================== -->
+
+<metadata>
+<m key="dc.format">application/x-abiword</m>
+<m key="abiword.generator">AbiWord</m>
+</metadata>
+<history version="32" edit-time="22699" last-saved="1186591494" uid="cda1ddaa-271c-11dc-96cc-acc9743d883d">
+<version id="9" started="1183217258" uid="f7653120-2729-11dc-96cc-acc9743d883d" auto="0" top-xid="129"/>
+<version id="15" started="1183229488" uid="a162cfda-273d-11dc-9057-9d0956321a55" auto="0" top-xid="395"/>
+<version id="21" started="1183588421" uid="a208dbc8-2a80-11dc-81ef-aecf9c46b62f" auto="0" top-xid="538"/>
+<version id="28" started="1183595753" uid="eb9b7cce-2a9d-11dc-90b3-b9dc9cabd82a" auto="0" top-xid="558"/>
+<version id="29" started="1183748257" uid="c3b1a520-2bf2-11dc-810f-966d8748d82a" auto="0" top-xid="576"/>
+<version id="32" started="1186591321" uid="b0dcc786-45ce-11dc-95e7-b27653668118" auto="0" top-xid="602"/>
+</history>
+<styles>
+<s type="P" name="Normal" followedby="Current Settings" props="font-family:Times New Roman; margin-top:0pt; font-style:normal; font-weight:normal; color:000000; widows:2; margin-bottom:0pt; margin-left:0pt; text-position:normal; line-height:1.0; text-decoration:none; bgcolor:transparent; margin-right:0pt; font-variant:normal; font-size:12pt; text-indent:0in; text-align:left; lang:en-US; font-stretch:normal"/>
+<s type="C" name="Reference" props="font-size:10pt"/>
+</styles>
+<pagesize pagetype="Letter" orientation="portrait" width="8.500000" height="11.000000" units="in" page-scale="1.000000"/>
+<section xid="128" props="page-margin-footer:0.5in; page-margin-header:0.5in">
+<table xid="33" props="list-tag:1; table-column-props:3.8750in/0.9375in/1.6250in/">
+<cell xid="34" props="bg-style:1; left-color:000000; bot-style:1; right-attach:1; right-color:000000; top-color:000000; bot-color:000000; left-attach:0; top-style:0; right-style:0; left-style:0; bot-attach:1; top-attach:0">
+<p style="Normal" xid="35" props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Evan Rinehart</c></p>
+<p style="Normal" xid="599" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:bold; margin-right:0.0000in; margin-bottom:0.0000in; font-size:12pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:12pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">P.O. Box 21456</c></p>
+<p style="Normal" xid="600" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:bold; margin-right:0.0000in; margin-bottom:0.0000in; font-size:12pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:12pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Baton Rouge, LA 70894</c></p>
+<p style="Normal" xid="601" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:bold; margin-right:0.0000in; margin-bottom:0.0000in; font-size:12pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:12pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">(985) 806 4063</c></p>
+<p style="Normal" xid="602" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:bold; margin-right:0.0000in; margin-bottom:0.0000in; font-size:12pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:12pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">evanrinehart@gmail.com</c></p>
+</cell>
+<cell xid="37" props="bg-style:1; left-color:000000; bot-style:1; right-attach:3; right-color:000000; top-color:000000; bot-color:000000; left-attach:1; top-style:0; right-style:0; left-style:0; bot-attach:1; top-attach:0">
+<p style="Normal" xid="38"></p>
+</cell>
+<cell xid="40" props="bot-style:0; right-attach:3; bg-style:1; top-color:000000; bot-color:000000; left-attach:0; left-style:0; right-style:0; top-style:1; bot-attach:2; top-attach:1">
+<p style="Normal" xid="41"></p>
+<p style="Normal" xid="118"></p>
+</cell>
+<cell xid="46" props="bot-style:1; right-attach:1; bg-style:1; top-color:000000; bot-color:000000; left-attach:0; left-style:0; right-style:0; top-style:0; bot-attach:3; top-attach:2">
+<p style="Normal" xid="47"><c props="text-decoration:none; font-weight:bold">Work Experience</c></p>
+</cell>
+<cell xid="49" props="bot-style:1; right-attach:3; bg-style:1; top-color:000000; bot-color:000000; left-attach:1; left-style:0; right-style:0; top-style:0; bot-attach:3; top-attach:2">
+<p style="Normal" xid="50" props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal"></p>
+</cell>
+<cell xid="587" props="left-color:000000; bot-style:0; right-attach:1; right-color:000000; bg-style:1; left-attach:0; top-attach:3; bot-attach:4; bot-color:000000; right-style:0; left-style:0">
+<p xid="588"><c props="font-style:italic; font-size:10pt">RageComm</c></p>
+<p xid="596"><c props="font-size:10pt">Aug 2007 - </c></p>
+<p xid="598"></p>
+</cell>
+<cell xid="590" props="bg-style:1; bot-style:0; right-attach:3; left-attach:1; right-style:0; left-style:0; bot-attach:4; top-attach:3">
+<p xid="591"><c props="font-size:10pt">Programmer</c></p>
+<p xid="597" props="font-size:8pt"><c props="font-size:8pt">Researching and implementing advanced graphics techniques using shaders; providing general support.</c></p>
+</cell>
+<cell xid="52" props="bg-style:1; bot-style:0; right-attach:1; top-color:000000; top-attach:4; left-attach:0; left-style:0; bot-attach:5; bot-color:000000; right-style:0; top-style:0">
+<p style="Normal" xid="53" props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:italic; lang:en-US">LSU Student Technical Application Resource Training</c></p>
+<p style="Normal" xid="574" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Aug 2006 - May 2007</c></p>
+<p style="Normal" xid="174" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; text-position:normal; lang:en-US; margin-bottom:0.0000in; text-indent:0.0000in; text-align:left; margin-top:0.0000in; font-weight:normal; line-height:1.000000; text-decoration:none; color:000000; margin-right:0.0000in; font-size:10pt"></p>
+</cell>
+<cell xid="92" props="bg-style:1; bot-style:0; right-attach:3; top-color:000000; top-attach:4; left-attach:1; left-style:0; bot-attach:5; bot-color:000000; right-style:0; top-style:0">
+<p xid="93" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Software Trainer</c></p>
+<p style="Normal" xid="570" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:normal; margin-right:0.0000in; margin-bottom:0.0000in; font-size:8pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:8pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Taught classes in MATLAB, Mathematica, web design, and Linux system administration.</c></p>
+</cell>
+<cell xid="58" props="bot-style:0; right-attach:1; bg-style:1; top-color:000000; bot-color:000000; left-attach:0; left-style:0; right-style:0; top-style:0; bot-attach:6; top-attach:5">
+<p style="Normal" xid="59" props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:italic; lang:en-US">LSU Department of Electrical and Computer Engineering</c></p>
+<p style="Normal" xid="576" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Jan 2006 - May 2007</c></p>
+<p style="Normal" xid="175" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; text-position:normal; lang:en-US; margin-bottom:0.0000in; text-indent:0.0000in; text-align:left; margin-top:0.0000in; font-weight:normal; line-height:1.0; text-decoration:none; color:000000; margin-right:0.0000in; font-size:10pt"></p>
+</cell>
+<cell xid="61" props="left-attach:1; right-attach:3; bot-style:0; bot-attach:6; top-attach:5; right-style:0; top-style:0; bg-style:1; left-style:0">
+<p style="Normal" xid="62" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Engineering Tutor</c></p>
+<p style="Normal" xid="572" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:normal; margin-right:-0.1250in; margin-bottom:0.0000in; font-size:8pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:8pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Tutored engineering students in circuits, digital logic, electronics, and software engineering.</c></p>
+</cell>
+<cell xid="64" props="bot-style:0; right-attach:1; bg-style:1; top-color:000000; bot-color:000000; left-attach:0; left-style:0; right-style:0; top-style:0; bot-attach:7; top-attach:6">
+<p style="Normal" xid="65" props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:italic; lang:en-US">LSU Department of Mathematics</c></p>
+<p style="Normal" xid="575" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Aug 2005 - May 2006</c></p>
+<p style="Normal" xid="176" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; text-position:normal; lang:en-US; margin-bottom:0.0000in; text-indent:0.0000in; text-align:left; margin-top:0.0000in; font-weight:normal; line-height:1.000000; text-decoration:none; color:000000; margin-right:0.0000in; font-size:10pt"></p>
+</cell>
+<cell xid="95" props="left-attach:1; right-attach:3; bot-style:0; bot-attach:7; top-attach:6; right-style:0; left-style:0; top-style:0">
+<p xid="96" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Software Trainer / Math Tutor</c></p>
+<p style="Normal" xid="571" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:normal; margin-right:0.0000in; margin-bottom:0.0000in; font-size:8pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:8pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Assisted students enrolled in computer-based college algebra program.</c></p>
+</cell>
+<cell xid="70" props="bot-style:0; right-attach:1; bg-style:1; top-color:000000; bot-color:000000; left-attach:0; left-style:0; right-style:0; top-style:0; bot-attach:8; top-attach:7">
+<p style="Normal" xid="71" props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:italic; lang:en-US">LSU School of Veterinary Medicine</c></p>
+<p style="Normal" xid="573" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Jun 2004 - Aug 2005</c></p>
+<p style="Normal" xid="177" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; text-position:normal; lang:en-US; margin-bottom:0.0000in; text-indent:0.0000in; text-align:left; margin-top:0.0000in; font-weight:normal; line-height:1.000000; text-decoration:none; color:000000; margin-right:0.0000in; font-size:10pt"></p>
+</cell>
+<cell xid="73" props="left-attach:1; right-attach:3; bot-style:0; bot-attach:8; top-attach:7; right-style:0; top-style:0; bg-style:1; left-style:0">
+<p style="Normal" xid="74" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Entry-Level Network Technician</c></p>
+<p style="Normal" xid="569" props="font-family:Times New Roman; dom-dir:ltr; font-style:normal; margin-left:0.0000in; lang:en-US; text-decoration:none; text-indent:0.0000in; text-position:normal; margin-top:0.0000in; font-weight:normal; margin-right:-0.0625in; margin-bottom:0.0000in; font-size:8pt; line-height:1.000000; text-align:left"><c props="font-family:Times New Roman; font-size:8pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Installed and maintained network hardware throughout hospital and research facility.</c></p>
+</cell>
+</table>
+<p xid="369"></p>
+<table xid="130" props="list-tag:1; bot-style:0; table-column-props:3.8750in/2.5625in/; top-style:0; right-style:0; bg-style:1; left-style:0">
+<cell xid="152" props="bg-style:1; left-color:000000; bot-style:1; right-attach:2; right-color:000000; top-color:000000; top-attach:0; left-attach:0; left-style:0; bot-attach:1; bot-color:000000; right-style:0; top-style:0">
+<p xid="467"><c props="font-weight:bold; text-decoration:none">Education</c></p>
+</cell>
+<cell xid="134" props="bot-style:0; right-attach:1; bg-style:1; top-color:000000; left-style:0; left-attach:0; top-attach:1; bot-attach:2; bot-color:000000; right-style:0; top-style:1">
+<p style="Normal" xid="135"><c props="font-size:10pt">Bachelor of Science in Electrical Engineering</c></p>
+<p style="Normal" xid="559"><c props="font-size:10pt">Louisiana State University, 2007</c></p>
+</cell>
+<cell xid="137" props="bot-style:0; right-attach:2; bg-style:1; top-color:000000; left-style:0; left-attach:1; top-attach:1; bot-attach:2; bot-color:000000; right-style:0; top-style:1">
+<p style="Normal" xid="138"><c props="font-size:8pt">Concentration in Computer Engineering</c></p>
+<p style="Normal" xid="150"><c props="font-size:8pt">Minor in Physics</c></p>
+<p style="Normal" xid="151"><c props="font-size:8pt">Minor in Computer Science</c></p>
+<p style="Normal" xid="556"><c props="font-size:8pt">Major GPA: 3.24</c></p>
+<p style="Normal" xid="567"></p>
+</cell>
+<cell xid="143" props="bot-attach:3; left-attach:0; right-attach:1; top-attach:2">
+<p style="Normal" xid="144"><c props="font-size:10pt">Bachelor of Science in Mathematics</c></p>
+<p style="Normal" xid="560"><c props="font-size:10pt">Louisiana State University, Expected 2008</c></p>
+</cell>
+<cell xid="146" props="bot-attach:3; left-attach:1; right-attach:2; top-attach:2">
+<p style="Normal" xid="147"><c props="font-size:8pt">Concentration in Pure Math</c></p>
+<p style="Normal" xid="558"><c props="font-size:8pt">Major GPA: 3.44</c></p>
+</cell>
+</table>
+<p xid="370"></p>
+<table xid="506" props="list-tag:1; bg-style:1; left-color:000000; bot-style:0; table-column-props:3.8750in/2.5625in/; right-color:000000; top-color:000000; left-style:0; bot-color:000000; right-style:0; top-style:0">
+<cell xid="507" props="left-attach:0; right-attach:2; bot-style:1; bot-attach:1; top-attach:0; bot-color:000000; right-style:0; top-style:0; bg-style:1; left-style:0">
+<p style="Normal" xid="508" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:12pt; text-position:normal; font-weight:bold; font-style:normal; lang:en-US">Former Supervisors</c></p>
+</cell>
+<cell xid="513" props="left-attach:0; right-attach:1; bot-style:0; bot-attach:2; top-attach:1; right-style:0; left-style:0; bg-style:1; top-style:1">
+<p style="Normal" xid="514" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Mark Rabalais</c></p>
+<p style="Normal" xid="515" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Instructor</c></p>
+<p style="Normal" xid="516" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:italic; text-decoration:none">LSU Department of Electrical and Computer Engineering</c></p>
+</cell>
+<cell xid="518" props="left-attach:1; right-attach:2; bot-style:0; bot-attach:2; top-attach:1; right-style:0; left-style:0; bg-style:1; top-style:1">
+<p style="Normal" xid="519" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"></p>
+<p style="Normal" xid="545" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Phone: (225) 578 5200</c></p>
+<p style="Normal" xid="520" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Email: mrabal@lsu.edu</c></p>
+</cell>
+<cell xid="522" props="bot-attach:3; left-attach:0; right-attach:1; top-attach:2">
+<p style="Normal" xid="523" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Melissa Brocato</c></p>
+<p style="Normal" xid="524" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Director</c></p>
+<p style="Normal" xid="525" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:italic; text-decoration:none">LSU Student Technical Application Resource Training</c></p>
+</cell>
+<cell xid="527" props="bot-attach:3; left-attach:1; right-attach:2; top-attach:2">
+<p style="Normal" xid="528" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"></p>
+<p style="Normal" xid="546" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Phone: (225) 578 4526</c></p>
+<p style="Normal" xid="529" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">Email: mbrocato@lsu.edu</c></p>
+</cell>
+</table>
+<p xid="532" props="margin-top:0.0000in; margin-left:0.0000in; text-indent:0.0000in; dom-dir:ltr; margin-bottom:0.0000in; line-height:1.000000; text-align:left; margin-right:0.0000in"></p>
+<table xid="399" props="list-tag:1; bot-style:0; table-column-props:1.6250in/4.8125in/; top-style:0; top-color:000000; right-style:0; bg-style:1; left-style:0">
+<cell xid="455" props="left-attach:0; right-attach:1; bot-style:1; bot-attach:1; top-attach:0; bot-color:000000; right-style:0; left-style:0; bg-style:1; top-style:0">
+<p xid="456"><c props="font-weight:bold">Skills</c></p>
+</cell>
+<cell xid="458" props="left-attach:1; right-attach:2; bot-style:1; bot-attach:1; top-attach:0; bot-color:000000; right-style:0; left-style:0; bg-style:1; top-style:0">
+<p xid="459"></p>
+</cell>
+<cell xid="400" props="bot-style:0; right-attach:1; bg-style:1; top-color:000000; left-style:0; left-attach:0; top-attach:1; bot-attach:2; bot-color:000000; right-style:0; top-style:1">
+<p style="Normal" xid="401"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Languages</c></p>
+</cell>
+<cell xid="403" props="bot-style:0; right-attach:2; bg-style:1; top-color:000000; left-style:0; left-attach:1; top-attach:1; bot-attach:2; bot-color:000000; right-style:0; top-style:1">
+<p style="Normal" xid="404" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">C, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">C++, Java, Perl, Python, Lua, Cg, Others</c></p>
+</cell>
+<cell xid="406" props="bot-attach:3; left-attach:0; right-attach:1; top-attach:2">
+<p style="Normal" xid="407"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Server Software</c></p>
+</cell>
+<cell xid="409" props="bot-attach:3; left-attach:1; right-attach:2; top-attach:2">
+<p style="Normal" xid="410" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Apache, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">BIND, </c><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">CVS / SVN, </c><c props="font-family:Times New Roman; font-size:10pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">DHCP, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">MySQL, Others</c></p>
+</cell>
+<cell xid="412" props="bot-attach:4; left-attach:0; right-attach:1; top-attach:3">
+<p style="Normal" xid="413"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Operating Systems</c></p>
+</cell>
+<cell xid="415" props="bot-attach:4; left-attach:1; right-attach:2; top-attach:3">
+<p style="Normal" xid="416" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Linux, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">OpenBSD, OpenSolaris, Windows XP / Server 2003, Others</c></p>
+</cell>
+<cell xid="418" props="bot-attach:5; left-attach:0; right-attach:1; top-attach:4">
+<p style="Normal" xid="419"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">WWW</c></p>
+</cell>
+<cell xid="421" props="bot-attach:5; left-attach:1; right-attach:2; top-attach:4">
+<p style="Normal" xid="422" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">HTML, XHTML, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">CSS, PHP</c></p>
+</cell>
+<cell xid="424" props="bot-attach:6; left-attach:0; right-attach:1; top-attach:5">
+<p style="Normal" xid="425"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Network</c></p>
+</cell>
+<cell xid="427" props="bot-attach:6; left-attach:1; right-attach:2; top-attach:5">
+<p style="Normal" xid="428" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">iptables, packetfilter, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">IPv6, SMB / CIFS, BSD sockets</c></p>
+</cell>
+<cell xid="430" props="bot-attach:7; left-attach:0; right-attach:1; top-attach:6">
+<p style="Normal" xid="431"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">Linux</c></p>
+</cell>
+<cell xid="433" props="bot-attach:7; left-attach:1; right-attach:2; top-attach:6">
+<p style="Normal" xid="434" props="font-family:Times New Roman; font-size:12pt; color:000000; text-decoration:none; text-position:normal; font-weight:normal; font-style:normal"><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">bash, </c><c props="font-family:Times New Roman; font-size:10pt; lang:en-US; text-position:normal; font-weight:normal; font-style:normal; text-decoration:none">dpkg, rpm, portage, pthreads, </c><c props="font-family:Times New Roman; text-decoration:none; color:000000; font-size:10pt; text-position:normal; font-weight:normal; font-style:normal; lang:en-US">kernel configuration, X window system</c></p>
+</cell>
+<cell xid="550" props="bot-attach:8; left-attach:0; right-attach:1; top-attach:7">
+<p xid="551"><c props="font-size:10pt">Engineering</c></p>
+</cell>
+<cell xid="553" props="bot-attach:8; left-attach:1; right-attach:2; top-attach:7">
+<p xid="554"><c props="font-size:10pt">Electronics, Logic Design, Computer Architecture, Communications Technology</c></p>
+</cell>
+</table>
+<p style="Normal" xid="129"></p>
+</section>
+</abiword>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/char-namedstyle.fodt b/writerperfect/qa/unit/data/writer/epubexport/char-namedstyle.fodt
new file mode 100644
index 0000000000..5a1b3823dd
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/char-namedstyle.fodt
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Mono" svg:font-family="&apos;Liberation Mono&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:style style:name="Source_20_Text" style:display-name="Source Text" style:family="text">
+ <style:text-properties style:font-name="Liberation Mono" fo:font-family="&apos;Liberation Mono&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
+ </style:style>
+ </office:styles>
+ <office:body>
+ <office:text>
+ <text:p>Foo<text:span text:style-name="Source_20_Text">bar</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/escape.fodt b/writerperfect/qa/unit/data/writer/epubexport/escape.fodt
new file mode 100644
index 0000000000..8d23fb36ef
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/escape.fodt
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:officeooo="http://openoffice.org/2009/office" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties officeooo:rsid="0006b966"/>
+ </style:style>
+ <style:style style:name="T2" style:family="text">
+ <style:text-properties fo:font-weight="bold" officeooo:rsid="0006b966" style:font-weight-asian="bold" style:font-weight-complex="bold"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p><text:s/><text:span text:style-name="T1">a&amp;b</text:span><text:span text:style-name="T2"><text:tab/></text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/font-embedding.fodt b/writerperfect/qa/unit/data/writer/epubexport/font-embedding.fodt
new file mode 100644
index 0000000000..ac241503dc
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/font-embedding.fodt
@@ -0,0 +1,2657 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:settings>
+ <config:config-item-set config:name="ooo:view-settings">
+ <config:config-item config:name="ViewAreaTop" config:type="long">0</config:config-item>
+ <config:config-item config:name="ViewAreaLeft" config:type="long">0</config:config-item>
+ <config:config-item config:name="ViewAreaWidth" config:type="long">48553</config:config-item>
+ <config:config-item config:name="ViewAreaHeight" config:type="long">22888</config:config-item>
+ <config:config-item config:name="ShowRedlineChanges" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="InBrowseMode" config:type="boolean">false</config:config-item>
+ <config:config-item-map-indexed config:name="Views">
+ <config:config-item-map-entry>
+ <config:config-item config:name="ViewId" config:type="string">view2</config:config-item>
+ <config:config-item config:name="ViewLeft" config:type="long">6653</config:config-item>
+ <config:config-item config:name="ViewTop" config:type="long">2501</config:config-item>
+ <config:config-item config:name="VisibleLeft" config:type="long">0</config:config-item>
+ <config:config-item config:name="VisibleTop" config:type="long">0</config:config-item>
+ <config:config-item config:name="VisibleRight" config:type="long">48551</config:config-item>
+ <config:config-item config:name="VisibleBottom" config:type="long">22886</config:config-item>
+ <config:config-item config:name="ZoomType" config:type="short">0</config:config-item>
+ <config:config-item config:name="ViewLayoutColumns" config:type="short">0</config:config-item>
+ <config:config-item config:name="ViewLayoutBookMode" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ZoomFactor" config:type="short">100</config:config-item>
+ <config:config-item config:name="IsSelectedFrame" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AnchoredTextOverflowLegacy" config:type="boolean">false</config:config-item>
+ </config:config-item-map-entry>
+ </config:config-item-map-indexed>
+ </config:config-item-set>
+ <config:config-item-set config:name="ooo:configuration-settings">
+ <config:config-item config:name="PrintProspect" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="PrintLeftPages" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintGraphics" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintPageBackground" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintControls" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintAnnotationMode" config:type="short">0</config:config-item>
+ <config:config-item config:name="PrintRightPages" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintFaxName" config:type="string"/>
+ <config:config-item config:name="PrintPaperFromSetup" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="PrintTextPlaceholder" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ApplyParagraphMarkFormatToNumbering" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="PrintReversed" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="TabOverMargin" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="EmbedFonts" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="SurroundTextWrapSmall" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="BackgroundParaOverDrawings" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ClippedPictures" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="FloattableNomargins" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UnbreakableNumberings" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="EmbedSystemFonts" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="TabOverflow" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintTables" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintSingleJobs" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="SmallCapsPercentage66" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="CollapseEmptyCellPara" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="TreatSingleColumnBreakAsPageBreak" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="MathBaselineAlignment" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AddFrameOffsets" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="IsLabelDocument" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="PrinterName" config:type="string"/>
+ <config:config-item config:name="OutlineLevelYieldsNumbering" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="MsWordCompTrailingBlanks" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="IgnoreFirstLineIndentInNumbering" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UpdateFromTemplate" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintBlackFonts" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="TableRowKeep" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="EmbeddedDatabaseName" config:type="string"/>
+ <config:config-item config:name="IgnoreTabsAndBlanksForLineCalculation" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UseOldPrinterMetrics" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="InvertBorderSpacing" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="SaveGlobalDocumentLinks" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="TabsRelativeToIndent" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="Rsid" config:type="int">314478</config:config-item>
+ <config:config-item config:name="PrintProspectRTL" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="PrintEmptyPages" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ApplyUserData" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrintHiddenText" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AddParaTableSpacingAtStart" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="FieldAutoUpdate" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseOldNumbering" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AddParaTableSpacing" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="CharacterCompressionType" config:type="short">0</config:config-item>
+ <config:config-item config:name="SaveVersionOnClose" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="ChartAutoUpdate" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="PrinterIndependentLayout" config:type="string">high-resolution</config:config-item>
+ <config:config-item config:name="IsKernAsianPunctuation" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UseFormerObjectPositioning" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AddVerticalFrameOffsets" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="SubtractFlysAnchoredAtFlys" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="AddParaSpacingToTableCells" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="AddExternalLeading" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="CurrentDatabaseDataSource" config:type="string">writer-data-source-ooxml</config:config-item>
+ <config:config-item config:name="AllowPrintJobCancel" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="ProtectForm" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UseFormerLineSpacing" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="PrintDrawings" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="UseFormerTextWrapping" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="UnxForceZeroExtLeading" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="TabAtLeftIndentForParagraphsInList" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="RedlineProtectionKey" config:type="base64Binary"/>
+ <config:config-item config:name="PropLineSpacingShrinksFirstLine" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="ConsiderTextWrapOnObjPos" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="RsidRoot" config:type="int">314478</config:config-item>
+ <config:config-item config:name="StylesNoDefault" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="LinkUpdateMode" config:type="short">1</config:config-item>
+ <config:config-item config:name="AlignTabStopPosition" config:type="boolean">true</config:config-item>
+ <config:config-item config:name="DoNotJustifyLinesWithManualBreak" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="DoNotResetParaAttrsForNumFont" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="CurrentDatabaseCommandType" config:type="int">0</config:config-item>
+ <config:config-item config:name="LoadReadonly" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="DoNotCaptureDrawObjsOnPage" config:type="boolean">false</config:config-item>
+ <config:config-item config:name="CurrentDatabaseCommand" config:type="string">Table1</config:config-item>
+ <config:config-item config:name="PrinterSetup" config:type="base64Binary"/>
+ <config:config-item config:name="ClipAsCharacterAnchoredWriterFlyFrames" config:type="boolean">false</config:config-item>
+ </config:config-item-set>
+ </office:settings>
+ <office:scripts>
+ <office:script script:language="ooo:Basic">
+ <ooo:libraries xmlns:ooo="http://openoffice.org/2004/office" xmlns:xlink="http://www.w3.org/1999/xlink"/>
+ </office:script>
+ </office:scripts>
+ <office:font-face-decls>
+ <style:font-face style:name="SketchFlow Print" svg:font-family="&apos;SketchFlow Print&apos;" style:font-family-generic="roman" style:font-pitch="variable">
+ <svg:font-face-src>
+ <svg:font-face-uri loext:font-style="normal" loext:font-weight="normal">
+ <office:binary-data>AAEAAAAUAQAABABARFNJRzfRQ3UAAdkYAAAbnEdQT1MkQqBJAAH0tAAAFaRHU1VC2mzdsAAC
+ ClgAAABYTFRTSErIqbcAAAhgAAABkk9TLzK4ec1/AAAByAAAAGBWRE1YZUZsuAAACfQAAAXg
+ Y21hcIGuWR0AADPMAAAGjmN2dCAIkwJmAAA8eAAAACBmcGdtBlmcNwAAOlwAAAFzZ2FzcAAX
+ AAkAAdkIAAAAEGdseWZGr7RbAAA/uAABjnxoZG14gZErxQAAD9QAACP4aGVhZPLtvvoAAAFM
+ AAAANmhoZWEOQQbZAAABhAAAACRobXR4UCaEqQAAAigAAAY4bG9jYVnq+JQAADyYAAADHm1h
+ eHADowTPAAABqAAAACBuYW1lYAWWKQABzjQAAAJ2cG9zdJZZNaMAAdCsAAAIW3ByZXBQ0h19
+ AAA70AAAAKgAAQAAAAECj0muuKhfDzz1ABkIAAAAAADF3g7UAAAAAMYKY4n+K/1UCa0HvAAA
+ AAkAAgAAAAAAAAABAAAGZv4AAAAJff4r/c0JrQABAAAAAAAAAAAAAAAAAAABjgABAAABjgDZ
+ AAQA1wAEAAEAAAAAAAoAAAIAAx0AAgABAAIEIgGQAAUACAWaBTMAAAEfBZoFMwAAA9EAZgIA
+ AAACAAAAAAAAAAAAoAAAr0AAIEoAAAAAAAAAAG1sc3MAQAAg+wIGZv4AAAAGZgIAIAABk00A
+ AAADqAThAAAAIAACA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face-format svg:string="truetype"/>
+ </svg:font-face-uri>
+ </svg:font-face-src>
+ </style:font-face>
+ </office:font-face-decls>
+ <office:styles>
+ <style:default-style style:family="graphic">
+ <style:graphic-properties svg:stroke-color="#3465a4" draw:fill-color="#729fcf" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/>
+ <style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:font-independent-line-spacing="false">
+ <style:tab-stops/>
+ </style:paragraph-properties>
+ <style:text-properties style:use-window-font-color="true" style:font-name="SketchFlow Print" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="SketchFlow Print" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="SketchFlow Print" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN"/>
+ </style:default-style>
+ <style:default-style style:family="paragraph">
+ <style:paragraph-properties fo:orphans="2" fo:widows="2" fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/>
+ <style:text-properties style:use-window-font-color="true" style:font-name="SketchFlow Print" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="SketchFlow Print" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="SketchFlow Print" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/>
+ </style:default-style>
+ <style:default-style style:family="table">
+ <style:table-properties table:border-model="collapsing"/>
+ </style:default-style>
+ <style:default-style style:family="table-row">
+ <style:table-row-properties fo:keep-together="auto"/>
+ </style:default-style>
+ <style:style style:name="Standard" style:family="paragraph" style:class="text"/>
+ <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text">
+ <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" fo:keep-with-next="always"/>
+ <style:text-properties style:font-name="SketchFlow Print" fo:font-family="&apos;SketchFlow Print&apos;" style:font-family-generic="swiss" style:font-pitch="variable" fo:font-size="14pt" style:font-name-asian="SketchFlow Print" style:font-family-asian="&apos;SketchFlow Print&apos;" style:font-family-generic-asian="system" style:font-pitch-asian="variable" style:font-size-asian="14pt" style:font-name-complex="SketchFlow Print" style:font-family-complex="&apos;SketchFlow Print&apos;" style:font-family-generic-complex="system" style:font-pitch-complex="variable" style:font-size-complex="14pt"/>
+ </style:style>
+ <style:style style:name="Text_20_body" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text">
+ <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.247cm" loext:contextual-spacing="false" fo:line-height="115%"/>
+ </style:style>
+ <style:style style:name="List" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="list">
+ <style:text-properties style:font-size-asian="12pt" style:font-name-complex="SketchFlow Print" style:font-family-complex="&apos;SketchFlow Print&apos;" style:font-family-generic-complex="swiss"/>
+ </style:style>
+ <style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">
+ <style:paragraph-properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" text:number-lines="false" text:line-number="0"/>
+ <style:text-properties fo:font-size="12pt" fo:font-style="italic" style:font-size-asian="12pt" style:font-style-asian="italic" style:font-name-complex="SketchFlow Print" style:font-family-complex="&apos;SketchFlow Print&apos;" style:font-family-generic-complex="swiss" style:font-size-complex="12pt" style:font-style-complex="italic"/>
+ </style:style>
+ <style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index">
+ <style:paragraph-properties text:number-lines="false" text:line-number="0"/>
+ <style:text-properties style:font-size-asian="12pt" style:font-name-complex="SketchFlow Print" style:font-family-complex="&apos;SketchFlow Print&apos;" style:font-family-generic-complex="swiss"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties style:font-name="SketchFlow Print"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p><text:span text:style-name="T1">Sketchflow</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/footnote.fodt b/writerperfect/qa/unit/data/writer/epubexport/footnote.fodt
new file mode 100644
index 0000000000..a846d64ed0
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/footnote.fodt
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:body>
+ <office:text>
+ <text:p>before<text:note text:id="ftn0" text:note-class="footnote"><text:note-citation>1</text:note-citation><text:note-body><text:p>Footnote content</text:p></text:note-body></text:note>after</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/fxl-2page.fodt b/writerperfect/qa/unit/data/writer/epubexport/fxl-2page.fodt
new file mode 100644
index 0000000000..40f628b5e6
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/fxl-2page.fodt
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:font-face-decls>
+ <style:font-face style:name="Lucida Sans1" svg:font-family="&apos;Lucida Sans&apos;" style:font-family-generic="swiss"/>
+ <style:font-face style:name="Liberation Serif" svg:font-family="&apos;Liberation Serif&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
+ <style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
+ <style:font-face style:name="AR PL SungtiL GB" svg:font-family="&apos;AR PL SungtiL GB&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
+ <style:font-face style:name="Lucida Sans" svg:font-family="&apos;Lucida Sans&apos;" style:font-family-generic="system" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:default-style style:family="graphic">
+ <style:graphic-properties svg:stroke-color="#3465a4" draw:fill-color="#729fcf" fo:wrap-option="no-wrap" draw:shadow-offset-x="0.3cm" draw:shadow-offset-y="0.3cm" draw:start-line-spacing-horizontal="0.283cm" draw:start-line-spacing-vertical="0.283cm" draw:end-line-spacing-horizontal="0.283cm" draw:end-line-spacing-vertical="0.283cm" style:flow-with-text="false"/>
+ <style:paragraph-properties style:text-autospace="ideograph-alpha" style:line-break="strict" style:font-independent-line-spacing="false">
+ <style:tab-stops/>
+ </style:paragraph-properties>
+ <style:text-properties style:use-window-font-color="true" style:font-name="Liberation Serif" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="AR PL SungtiL GB" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="Lucida Sans" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN"/>
+ </style:default-style>
+ <style:default-style style:family="paragraph">
+ <style:paragraph-properties fo:orphans="2" fo:widows="2" fo:hyphenation-ladder-count="no-limit" style:text-autospace="ideograph-alpha" style:punctuation-wrap="hanging" style:line-break="strict" style:tab-stop-distance="1.251cm" style:writing-mode="page"/>
+ <style:text-properties style:use-window-font-color="true" style:font-name="Liberation Serif" fo:font-size="12pt" fo:language="en" fo:country="US" style:letter-kerning="true" style:font-name-asian="AR PL SungtiL GB" style:font-size-asian="10.5pt" style:language-asian="zh" style:country-asian="CN" style:font-name-complex="Lucida Sans" style:font-size-complex="12pt" style:language-complex="hi" style:country-complex="IN" fo:hyphenate="false" fo:hyphenation-remain-char-count="2" fo:hyphenation-push-char-count="2"/>
+ </style:default-style>
+ <style:default-style style:family="table">
+ <style:table-properties table:border-model="collapsing"/>
+ </style:default-style>
+ <style:default-style style:family="table-row">
+ <style:table-row-properties fo:keep-together="auto"/>
+ </style:default-style>
+ <style:style style:name="Standard" style:family="paragraph" style:class="text"/>
+ <style:style style:name="Heading" style:family="paragraph" style:parent-style-name="Standard" style:next-style-name="Text_20_body" style:class="text">
+ <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" fo:keep-with-next="always"/>
+ <style:text-properties style:font-name="Liberation Sans" fo:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable" fo:font-size="14pt" style:font-name-asian="AR PL SungtiL GB" style:font-family-asian="&apos;AR PL SungtiL GB&apos;" style:font-family-generic-asian="system" style:font-pitch-asian="variable" style:font-size-asian="14pt" style:font-name-complex="Lucida Sans" style:font-family-complex="&apos;Lucida Sans&apos;" style:font-family-generic-complex="system" style:font-pitch-complex="variable" style:font-size-complex="14pt"/>
+ </style:style>
+ <style:style style:name="Text_20_body" style:display-name="Text body" style:family="paragraph" style:parent-style-name="Standard" style:class="text">
+ <style:paragraph-properties fo:margin-top="0cm" fo:margin-bottom="0.247cm" loext:contextual-spacing="false" fo:line-height="115%"/>
+ </style:style>
+ <style:style style:name="List" style:family="paragraph" style:parent-style-name="Text_20_body" style:class="list">
+ <style:text-properties style:font-size-asian="12pt" style:font-name-complex="Lucida Sans1" style:font-family-complex="&apos;Lucida Sans&apos;" style:font-family-generic-complex="swiss"/>
+ </style:style>
+ <style:style style:name="Caption" style:family="paragraph" style:parent-style-name="Standard" style:class="extra">
+ <style:paragraph-properties fo:margin-top="0.212cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false" text:number-lines="false" text:line-number="0"/>
+ <style:text-properties fo:font-size="12pt" fo:font-style="italic" style:font-size-asian="12pt" style:font-style-asian="italic" style:font-name-complex="Lucida Sans1" style:font-family-complex="&apos;Lucida Sans&apos;" style:font-family-generic-complex="swiss" style:font-size-complex="12pt" style:font-style-complex="italic"/>
+ </style:style>
+ <style:style style:name="Index" style:family="paragraph" style:parent-style-name="Standard" style:class="index">
+ <style:paragraph-properties text:number-lines="false" text:line-number="0"/>
+ <style:text-properties style:font-size-asian="12pt" style:font-name-complex="Lucida Sans1" style:font-family-complex="&apos;Lucida Sans&apos;" style:font-family-generic-complex="swiss"/>
+ </style:style>
+ <style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:next-style-name="Text_20_body" style:default-outline-level="1" style:class="text">
+ <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" loext:contextual-spacing="false"/>
+ <style:text-properties fo:font-size="130%" fo:font-weight="bold" style:font-size-asian="130%" style:font-weight-asian="bold" style:font-size-complex="130%" style:font-weight-complex="bold"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
+ <style:text-properties officeooo:paragraph-rsid="001f977c"/>
+ </style:style>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties officeooo:rsid="001f977c"/>
+ </style:style>
+ <style:page-layout style:name="pm1">
+ <style:page-layout-properties fo:page-width="10.5cm" fo:page-height="14.801cm" style:num-format="1" style:print-orientation="portrait" fo:margin-top="2cm" fo:margin-bottom="2cm" fo:margin-left="2cm" fo:margin-right="2cm" style:writing-mode="lr-tb" style:footnote-max-height="0cm">
+ <style:footnote-sep style:width="0.018cm" style:distance-before-sep="0.101cm" style:distance-after-sep="0.101cm" style:line-style="solid" style:adjustment="left" style:rel-width="25%" style:color="#000000"/>
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ </office:automatic-styles>
+ <office:master-styles>
+ <style:master-page style:name="Standard" style:page-layout-name="pm1"/>
+ </office:master-styles>
+ <office:body>
+ <office:text text:use-soft-page-breaks="true">
+ <text:h text:style-name="Heading_20_1" text:outline-level="1">First chapter</text:h>
+ <text:p text:style-name="P1"><text:span text:style-name="T1">He heard quiet steps behind him. That didn&apos;t bode well. Who could be following him this late at night and in this deadbeat part of town? And at this particular moment, just after he pulled off the big time and was making off with the greenbacks. Was there another crook who&apos;d had the same idea, and was now watching him and waiting for a chance to grab the fruit of his labor? Or did the steps behind him mean that one of many law officers in town was on to him and just waiting to pounce and snap those cuffs on his wrists? He nervously looked all around. Suddenly he saw the alley. Like lightning he darted off to the left and disappeared between the two warehouses almost falling over the trash can lying in the middle of the sidewalk. He tried to nervously tap </text:span><text:soft-page-break/><text:span text:style-name="T1">his way along in the inky darkness and suddenly stiffened: it was a dead-end, he would have to go back the way he had come. The steps got louder and louder, he saw the black outline of a figure coming around the corner. Is this the end of the line?</text:span></text:p>
+ <text:h text:style-name="Heading_20_1" text:outline-level="1">Second chapter</text:h>
+ <text:p text:style-name="Standard">This is the end.</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/hello.fodt b/writerperfect/qa/unit/data/writer/epubexport/hello.fodt
new file mode 100644
index 0000000000..b245e9d7ab
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/hello.fodt
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document office:mimetype="application/vnd.oasis.opendocument.text" office:version="1.2" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0">
+ <office:body>
+ <office:text>
+ <text:p><text:span>Hello world!</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/image-border.fodt b/writerperfect/qa/unit/data/writer/epubexport/image-border.fodt
new file mode 100644
index 0000000000..cffe4d6068
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/image-border.fodt
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:styles>
+ <style:style style:name="Graphics" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" style:wrap="dynamic" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:color="#000000" style:font-size-complex="12pt"/>
+ </style:style>
+ <style:style style:name="fr1" style:family="graphic" style:parent-style-name="Graphics">
+ <style:graphic-properties style:vertical-pos="top" style:vertical-rel="baseline" fo:padding="0.049cm" fo:border="0.99pt dashed #ed1c24" style:shadow="none" draw:shadow-opacity="100%" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="standard"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="Standard">before<text:span text:style-name="T1"><draw:frame draw:style-name="fr1" draw:name="Object0" text:anchor-type="as-char" svg:width="1.663cm" svg:height="1.663cm" draw:z-index="0"><draw:image loext:mime-type="image/png"><office:binary-data>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAAAFz
+ UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA
+ AAJiS0dEAACqjSMyAAAACW9GRnMAAAAGAAAAAAAMc1XTAAAACXBIWXMAAA3XAAAN1wFCKJt4
+ AAAACXZwQWcAAABMAAAAQACdMTgbAAABzUlEQVRo3u3ZPU/CQBjA8X+Jxs3ESUDj4iK+LA5+
+ BBfjqBE1cXB2MlFAEqMgxvhNNL4sLsK3UPQL6ObkoAETz+FKW2mxCPRYnucWUu76/OC59C49
+ cGOCKqrD9kHRc6ddPv7oW2WCwMh0nF63Myz7Tm8hPTNu0pgHMER3scepTbgK6enJNND83RLn
+ /878yRaPmgBZFDuMsNLeWB9gmFQHP77MIg9gsYciR50NFKvtjIy10yk84pSZA7DYpwR8scmF
+ QQCMuoQMpzbh0iAARrlnVn90CWHTsZcAiHPPdINQAuqsc2MQAAnKDUKWEhZ10twaBEDSJWQo
+ YlFj7S9CzwEegkXWIbQsRAQASFJhpplwbRAACS+hANRJBxMiAkDcJeQ4sQkBhYgMoJ+Ozlwo
+ 2YQ7AJ6CRxyiUGnVy3hVKb0Af9v7hUG2Wy9TEQCUelFTDULB2S+YKYGOMcpM6UIccOQnRA6A
+ cSp6ibfI+wkGADBGpTEd8xz1AaAfTQ7huA8AvUw5hVjuA0D/C5OaMN8XACRZ8F0zCggKAQhA
+ AAIQgAAEIAABCEAAAhCAAAQgAAH4zg3feY4w3Xs44M5+oW0qvCWoGcvaIlM3x/f/ab+O738A
+ hOCNQr34oD4AAAAldEVYdGNyZWF0ZS1kYXRlADIwMTAtMTItMjBUMTc6MDg6MzYrMDE6MDB6
+ 5RscAAAAJXRFWHRtb2RpZnktZGF0ZQAyMDEwLTEyLTIwVDE3OjA4OjM3KzAxOjAwgyNmnAAA
+ AABJRU5ErkJggg==
+ </office:binary-data></draw:image></draw:frame></text:span>after</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/image-link.fodt b/writerperfect/qa/unit/data/writer/epubexport/image-link.fodt
new file mode 100644
index 0000000000..0796cea3e4
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/image-link.fodt
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:styles>
+ <style:style style:name="Standard" style:family="paragraph" style:class="text"/>
+ <style:style style:name="Graphics" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" style:wrap="dynamic" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="fr1" style:family="graphic" style:parent-style-name="Graphics">
+ <style:graphic-properties style:vertical-pos="top" style:vertical-rel="baseline" style:horizontal-pos="center" style:horizontal-rel="paragraph" style:shadow="none" draw:shadow-opacity="100%" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="standard"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:master-styles>
+ <style:master-page style:name="Standard" style:page-layout-name="pm1"/>
+ </office:master-styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="Standard"><draw:a xlink:type="simple" xlink:href="http://libreoffice.org/"><draw:frame draw:style-name="fr1" draw:name="Image1" text:anchor-type="as-char" svg:width="1.806cm" svg:height="1.806cm" draw:z-index="0"><draw:image loext:mime-type="image/png"><office:binary-data>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAAAFz
+ UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA
+ AAJiS0dEAACqjSMyAAAACW9GRnMAAAAGAAAAAAAMc1XTAAAACXBIWXMAAA3XAAAN1wFCKJt4
+ AAAACXZwQWcAAABMAAAAQACdMTgbAAABzUlEQVRo3u3ZPU/CQBjA8X+Jxs3ESUDj4iK+LA5+
+ BBfjqBE1cXB2MlFAEqMgxvhNNL4sLsK3UPQL6ObkoAETz+FKW2mxCPRYnucWUu76/OC59C49
+ cGOCKqrD9kHRc6ddPv7oW2WCwMh0nF63Myz7Tm8hPTNu0pgHMER3scepTbgK6enJNND83RLn
+ /878yRaPmgBZFDuMsNLeWB9gmFQHP77MIg9gsYciR50NFKvtjIy10yk84pSZA7DYpwR8scmF
+ QQCMuoQMpzbh0iAARrlnVn90CWHTsZcAiHPPdINQAuqsc2MQAAnKDUKWEhZ10twaBEDSJWQo
+ YlFj7S9CzwEegkXWIbQsRAQASFJhpplwbRAACS+hANRJBxMiAkDcJeQ4sQkBhYgMoJ+Ozlwo
+ 2YQ7AJ6CRxyiUGnVy3hVKb0Af9v7hUG2Wy9TEQCUelFTDULB2S+YKYGOMcpM6UIccOQnRA6A
+ cSp6ibfI+wkGADBGpTEd8xz1AaAfTQ7huA8AvUw5hVjuA0D/C5OaMN8XACRZ8F0zCggKAQhA
+ AAIQgAAEIAABCEAAAhCAAAQgAAH4zg3feY4w3Xs44M5+oW0qvCWoGcvaIlM3x/f/ab+O738A
+ hOCNQr34oD4AAAAldEVYdGNyZWF0ZS1kYXRlADIwMTAtMTItMjBUMTc6MDg6MzYrMDE6MDB6
+ 5RscAAAAJXRFWHRtb2RpZnktZGF0ZQAyMDEwLTEyLTIwVDE3OjA4OjM3KzAxOjAwgyNmnAAA
+ AABJRU5ErkJggg==
+ </office:binary-data></draw:image></draw:frame></draw:a></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/image-nospan.fodt b/writerperfect/qa/unit/data/writer/epubexport/image-nospan.fodt
new file mode 100644
index 0000000000..332052a9ef
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/image-nospan.fodt
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:styles>
+ <style:style style:name="Graphics" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" style:wrap="dynamic" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="fr1" style:family="graphic" style:parent-style-name="Graphics">
+ <style:graphic-properties style:vertical-pos="top" style:vertical-rel="baseline" fo:padding="0.049cm" fo:border="0.99pt dashed #ed1c24" style:shadow="none" draw:shadow-opacity="100%" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="standard"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="Standard">before<draw:frame draw:style-name="fr1" draw:name="Object0" text:anchor-type="as-char" svg:width="1.663cm" svg:height="1.663cm" draw:z-index="0"><draw:image loext:mime-type="image/png"><office:binary-data>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAAAFz
+ UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA
+ AAJiS0dEAACqjSMyAAAACW9GRnMAAAAGAAAAAAAMc1XTAAAACXBIWXMAAA3XAAAN1wFCKJt4
+ AAAACXZwQWcAAABMAAAAQACdMTgbAAABzUlEQVRo3u3ZPU/CQBjA8X+Jxs3ESUDj4iK+LA5+
+ BBfjqBE1cXB2MlFAEqMgxvhNNL4sLsK3UPQL6ObkoAETz+FKW2mxCPRYnucWUu76/OC59C49
+ cGOCKqrD9kHRc6ddPv7oW2WCwMh0nF63Myz7Tm8hPTNu0pgHMER3scepTbgK6enJNND83RLn
+ /878yRaPmgBZFDuMsNLeWB9gmFQHP77MIg9gsYciR50NFKvtjIy10yk84pSZA7DYpwR8scmF
+ QQCMuoQMpzbh0iAARrlnVn90CWHTsZcAiHPPdINQAuqsc2MQAAnKDUKWEhZ10twaBEDSJWQo
+ YlFj7S9CzwEegkXWIbQsRAQASFJhpplwbRAACS+hANRJBxMiAkDcJeQ4sQkBhYgMoJ+Ozlwo
+ 2YQ7AJ6CRxyiUGnVy3hVKb0Af9v7hUG2Wy9TEQCUelFTDULB2S+YKYGOMcpM6UIccOQnRA6A
+ cSp6ibfI+wkGADBGpTEd8xz1AaAfTQ7huA8AvUw5hVjuA0D/C5OaMN8XACRZ8F0zCggKAQhA
+ AAIQgAAEIAABCEAAAhCAAAQgAAH4zg3feY4w3Xs44M5+oW0qvCWoGcvaIlM3x/f/ab+O738A
+ hOCNQr34oD4AAAAldEVYdGNyZWF0ZS1kYXRlADIwMTAtMTItMjBUMTc6MDg6MzYrMDE6MDB6
+ 5RscAAAAJXRFWHRtb2RpZnktZGF0ZQAyMDEwLTEyLTIwVDE3OjA4OjM3KzAxOjAwgyNmnAAA
+ AABJRU5ErkJggg==
+ </office:binary-data></draw:image></draw:frame>after</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/image.fodt b/writerperfect/qa/unit/data/writer/epubexport/image.fodt
new file mode 100644
index 0000000000..52e6d2b972
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/image.fodt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:color="#000000" style:font-size-complex="12pt"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>before<text:span text:style-name="T1"><draw:frame draw:name="Object0" text:anchor-type="as-char" svg:y="0cm" svg:width="1.663cm" svg:height="1.663cm" draw:z-index="0"><draw:image loext:mime-type="image/png"><office:binary-data>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAAAFz
+ UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA
+ AAJiS0dEAACqjSMyAAAACW9GRnMAAAAGAAAAAAAMc1XTAAAACXBIWXMAAA3XAAAN1wFCKJt4
+ AAAACXZwQWcAAABMAAAAQACdMTgbAAABzUlEQVRo3u3ZPU/CQBjA8X+Jxs3ESUDj4iK+LA5+
+ BBfjqBE1cXB2MlFAEqMgxvhNNL4sLsK3UPQL6ObkoAETz+FKW2mxCPRYnucWUu76/OC59C49
+ cGOCKqrD9kHRc6ddPv7oW2WCwMh0nF63Myz7Tm8hPTNu0pgHMER3scepTbgK6enJNND83RLn
+ /878yRaPmgBZFDuMsNLeWB9gmFQHP77MIg9gsYciR50NFKvtjIy10yk84pSZA7DYpwR8scmF
+ QQCMuoQMpzbh0iAARrlnVn90CWHTsZcAiHPPdINQAuqsc2MQAAnKDUKWEhZ10twaBEDSJWQo
+ YlFj7S9CzwEegkXWIbQsRAQASFJhpplwbRAACS+hANRJBxMiAkDcJeQ4sQkBhYgMoJ+Ozlwo
+ 2YQ7AJ6CRxyiUGnVy3hVKb0Af9v7hUG2Wy9TEQCUelFTDULB2S+YKYGOMcpM6UIccOQnRA6A
+ cSp6ibfI+wkGADBGpTEd8xz1AaAfTQ7huA8AvUw5hVjuA0D/C5OaMN8XACRZ8F0zCggKAQhA
+ AAIQgAAEIAABCEAAAhCAAAQgAAH4zg3feY4w3Xs44M5+oW0qvCWoGcvaIlM3x/f/ab+O738A
+ hOCNQr34oD4AAAAldEVYdGNyZWF0ZS1kYXRlADIwMTAtMTItMjBUMTc6MDg6MzYrMDE6MDB6
+ 5RscAAAAJXRFWHRtb2RpZnktZGF0ZQAyMDEwLTEyLTIwVDE3OjA4OjM3KzAxOjAwgyNmnAAA
+ AABJRU5ErkJggg==
+ </office:binary-data></draw:image></draw:frame></text:span>after</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/line-break.fodt b/writerperfect/qa/unit/data/writer/epubexport/line-break.fodt
new file mode 100644
index 0000000000..1a6fca72b0
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/line-break.fodt
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:officeooo="http://openoffice.org/2009/office" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties officeooo:rsid="000075b1"/>
+ </style:style>
+ <style:style style:name="T2" style:family="text">
+ <style:text-properties fo:font-weight="bold"/>
+ </style:style>
+ <style:style style:name="T3" style:family="text">
+ <style:text-properties fo:font-weight="bold" officeooo:rsid="000075b1"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>a<text:line-break/>b</text:p>
+ <text:p><text:span text:style-name="T1">a</text:span><text:span text:style-name="T2">a<text:line-break/></text:span><text:span text:style-name="T3">b</text:span>b</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/link-charformat.fodt b/writerperfect/qa/unit/data/writer/epubexport/link-charformat.fodt
new file mode 100644
index 0000000000..b158ce3dbb
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/link-charformat.fodt
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>Before <text:a xlink:type="simple" xlink:href="https://libreoffice.org/"><text:span text:style-name="T1">https://libreoffice.org/</text:span></text:a> after.</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/link-invalid.odt b/writerperfect/qa/unit/data/writer/epubexport/link-invalid.odt
new file mode 100644
index 0000000000..3bbbdeb921
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/link-invalid.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/link-namedcharformat.fodt b/writerperfect/qa/unit/data/writer/epubexport/link-namedcharformat.fodt
new file mode 100644
index 0000000000..0e05c8d74d
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/link-namedcharformat.fodt
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:styles>
+ <style:style style:name="Internet_20_link" style:display-name="Internet link" style:family="text">
+ <style:text-properties fo:color="#ff0000" fo:language="zxx" fo:country="none" style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="font-color" style:language-asian="zxx" style:country-asian="none" style:language-complex="zxx" style:country-complex="none"/>
+ </style:style>
+ </office:styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="P1">A <text:a xlink:type="simple" xlink:href="http://libreoffice.org/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link">http://libreoffice.org</text:a> b – red via character style</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/link.fodt b/writerperfect/qa/unit/data/writer/epubexport/link.fodt
new file mode 100644
index 0000000000..9a2efcc0b7
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/link.fodt
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:body>
+ <office:text>
+ <text:p>Before <text:a xlink:type="simple" xlink:href="https://libreoffice.org/">https://libreoffice.org/</text:a> after.</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/list.fodt b/writerperfect/qa/unit/data/writer/epubexport/list.fodt
new file mode 100644
index 0000000000..9c02b9d097
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/list.fodt
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="P1" style:family="paragraph" style:list-style-name="L1"/>
+ <text:list-style style:name="L1">
+ <text:list-level-style-bullet text:level="1" text:bullet-char="•">
+ <style:list-level-properties text:list-level-position-and-space-mode="label-alignment">
+ <style:list-level-label-alignment text:label-followed-by="listtab" text:list-tab-stop-position="1.27cm" fo:text-indent="-0.635cm" fo:margin-left="1.27cm"/>
+ </style:list-level-properties>
+ </text:list-level-style-bullet>
+ </text:list-style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>A</text:p>
+ <text:list xml:id="list1647378619" text:style-name="L1">
+ <text:list-item>
+ <text:p text:style-name="P1">B</text:p>
+ </text:list-item>
+ </text:list>
+ <text:p>C</text:p>
+ <text:p>D</text:p>
+ <text:list xml:id="list111055674" text:style-name="L1">
+ <text:list-item>
+ <text:p text:style-name="P1">E</text:p>
+ <text:list>
+ <text:list-item>
+ <text:p text:style-name="P1">F</text:p>
+ </text:list-item>
+ </text:list>
+ </text:list-item>
+ </text:list>
+ <text:p>G</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/meta-xmp.fodt b/writerperfect/qa/unit/data/writer/epubexport/meta-xmp.fodt
new file mode 100644
index 0000000000..9287ecb25a
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/meta-xmp.fodt
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:meta>
+ <meta:initial-creator>unknown author from doc</meta:initial-creator>
+ <dc:title>unknown title from doc</dc:title>
+ <dc:language>de</dc:language>
+ <dc:date>2014-09-27T09:51:19.243117081</dc:date>
+ </office:meta>
+ <office:body>
+ <office:text>
+ <text:p><text:span>Hello world!</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/meta-xmp/metadata.xmp b/writerperfect/qa/unit/data/writer/epubexport/meta-xmp/metadata.xmp
new file mode 100644
index 0000000000..aa578159cb
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/meta-xmp/metadata.xmp
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/">
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+ <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <dc:identifier>deadbeef-e394-4cd6-9b83-7172794612e5</dc:identifier>
+ <dc:title>
+ <rdf:Alt>
+ <rdf:li>unknown title from xmp</rdf:li>
+ </rdf:Alt>
+ </dc:title>
+ <dc:creator>
+ <rdf:Seq>
+ <rdf:li>unknown author from xmp</rdf:li>
+ </rdf:Seq>
+ </dc:creator>
+ <dc:language>
+ <rdf:Bag>
+ <rdf:li>nl</rdf:li>
+ </rdf:Bag>
+ </dc:language>
+ <dc:date>
+ <rdf:Seq>
+ <rdf:li>2016-11-20T17:16:07Z</rdf:li>
+ </rdf:Seq>
+ </dc:date>
+ </rdf:Description>
+ </rdf:RDF>
+</x:xmpmeta>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/meta.fodt b/writerperfect/qa/unit/data/writer/epubexport/meta.fodt
new file mode 100644
index 0000000000..8b1af3e44f
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/meta.fodt
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document office:mimetype="application/vnd.oasis.opendocument.text" office:version="1.2" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
+ <office:meta>
+ <meta:initial-creator>A U Thor</meta:initial-creator>
+ <dc:title>Title</dc:title>
+ <dc:language>hu</dc:language>
+ <dc:date>2017-09-27T09:51:19.243117081</dc:date>
+ </office:meta>
+ <office:body>
+ <office:text>
+ <text:p><text:span>Hello world!</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/meta/cover.png b/writerperfect/qa/unit/data/writer/epubexport/meta/cover.png
new file mode 100644
index 0000000000..fdad35484e
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/meta/cover.png
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/named-style-inheritance.fodt b/writerperfect/qa/unit/data/writer/epubexport/named-style-inheritance.fodt
new file mode 100644
index 0000000000..2bd6197774
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/named-style-inheritance.fodt
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Mono" svg:font-family="&apos;Liberation Mono&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
+ <style:font-face style:name="Liberation Serif" svg:font-family="&apos;Liberation Serif&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
+ <style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:style style:name="Heading" style:family="paragraph" style:class="text">
+ <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="always"/>
+ <style:text-properties style:font-name="Liberation Sans" fo:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable" fo:font-size="14pt"/>
+ </style:style>
+ <style:style style:name="Heading_20_1" style:display-name="Heading 1" style:family="paragraph" style:parent-style-name="Heading" style:default-outline-level="1" style:class="text">
+ </style:style>
+ <style:style style:name="Blue_20_Source_20_Text" style:display-name="Blue Source Text" style:family="text" style:parent-style-name="Source_20_Text">
+ <style:text-properties fo:color="#0000ff"/>
+ </style:style>
+ <style:style style:name="Source_20_Text" style:display-name="Source Text" style:family="text">
+ <style:text-properties style:font-name="Liberation Mono" fo:font-family="&apos;Liberation Mono&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:page-layout style:name="pm1">
+ <style:page-layout-properties fo:page-width="21.59cm" fo:page-height="27.94cm">
+ </style:page-layout-properties>
+ <style:header-style/>
+ <style:footer-style/>
+ </style:page-layout>
+ </office:automatic-styles>
+ <office:master-styles>
+ <style:master-page style:name="Standard" style:page-layout-name="pm1"/>
+ </office:master-styles>
+ <office:body>
+ <office:text>
+ <text:h text:style-name="Heading_20_1" text:outline-level="1">Heading 1</text:h>
+ <text:p>Text Body<text:span text:style-name="Blue_20_Source_20_Text">blue</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/nested-span.fodt b/writerperfect/qa/unit/data/writer/epubexport/nested-span.fodt
new file mode 100644
index 0000000000..a593ff3482
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/nested-span.fodt
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Mono" svg:font-family="&apos;Liberation Mono&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:style style:name="Source_20_Text" style:display-name="Source Text" style:family="text">
+ <style:text-properties style:font-name="Liberation Mono" fo:font-family="&apos;Liberation Mono&apos;" style:font-family-generic="modern" style:font-pitch="fixed"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:color="#ff0000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>before<text:span text:style-name="Source_20_Text"><text:span text:style-name="T1">red</text:span></text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/outline-level.fodt b/writerperfect/qa/unit/data/writer/epubexport/outline-level.fodt
new file mode 100644
index 0000000000..11cbf3dc22
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/outline-level.fodt
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document office:mimetype="application/vnd.oasis.opendocument.text" office:version="1.2" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0">
+ <office:body>
+ <office:text>
+ <text:h text:outline-level="1">Chapter 1</text:h>
+ <text:p>foo</text:p>
+ <text:h text:outline-level="2">Chapter 1.1</text:h>
+ <text:p>foo</text:p>
+ <text:h text:outline-level="1">Chapter 2</text:h>
+ <text:p>bar</text:p>
+ <text:h text:outline-level="2">Chapter 2.1</text:h>
+ <text:p>bar</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/para-autostyle-char-props.fodt b/writerperfect/qa/unit/data/writer/epubexport/para-autostyle-char-props.fodt
new file mode 100644
index 0000000000..ceb556940b
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/para-autostyle-char-props.fodt
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Serif" svg:font-family="&apos;Liberation Serif&apos;" style:font-family-generic="roman" style:font-pitch="variable"/>
+ <style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:automatic-styles>
+ <style:style style:name="P1" style:family="paragraph">
+ <style:text-properties style:font-name="Liberation Serif"/>
+ </style:style>
+ <style:style style:name="P2" style:family="paragraph">
+ <style:text-properties style:font-name="Liberation Sans"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="P1">This is serif.</text:p>
+ <text:p text:style-name="P2">This is sans.</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/para-char-props.fodt b/writerperfect/qa/unit/data/writer/epubexport/para-char-props.fodt
new file mode 100644
index 0000000000..67fe02db2b
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/para-char-props.fodt
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="P1" style:family="paragraph">
+ <style:text-properties fo:font-weight="bold" />
+ </style:style>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:font-style="italic"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="P1">a<text:span text:style-name="T1">b</text:span>c</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/para-namedstyle.fodt b/writerperfect/qa/unit/data/writer/epubexport/para-namedstyle.fodt
new file mode 100644
index 0000000000..887a5c1b2e
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/para-namedstyle.fodt
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:font-face-decls>
+ <style:font-face style:name="Liberation Sans" svg:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable"/>
+ </office:font-face-decls>
+ <office:styles>
+ <style:style style:name="Heading" style:family="paragraph" style:class="text">
+ <style:paragraph-properties fo:margin-top="0.423cm" fo:margin-bottom="0.212cm" fo:keep-with-next="always"/>
+ <style:text-properties style:font-name="Liberation Sans" fo:font-family="&apos;Liberation Sans&apos;" style:font-family-generic="swiss" style:font-pitch="variable" fo:font-size="14pt"/>
+ </style:style>
+ </office:styles>
+ <office:body>
+ <office:text>
+ <text:h text:style-name="Heading" text:outline-level="1">Heading</text:h>
+ <text:p>Text Body</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/popup-api.odt b/writerperfect/qa/unit/data/writer/epubexport/popup-api.odt
new file mode 100644
index 0000000000..30f4cc8f52
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/popup-api.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/popup-media.odt b/writerperfect/qa/unit/data/writer/epubexport/popup-media.odt
new file mode 100644
index 0000000000..5f45e7ce8a
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/popup-media.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/popup-media/libreoffice.png b/writerperfect/qa/unit/data/writer/epubexport/popup-media/libreoffice.png
new file mode 100644
index 0000000000..cc74f136fb
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/popup-media/libreoffice.png
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/popup.odt b/writerperfect/qa/unit/data/writer/epubexport/popup.odt
new file mode 100644
index 0000000000..30f4cc8f52
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/popup.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/popup/libreoffice.png b/writerperfect/qa/unit/data/writer/epubexport/popup/libreoffice.png
new file mode 100644
index 0000000000..cc74f136fb
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/popup/libreoffice.png
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/section.fodt b/writerperfect/qa/unit/data/writer/epubexport/section.fodt
new file mode 100644
index 0000000000..84fb6d2ae9
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/section.fodt
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:body>
+ <office:text>
+ <text:p>Before.</text:p>
+ <text:section text:name="Section1">
+ <text:p>In section.</text:p>
+ </text:section>
+ <text:p>After.</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/simple-ruby.odt b/writerperfect/qa/unit/data/writer/epubexport/simple-ruby.odt
new file mode 100644
index 0000000000..160dd00ee1
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/simple-ruby.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/span-autostyle.fodt b/writerperfect/qa/unit/data/writer/epubexport/span-autostyle.fodt
new file mode 100644
index 0000000000..3122bef8dc
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/span-autostyle.fodt
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:font-weight="bold" style:font-weight-asian="bold" style:font-weight-complex="bold"/>
+ </style:style>
+ <style:style style:name="T2" style:family="text">
+ <style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/>
+ </style:style>
+ <style:style style:name="T3" style:family="text">
+ <style:text-properties style:text-underline-style="solid" style:text-underline-width="auto" style:text-underline-color="font-color"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p text:style-name="Standard"><text:span text:style-name="T1">Hello</text:span> <text:span text:style-name="T2">world</text:span><text:span text:style-name="T3">!</text:span></text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/table-cell-border.fodt b/writerperfect/qa/unit/data/writer/epubexport/table-cell-border.fodt
new file mode 100644
index 0000000000..28beff5ef4
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/table-cell-border.fodt
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="17.59cm" table:align="margins"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="8.795cm" style:rel-column-width="32767*"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.05pt solid #000000" fo:border-right="none" fo:border-top="0.05pt solid #000000" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.B1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.A2" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.05pt solid #000000" fo:border-right="none" fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.B2" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.05pt solid #000000" fo:border-right="0.05pt solid #000000" fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>Before</text:p>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A" table:number-columns-repeated="2"/>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>A1</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.B1" office:value-type="string">
+ <text:p>B1</text:p>
+ </table:table-cell>
+ </table:table-row>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A2" office:value-type="string">
+ <text:p>A2</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.B2" office:value-type="string">
+ <text:p>B2</text:p>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p>After</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/table-cell-width.fodt b/writerperfect/qa/unit/data/writer/epubexport/table-cell-width.fodt
new file mode 100644
index 0000000000..3455509282
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/table-cell-width.fodt
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="17.59cm" table:align="margins" style:shadow="none"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="8.999cm" style:rel-column-width="5102*"/>
+ </style:style>
+ <style:style style:name="Table1.B" style:family="table-column">
+ <style:table-column-properties style:column-width="4.191cm" style:rel-column-width="2376*"/>
+ </style:style>
+ <style:style style:name="Table1.C" style:family="table-column">
+ <style:table-column-properties style:column-width="4.399cm" style:rel-column-width="2494*"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="1pt solid #000000" fo:border-right="none" fo:border-top="1pt solid #000000" fo:border-bottom="1pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.C1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border="1pt solid #000000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>Before</text:p>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A"/>
+ <table:table-column table:style-name="Table1.B"/>
+ <table:table-column table:style-name="Table1.C"/>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>A1, this is wider</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>B1, than this</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.C1" office:value-type="string">
+ <text:p>C1, or this</text:p>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p>After</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/table-row-height.fodt b/writerperfect/qa/unit/data/writer/epubexport/table-row-height.fodt
new file mode 100644
index 0000000000..28b06a4290
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/table-row-height.fodt
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="17.59cm" table:align="margins"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="17.59cm" style:rel-column-width="65535*"/>
+ </style:style>
+ <style:style style:name="Table1.1" style:family="table-row">
+ <style:table-row-properties style:row-height="2cm"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.2" style:family="table-row">
+ <style:table-row-properties style:row-height="1cm"/>
+ </style:style>
+ <style:style style:name="Table1.A2" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.05pt solid #000000" fo:border-right="0.05pt solid #000000" fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>Before</text:p>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A"/>
+ <table:table-row table:style-name="Table1.1">
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>This row has a larger height</text:p>
+ </table:table-cell>
+ </table:table-row>
+ <table:table-row table:style-name="Table1.2">
+ <table:table-cell table:style-name="Table1.A2" office:value-type="string">
+ <text:p>Than this one.</text:p>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p>After</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/table-row-span.fodt b/writerperfect/qa/unit/data/writer/epubexport/table-row-span.fodt
new file mode 100644
index 0000000000..dd007dcc19
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/table-row-span.fodt
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="17.59cm" table:align="margins"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="8.795cm" style:rel-column-width="32767*"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.05pt solid #000000" fo:border-right="none" fo:border-top="0.05pt solid #000000" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.B1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border="0.05pt solid #000000"/>
+ </style:style>
+ <style:style style:name="Table1.B2" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border-left="0.05pt solid #000000" fo:border-right="0.05pt solid #000000" fo:border-top="none" fo:border-bottom="0.05pt solid #000000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A" table:number-columns-repeated="2"/>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1" table:number-rows-spanned="2" office:value-type="string">
+ <text:p>Row spanning</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.B1" office:value-type="string">
+ <text:p>B1</text:p>
+ </table:table-cell>
+ </table:table-row>
+ <table:table-row>
+ <table:covered-table-cell/>
+ <table:table-cell table:style-name="Table1.B2" office:value-type="string">
+ <text:p>B2</text:p>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p/>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/table-width.fodt b/writerperfect/qa/unit/data/writer/epubexport/table-width.fodt
new file mode 100644
index 0000000000..17793628df
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/table-width.fodt
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="8.795cm" style:rel-width="50%" table:align="left"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="8.795cm" style:rel-column-width="4986*"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm" fo:border="0.05pt solid #000000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>Before</text:p>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A"/>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>In table</text:p>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p>After</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/table.fodt b/writerperfect/qa/unit/data/writer/epubexport/table.fodt
new file mode 100644
index 0000000000..9135c902f5
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/table.fodt
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:automatic-styles>
+ <style:style style:name="Table1" style:family="table">
+ <style:table-properties style:width="17.59cm" table:align="margins"/>
+ </style:style>
+ <style:style style:name="Table1.A" style:family="table-column">
+ <style:table-column-properties style:column-width="8.795cm" style:rel-column-width="32767*"/>
+ </style:style>
+ <style:style style:name="Table1.A1" style:family="table-cell">
+ <style:table-cell-properties fo:padding="0.097cm"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:p>Before</text:p>
+ <table:table table:name="Table1" table:style-name="Table1">
+ <table:table-column table:style-name="Table1.A" table:number-columns-repeated="2"/>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>A1</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>B1</text:p>
+ </table:table-cell>
+ </table:table-row>
+ <table:table-row>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>A2</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="Table1.A1" office:value-type="string">
+ <text:p>B2</text:p>
+ </table:table-cell>
+ </table:table-row>
+ </table:table>
+ <text:p>After</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/epubexport/tdf115623-many-pagespans.odt b/writerperfect/qa/unit/data/writer/epubexport/tdf115623-many-pagespans.odt
new file mode 100644
index 0000000000..3e7c291aa1
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/tdf115623-many-pagespans.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/tdf115623-single-writing-mode.odt b/writerperfect/qa/unit/data/writer/epubexport/tdf115623-single-writing-mode.odt
new file mode 100644
index 0000000000..4c374a1bd4
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/tdf115623-single-writing-mode.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/tdf115623-split-by-chapter.odt b/writerperfect/qa/unit/data/writer/epubexport/tdf115623-split-by-chapter.odt
new file mode 100644
index 0000000000..ee6d48296f
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/tdf115623-split-by-chapter.odt
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/epubexport/text-box.fodt b/writerperfect/qa/unit/data/writer/epubexport/text-box.fodt
new file mode 100644
index 0000000000..d3a1786821
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/epubexport/text-box.fodt
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<office:document xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:number="urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:chart="urn:oasis:names:tc:opendocument:xmlns:chart:1.0" xmlns:dr3d="urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0" xmlns:math="http://www.w3.org/1998/Math/MathML" xmlns:form="urn:oasis:names:tc:opendocument:xmlns:form:1.0" xmlns:script="urn:oasis:names:tc:opendocument:xmlns:script:1.0" xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:ooow="http://openoffice.org/2004/writer" xmlns:oooc="http://openoffice.org/2004/calc" xmlns:dom="http://www.w3.org/2001/xml-events" xmlns:xforms="http://www.w3.org/2002/xforms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:rpt="http://openoffice.org/2005/report" xmlns:of="urn:oasis:names:tc:opendocument:xmlns:of:1.2" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:grddl="http://www.w3.org/2003/g/data-view#" xmlns:officeooo="http://openoffice.org/2009/office" xmlns:tableooo="http://openoffice.org/2009/table" xmlns:drawooo="http://openoffice.org/2010/draw" xmlns:calcext="urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0" xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0" xmlns:field="urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0" xmlns:formx="urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0" xmlns:css3t="http://www.w3.org/TR/css3-text/" office:version="1.2" office:mimetype="application/vnd.oasis.opendocument.text">
+ <office:styles>
+ <style:style style:name="Graphics" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" style:wrap="dynamic" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph"/>
+ </style:style>
+ <style:style style:name="Frame" style:family="graphic">
+ <style:graphic-properties text:anchor-type="paragraph" svg:x="0cm" svg:y="0cm" fo:margin-left="0.201cm" fo:margin-right="0.201cm" fo:margin-top="0.201cm" fo:margin-bottom="0.201cm" style:wrap="parallel" style:number-wrapped-paragraphs="no-limit" style:wrap-contour="false" style:vertical-pos="top" style:vertical-rel="paragraph-content" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" fo:padding="0.15cm" fo:border="0.06pt solid #000000"/>
+ </style:style>
+ </office:styles>
+ <office:automatic-styles>
+ <style:style style:name="T1" style:family="text">
+ <style:text-properties fo:font-style="italic" style:font-style-asian="italic" style:font-style-complex="italic"/>
+ </style:style>
+ <style:style style:name="fr1" style:family="graphic" style:parent-style-name="Frame">
+ <style:graphic-properties fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0cm" style:wrap="none" style:vertical-pos="top" style:vertical-rel="paragraph" style:horizontal-pos="center" style:horizontal-rel="paragraph" fo:padding="0.049cm" fo:border="0.99pt dashed #ed1c24" style:shadow="none" draw:shadow-opacity="100%"/>
+ </style:style>
+ <style:style style:name="fr2" style:family="graphic" style:parent-style-name="Graphics">
+ <style:graphic-properties fo:margin-left="0cm" fo:margin-right="0cm" fo:margin-top="0cm" fo:margin-bottom="0cm" style:run-through="foreground" style:wrap="none" style:vertical-pos="top" style:vertical-rel="baseline" style:horizontal-pos="center" style:horizontal-rel="paragraph-content" fo:padding="0cm" fo:border="none" style:shadow="none" draw:shadow-opacity="100%" style:mirror="none" fo:clip="rect(0cm, 0cm, 0cm, 0cm)" draw:luminance="0%" draw:contrast="0%" draw:red="0%" draw:green="0%" draw:blue="0%" draw:gamma="100%" draw:color-inversion="false" draw:image-opacity="100%" draw:color-mode="standard" loext:rel-width-rel="paragraph"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:body>
+ <office:text>
+ <text:sequence-decls>
+ <text:sequence-decl text:display-outline-level="0" text:name="Illustration"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Table"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Text"/>
+ <text:sequence-decl text:display-outline-level="0" text:name="Drawing"/>
+ </text:sequence-decls>
+ <text:p text:style-name="Standard"><draw:frame draw:style-name="fr1" draw:name="Frame1" text:anchor-type="char" svg:width="5.674cm" draw:z-index="0"><draw:text-box fo:min-height="3.336cm"><text:p text:style-name="Frame_20_contents"><draw:frame draw:style-name="fr2" draw:name="Object0" text:anchor-type="as-char" svg:width="1.663cm" style:rel-width="100%" svg:height="1.663cm" style:rel-height="scale" draw:z-index="1"><draw:image loext:mime-type="image/png"><office:binary-data>iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAQAAAAAYLlVAAAABGdBTUEAALGPC/xhBQAAAAFz
+ UkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAA
+ AAJiS0dEAACqjSMyAAAACW9GRnMAAAAGAAAAAAAMc1XTAAAACXBIWXMAAA3XAAAN1wFCKJt4
+ AAAACXZwQWcAAABMAAAAQACdMTgbAAABzUlEQVRo3u3ZPU/CQBjA8X+Jxs3ESUDj4iK+LA5+
+ BBfjqBE1cXB2MlFAEqMgxvhNNL4sLsK3UPQL6ObkoAETz+FKW2mxCPRYnucWUu76/OC59C49
+ cGOCKqrD9kHRc6ddPv7oW2WCwMh0nF63Myz7Tm8hPTNu0pgHMER3scepTbgK6enJNND83RLn
+ /878yRaPmgBZFDuMsNLeWB9gmFQHP77MIg9gsYciR50NFKvtjIy10yk84pSZA7DYpwR8scmF
+ QQCMuoQMpzbh0iAARrlnVn90CWHTsZcAiHPPdINQAuqsc2MQAAnKDUKWEhZ10twaBEDSJWQo
+ YlFj7S9CzwEegkXWIbQsRAQASFJhpplwbRAACS+hANRJBxMiAkDcJeQ4sQkBhYgMoJ+Ozlwo
+ 2YQ7AJ6CRxyiUGnVy3hVKb0Af9v7hUG2Wy9TEQCUelFTDULB2S+YKYGOMcpM6UIccOQnRA6A
+ cSp6ibfI+wkGADBGpTEd8xz1AaAfTQ7huA8AvUw5hVjuA0D/C5OaMN8XACRZ8F0zCggKAQhA
+ AAIQgAAEIAABCEAAAhCAAAQgAAH4zg3feY4w3Xs44M5+oW0qvCWoGcvaIlM3x/f/ab+O738A
+ hOCNQr34oD4AAAAldEVYdGNyZWF0ZS1kYXRlADIwMTAtMTItMjBUMTc6MDg6MzYrMDE6MDB6
+ 5RscAAAAJXRFWHRtb2RpZnktZGF0ZQAyMDEwLTEyLTIwVDE3OjA4OjM3KzAxOjAwgyNmnAAA
+ AABJRU5ErkJggg==
+ </office:binary-data></draw:image></draw:frame><text:line-break/><text:span text:style-name="T1">Illustration </text:span><text:span text:style-name="T1"><text:sequence text:ref-name="refIllustration0" text:name="Illustration" text:formula="ooow:Illustration+1" style:num-format="1">1</text:sequence></text:span><text:span text:style-name="T1">: foo</text:span></text:p></draw:text-box></draw:frame>bar</text:p>
+ </office:text>
+ </office:body>
+</office:document>
diff --git a/writerperfect/qa/unit/data/writer/libabw/fail/.gitignore b/writerperfect/qa/unit/data/writer/libabw/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libabw/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libabw/indeterminate/.gitignore b/writerperfect/qa/unit/data/writer/libabw/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libabw/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libabw/pass/hello.abw b/writerperfect/qa/unit/data/writer/libabw/pass/hello.abw
new file mode 100644
index 0000000000..8103ce8236
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libabw/pass/hello.abw
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE abiword PUBLIC "-//ABISOURCE//DTD AWML 1.0 Strict//EN" "http://www.abisource.com/awml.dtd">
+<abiword template="false" xmlns:ct="http://www.abisource.com/changetracking.dtd" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:math="http://www.w3.org/1998/Math/MathML" xid-max="2" xmlns:dc="http://purl.org/dc/elements/1.1/" styles="unlocked" fileformat="1.0" xmlns:svg="http://www.w3.org/2000/svg" xmlns:awml="http://www.abisource.com/awml.dtd" xmlns="http://www.abisource.com/awml.dtd" xmlns:xlink="http://www.w3.org/1999/xlink" version="0.99.2" xml:space="preserve" props="dom-dir:ltr; document-footnote-restart-section:0; document-endnote-type:numeric; document-endnote-place-enddoc:1; document-endnote-initial:1; lang:en-US; document-endnote-restart-section:0; document-footnote-restart-page:0; document-footnote-type:numeric; document-footnote-initial:1; document-endnote-place-endsection:0">
+<!-- ======================================================================== -->
+<!-- This file is an AbiWord document. -->
+<!-- AbiWord is a free, Open Source word processor. -->
+<!-- More information about AbiWord is available at http://www.abisource.com/ -->
+<!-- You should not edit this file by hand. -->
+<!-- ======================================================================== -->
+
+<metadata>
+<m key="abiword.date_last_changed">Sat Mar 29 15:05:47 2014
+</m>
+<m key="abiword.generator">AbiWord</m>
+<m key="dc.creator">David Tardon</m>
+<m key="dc.date">Sat Mar 29 15:05:47 2014
+</m>
+<m key="dc.format">application/x-abiword</m>
+</metadata>
+<rdf>
+</rdf>
+<history version="1" edit-time="50" last-saved="1396101947" uid="1c0ee030-b74b-11e3-87e4-f1c43e104756">
+<version id="1" started="1396101947" uid="3a377838-b74b-11e3-87e4-f1c43e104756" auto="0" top-xid="2"/>
+</history>
+<styles>
+<s type="P" name="Normal" followedby="Current Settings" props="font-family:Times New Roman; margin-top:0pt; color:000000; margin-left:0pt; text-position:normal; widows:2; font-style:normal; text-indent:0in; font-variant:normal; font-weight:normal; margin-right:0pt; font-size:12pt; text-decoration:none; margin-bottom:0pt; line-height:1.0; bgcolor:transparent; text-align:left; font-stretch:normal"/>
+</styles>
+<pagesize pagetype="Letter" orientation="portrait" width="8.500000" height="11.000000" units="in" page-scale="1.000000"/>
+<section xid="1" props="page-margin-footer:0.5in; page-margin-header:0.5in">
+<p style="Normal" xid="2"><c>hello world</c></p>
+</section>
+</abiword>
diff --git a/writerperfect/qa/unit/data/writer/libabw/pass/hello.zabw b/writerperfect/qa/unit/data/writer/libabw/pass/hello.zabw
new file mode 100644
index 0000000000..c83395b860
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libabw/pass/hello.zabw
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/fail/TCR.tcr b/writerperfect/qa/unit/data/writer/libe-book/fail/TCR.tcr
new file mode 100644
index 0000000000..448021cc26
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/fail/TCR.tcr
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/indeterminate/.gitignore b/writerperfect/qa/unit/data/writer/libe-book/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/Broad_Band_eBook.lrf b/writerperfect/qa/unit/data/writer/libe-book/pass/Broad_Band_eBook.lrf
new file mode 100644
index 0000000000..5e5b69d65a
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/Broad_Band_eBook.lrf
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2 b/writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2
new file mode 100644
index 0000000000..4348cb75be
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <description>
+ <title-info>
+ <author>
+ <first-name>David</first-name>
+ <last-name>Tardon</last-name>
+ </author>
+ <book-title>Hello world</book-title>
+ <lang>en</lang>
+ </title-info>
+ <document-info>
+ <author>
+ <first-name>David</first-name>
+ <last-name>Tardon</last-name>
+ </author>
+ <date>2013-11-17</date>
+ <version>1.0</version>
+ </document-info>
+ </description>
+ <body>
+ <section>
+ <p>Hello world.</p>
+ </section>
+ </body>
+</FictionBook>
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2.zip b/writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2.zip
new file mode 100644
index 0000000000..848240452c
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/FictionBook2.fb2.zip
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/PalmDOC.pdb b/writerperfect/qa/unit/data/writer/libe-book/pass/PalmDOC.pdb
new file mode 100644
index 0000000000..e64f514880
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/PalmDOC.pdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/PeanutPress.pdb b/writerperfect/qa/unit/data/writer/libe-book/pass/PeanutPress.pdb
new file mode 100644
index 0000000000..ac69913ee8
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/PeanutPress.pdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/Plucker.pdb b/writerperfect/qa/unit/data/writer/libe-book/pass/Plucker.pdb
new file mode 100644
index 0000000000..0ed82465ee
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/Plucker.pdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/TealDoc.pdb b/writerperfect/qa/unit/data/writer/libe-book/pass/TealDoc.pdb
new file mode 100644
index 0000000000..577a967c26
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/TealDoc.pdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libe-book/pass/zTXT.pdb b/writerperfect/qa/unit/data/writer/libe-book/pass/zTXT.pdb
new file mode 100644
index 0000000000..6461b4ff9b
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libe-book/pass/zTXT.pdb
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libetonyek/fail/.gitignore b/writerperfect/qa/unit/data/writer/libetonyek/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libetonyek/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libetonyek/indeterminate/.gitignore b/writerperfect/qa/unit/data/writer/libetonyek/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libetonyek/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_4.pages b/writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_4.pages
new file mode 100644
index 0000000000..43c9213922
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_4.pages
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_5.pages b/writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_5.pages
new file mode 100644
index 0000000000..cd4438a34b
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libetonyek/pass/Pages_5.pages
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/fail/.gitignore b/writerperfect/qa/unit/data/writer/libmwaw/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/indeterminate/GreatWorks_v2.hqx b/writerperfect/qa/unit/data/writer/libmwaw/indeterminate/GreatWorks_v2.hqx
new file mode 100644
index 0000000000..f89b7631d9
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/indeterminate/GreatWorks_v2.hqx
@@ -0,0 +1,180 @@
+(This file must be converted with BinHex 4.0)
+:$h4PFh4(FQ9KG&G[FQYc-J"D9e*8@N9#8J%!!!!D#!!!%,[PXJ)!@PG59!#3#J-
+B!Q3&+!2m!%J!5!"M!!%!!!%!!!!"!!!"!*!R!3!)!!N!N!8"!!%!$!!!!3!!5!!
+!!%J!!!")!!!!5!#3$`i!N"0)!!!!5!!!!Y!!!!)F!*#M5!!!!%J!!!")!!!#(!!
+!!%J!!!")!!!#`3!!!K`!N*)#`J!!!%J!!!,3!!!#(!!!!%J!!!")!!!!5!!!!K`
+!!!")!!!!5!!!!Xm!!!)F!*#5!Y!!!!")!!!#d!!!!K`!!!!#!!)!!!C)!!!!$`!
+!"1!!"!!!!!J!!!!)!&B!N#X3!!%!&3!!#8KPE(CPG'PMB3#3"!%!!3!!!3!"!!%
+!!3!"!!%!!!!)!!%!$J!+!*!&&3!!!!`!N!F"!*!2!3#3#JB&"3!!)2q3"#i!!#$
+rN!3Z!!!Jrj!%,J!!)2q3"#i!!#$rN!3Z!!!Jrj!%,J!!)2q3"#i!!#$rN!3Z!!!
+Jrj!%,J!!)2q3"#i!!#$rN!3Z!!!Jrj!%,J!!)2q3"#i!!#$rN!3Z!!!Jrj!%,J!
+!)2q3"#i!!#$rN!3Z!!!Jrj!%,J!!)2q3"#i!!#$rN!3Z!*!'#!#3"3J!N"%)!*!
+&$J!!!X)!!!")!!!#d!!!!K`!N!KK)'C[Eh4PFJ#3"!%!!`!!%3!+!"F!!J!D!!)
+!!!&X!!B!$J!+!*!&&3!!!!`!N!F"!!i!#J#3"48!!3!-!*!(!3!1!!S!"!!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9%8"!!(!!F!!N!3#G!#3"!'m!!!)!*!&!e3!!!J!cP8Urmj
+9+a)!N"B$k3!"!*!)!qd!!3#3$!`!N!3#!!!!!J#3"3)8(!!!!"3!%!!-!*!(%!!
+-!*!0"35PTDAA!!!!H!!2!!!!5!")!*!%![!#32rarqi$#3*5B`)&+!2m!3!!!!&
+S!@J!N!31X!Y!!!%"!!"N!!%!!!!"!!)!!!!"*`m!!3#3$K!!N!N3!2qerkB2,3Z
+D!!J"!*!0'3%!!!!)!$B!%J'U!FS!!!!B!3#!!*!%%%&MG'%J3faKFh0TBb!a,M!
+!!!%!!!!"e3!!!08!!!#f!'*[9"S8!!!!(!#f!!C-38*-!!!!1P&28&3!!!"'88K
+%8J!!!&*69&)J!!%!AP"6493!!!"f9e0*@J!!!)*fCA*c!!!!MJ!!rrm!N!9LD`!
+!!2rr!!!!"J"LEaJ!!2rr!!!!$!"LDX!!!2rr!!!!*!"LDLJ!!Irr!!!!+!"LDKJ
+!!2rr!!!!-3"LDI`!!2rr!!!!V3"LDM3!![rr)!!!Z3"LDL4LL!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/BeagleWorks_v1.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/BeagleWorks_v1.hqx
new file mode 100644
index 0000000000..ab059fee73
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/BeagleWorks_v1.hqx
@@ -0,0 +1,49 @@
+(This file must be converted with BinHex 4.0)
+:#R4PFh4#C@&RE'8!3PGhF%*ADh-"!!!!#H-!!!&Lml4#9fYc3PGhF%*AGh!!N!8
+"!*!(!3#3"J%A!*!%"D`!#3!!!!N!N!`"!*!%&`!$!!m!!!")!%J!N!3#m!*!rr(
+rlJ-*!P*M!J8S!r`"!!!!!@J"D!#3"!k`#d!!!3%!!'3!!3!!!!%!!J!!!!%R$`!
+"!*!1%!#3#4!!rlArTJmY#jS!#!%!N!dC!3!!!4F!N!J"&`#31!C(C@jPGQ%(3Qp
+[Dfe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!&!J#
+3"!%"I`&%!*!%!Dd",!!`!!!!)5!#!!!!J!!I!!!!J!!I!!%!L!(X!*!%!Dd",!!
+`!!!!)5!#!!!!J!!I!!!!J!!I!!%!L!(X!*!%!l$rN!3!A"Q8!!%!!`!3!&`CN!!
+!!3!3!!!#)!!!!L!!!3&)!#!!N!3"i!!"!UJ#G3!!,`%[#`&J!P8!(`!3!8J!9J%
+d!'8"03!"!!%$+!!!!S3!!2r`!*!%!aJ#C!!!!%J!!!")!%J!!!")!%J!!!")!!!
+!!3"F'Ca#3!"aFHS!FA(U!(&akJ#3"J1Z!!!$VJ&%!!!#(!!!%`!!B3#3$K1kl`!
+")!!q!!!$)!"B!!!#)!"a!!!%)#X"!!!%)$%"!!!&)!#39J%"!Im"N)J!A"QB!!%
+!E!!-!!!!)5!!2bJ!$NKZm[%!!!%!!!!"(!!!!"`!!!"'rrrrr-b3"1$Xc*!%rrr
+mcrrrc*!%i1c-c-c2rrm-+R4PFh4#C@&RE'8`!J)!!!"#9hG`3PGVF`#3#%*AGh"
+#9fYc!*!BcI@E+3#3"J&Lc*!'crrrc1$YhrrrlT!)rrrpi!lrN!i!$rrrc*!+rrr
+`rrrmc-c-hGhGh-c-c-rrN!61lZlZc-c-cZlZlXcrr`rqlGhGhZk3"0hGhHl[m!!
+!!$B!!3!"!'3!!3!"!b!L!!!"!"J!N!3)!%i!!J(F!RB!!!!-#d*PB@GXC9G[FQY
+c!!!"!!!!!4`!!!!F!!!!4J"F(6JD&!!!!"`!4J!"Ge"[F`!!!"*69&)J!!!!(J2
+Trrm!N!Lrp2rr!!!!$!#3"02[:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_1.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_1.0
new file mode 100644
index 0000000000..3d3118a5ba
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_1.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_2.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_2.0
new file mode 100644
index 0000000000..8526384a67
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_2.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_6.0.cwk b/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_6.0.cwk
new file mode 100644
index 0000000000..9162e3d2c6
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/ClarisWorks_6.0.cwk
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/DOCMaker_4.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/DOCMaker_4.hqx
new file mode 100644
index 0000000000..e282534705
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/DOCMaker_4.hqx
@@ -0,0 +1,1496 @@
+(This file must be converted with BinHex 4.0)
+:#(4PFh3ZC'dd!%&38%a%Dd"3)3#3"J%Ka9,!!*!%!3!!!4Y@!!%D9J!!"Qm!N#!
+)G'9cG#jNE63!!J!!!%&38%a%Dd"3)!#3#d&38%a%Dd"3)!#3&md63hd!N!8")F8
+!N)3@mf!+!!"$4%9'!"i!!%MRi-K1ZJ$b3IVrkL!)S&91ZJ#3!%cI%`G1qJ%@3IV
+reY(m!!!@lb!)S&91G8MR"J"C6b"[!"!LE`!8,#m!'"kB(eJ!!4pB!!)I@!!$+KG
+d!'"%%KJ3!3*!!)"R$0)"%!&)J%M!e)"J+"k"(eJ!!4!"!N!!3'F--"IP51*!5-$
+8J'!1(eJ!!KpB!!-N&q@+iS,GX5J!8i9+K@ki@%p-h`"J6R9)ja!J*%!J,!!!*JU
+@J'G!5S"Q(%)X!!3`2+LITdB[#$!mSCLM4V(I9X"%!"P!!!3[!bm+6VVr4#m!6VV
+r6Nr[!!`T5J!!5L`!"'F%F!'KQ%cI"!K1G8(kr[V4r!!!&ZSJ#+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@9ZG3P4G@Pd)%PdC@d$BA"X"%9NDA3%4QPXC34MER4X"("bG$%%F(*d-J4QEfj
+d"'CTEQ3&B@*%E'F%F(*d-34`FR3b"'C[ER3%CQPZC!4KE(*d"@&L4'aR"(0dC(B
+%BfKKF!4KE(*d$NphEQ9b)(*PFfpeFQ0P"%eKD@i*9@jTGP"bEf0c#eGTEQ4[Ge0
+dG@CQ#P"bD@jd8h4eCQB*4QPXC90dG@CQ"%CTEQ3%4(*KC`C&GQ9ZG(-06@&M)%a
+TBR*KFQPPF`C9EQa[B@3%CR4iG!4'6dj8K3S!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_1.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_1.0
new file mode 100644
index 0000000000..841bf98b40
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_1.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_2.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_2.0
new file mode 100644
index 0000000000..456b55d6aa
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/FullWrite_2.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.4J.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.4J.hqx
new file mode 100644
index 0000000000..f86c2ef7e8
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.4J.hqx
@@ -0,0 +1,178 @@
+(This file must be converted with BinHex 4.0)
+:"R4PFh4SDJ"*9d4$5%eTG`%!!!"63J#3"&kS@8aC8`%!N!X&G'PdE'8!G!B3!*!
+,6LKF!!!HU!+ZEh-J)!!!!!,LB!#3"34Kk!!!6Z3!!%lFhHiJ!*!%4,[X!!$rr`%
+!!(30[!!!r`#3"!%!!2rr!(dJ%J"e8p*Ia!"D!(96dJ#3"dJ!!!")!*!&!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4!#3"i3!6LJJ!!"
+I3!!!!Qi!!!C8!#F!!!!"!!!!!3!!!#F!!!'+!Q8!6LGX#!%!+J#3"!%!!CX!N!S
+"03#3"8iT0!#3"8iT3!"1)GJ!*`!!!BS#C3#3#9d#C3"G!R8!!"mN!%iNX!!"!!)
+!6L5J!%iQh!"1*Z"DcJ!!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.6K.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.6K.hqx
new file mode 100644
index 0000000000..59775ec237
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/HanMac_2.0.6K.hqx
@@ -0,0 +1,94 @@
+(This file must be converted with BinHex 4.0)
+:#QKKENeKBe4PFh3!4&*%-NK0C()"!!!!&jm!N!5p1NKC6&-#%!#3"!3X!!!AR`!
+!!Q`!6N#",mB!Fq5q3)%ddN#"03i!!!!`rrmJ!*!%"4!Zr`#3"rm"rrr)!!!9IEi
+!!pF+!!G`eJ!+!%i4N!"!J5eN!!!!%rq3"!&@!K!3,[m!N!3"!9B#%!!!!"0!J1P
+J!!!!(!!!!!)!!!!B!!!!%!&@![m!6f2N3)$Z5!jeEL"`CA4TG#"PFh0KDH4!J!#
+3"4F&B[m!N!3"!(hVk!"pdN3!IG*%!(2P%J"pqC3!IIQ8!!!!r`!!!2m!#`!%!!K
+!V!!A"@)!Fq@L!!G!0+!BNi+J'*1#!9B#%"!Zr`#3"rm"!!!!!3"1(X3"##CY!%i
+Ha!"cjMi!!!!4eQ`!6K,%rrr)!!!9IEi!!pF+!!G`eJ!+!%i4N!!$-5i`!!!!%rq
+3"!&@!K!3,[fEX#i!!3&@!K!!!3!6$R9Z)("PG'Pd)'9cFf&T'!!!!"!"9J,r!%p
+Mj%#!lNJ!G!2`!!#J)`"@dX`!6f2N3)!!N!8A"@,pQl!Z!!%!IH[S!(h54!"pdN3
+!FqAb!(hjP!"pqC3!!!$r!!!!r`!,!!3!#%#X!"F&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b%X0$T"N'Ir)h6!6
+mUld(rj!%`$99rrm+PrhC,LIl*F%(qD"TLYU0HH5@fk`VbAN@Y!rqT*drPrrHkqe
+T%dUUHMQZh5HV--5`!1e'5&r`3X$!!!!!$k2r`!!VU!*$[VaKkr%Ch0$F3C,Zc`f
+FcH(@,*HPqR'BK"ILaaSU+L"qrVDTUr#qG@Zq*C[mrNIrk1'[[2HLIj`U)!h`,!!
+#m8[&)VEFrjT!+!!HMMVK"$#rrj2,UrpGBRRrN!6YQUVrriA[qd[(icTJRjIkaBG
+fqVGVUU#,+hMeiS#RfkQ[`!!2!*!&$`!!!!1!rT!!`lm!!!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/JazzLotus.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/JazzLotus.hqx
new file mode 100644
index 0000000000..0433dc4465
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/JazzLotus.hqx
@@ -0,0 +1,40 @@
+(This file must be converted with BinHex 4.0)
+:"(4PH(3!5PG34%T"@PS!N!@K!!!)Xjk)9@iJCQPMD'PPFL"dCAKdC5"ZEh*YB@`
+0$@0PER4PFJda,$8JDR9cG'PQH3eXC@Cd$6)JDR9cG'PQH3eUGA0dD@Cj)'&XE!d
+J$5!-)("KCf8J-L"NBA4P)&0PF(4PE@*PFL!h,#!b-$)`)(4TE@8J16S`0L""63e
+`B@GP)$)JC'&dC5"6CA"dC@eLCA)J0b`J-M!b-#"dD@eP)$Nk-$FJ38eLD`!!!3!
+!!!HG!!!'R3!!!4B!N!B&6@&bBfJ!N!S&3A"bD@`!N!3%G'9iG(J#!!!!5PG34%T
+"@PS!N!S1G`#3"%TA8%4+39TD!*!BfhZRG!!!!%`!!!LcCA)!N!B(6f0dEf*PFJ#
+3#!K1EhCPE@*PFJ#3"`K%C@0PE@*PFJ#3#2m!!`#3"#`J!!!J!!!!,#!!N!F"6R8
+!!!!`!!!)!2rr!*!R#!!"!*!*HJ#3"3)SU!#p"$J![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a/writerperfect/qa/unit/data/writer/libmwaw/pass/LightWayText_4.0.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/LightWayText_4.0.hqx
new file mode 100644
index 0000000000..a1b9c1e5f6
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/LightWayText_4.0.hqx
@@ -0,0 +1,16 @@
+(This file must be converted with BinHex 4.0)
+:#(4PH(3d,Qah!&4&@&4-9e4&!*!&i`!!!XMFSd%JFfeKE'`J6'PRD(4ABANJ9'9
+iG#!d,M80BQpXC#"TG'&XD@-JG@jNCA*XD@jP$6%i)("[D@jdFb`J-6)JF'pTER4
+c$80SD@0KCfmX)%0[GA*TCA)0$5m[)#!YN#S0,bmJ)&4SDA-JC'pMG@ePER3JGf&
+c)'eKC'8JGfPdD#"-D@GSG&GKH94PH(3Z$5m[)#!YN#S0MTi!!!%!!!!#EJ!!!@i
+!!!"D!!!S[3C'D@jNCA)!N"8)G'9iG$3ZE(F!!J!!!&4&@&4-9e4&!*!-9%9B9%a
+A9%8!N"M2Y6K"!!!!i`!!!XJ!N!`'e58!!!!S[3Y0FeG[FQYc8(*PCJ#3&i`P!!!
+!+,d26h"dD@pZFb"N*d9iBf9X!*!5"XdP!!!!+,d,8(*PCQ9bC@jMCA-!N"(b!!`
+!N!8,!!N!"!!!!!N!N!ND!!X!#3!%!3!!#3#3#4i!#`!*!!3!!!!*!*!*(`!,!!N
+!"!)!!!N!N!NP!!X!#3!%!!!!#3#3#5B!#`!*!!3%!!!*!*!*,`!,!!N!"!!!!!N
+!N!N`!"J!%J!%!!!!%J#3#6X!%!!-!!3!!!!-!*!*43!3!!`!N!8-!*!*6J!-!!S
+!&J!!!!`!N!P@!!`!#J!$!!!!#GeV#-)'SJ!!!%J!$%GPEQ9fB3#3'`3!"!!q!!-
+"h!*m!$i!!`(F!N(2Y6K0!!!!'3!!!"N!N!NS!*!'!3%!!3-B!Q3!)J!L![B#3J#
+3"!-B!Q3!!3!!!!-!!`$5!!!"!!!!!Qi!!!&Z!!!!@J!Hr83D&!!!!"`!@J!#Fh4
+jE!!!!"T08&05!!!!*NaA8e)!!!!b!)$rr`#3#!2Yrrm!!!$f!*!%!qMrr`!!!8)
+!N!65SJ:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MacDoc_1.0.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/MacDoc_1.0.hqx
new file mode 100644
index 0000000000..b60c596d92
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MacDoc_1.0.hqx
@@ -0,0 +1,41 @@
+(This file must be converted with BinHex 4.0)
+:#R4PH(3a,QeNEf-!684NBde%GR)!N!J(r$Q"!*!%!3!!!!H#!!!'JJ!!!(TKG'0
+[68*-6Im!N"F+G'9iG$%ZE@4[B`!#!!!!684NBde%GR)!N!T04'4M684fFJ#3'-q
+e0)3!N!B(r!#3$6BP!@&dBfp8B@*Xr`#3(K)P!@&dBfpA8d98r`#3(UmP!@&dBfp
+PC(4dr`#3'%!"-)!#!!!'GM%Z-bi`-M%Z-b`JU6%j16FJE@&MEQ9dD@-JFfpQG(G
+KFQ8Z)%&XE#"5D@GSG(-J8Q9cCA*fC@3Z!!!!,!%`J!)!!!Cf-5ic,M!H3h*PBA4
+PC#"hDA4S)(4SC5"0B@0%Ef-J9h*TG'9b!!!!r[e8D'Pc)'4[Bh9YC@jd)(GKFb"
+MFQ9KG'9N)(GTG'JJG'KP)%eKBd4[Bb"AFQPdCA)JB@jN)'0KEL"LC5"bC@&N)'&
+ZC#"`FQPZG'9N)(GTG'JJG'KP)%eKBd4[Bb"@D@9hCA)Z$3e'Eh)JCR9bG'KPFL"
+TEQC[FQeKG'P[EL"KBQpeG#"0B@0%Ef-X)("XC@&cC5"fDA0TG#"[GA)JGf9L)(0
+TG'8k)(GhGbjYB@0ZCA4TBbjNC5"[FL"MEfjdB@0d1L!0$8PZG'9bEQ9d1L"TEQC
+[3'eKBfjPG'PM,Q4P$80[EA"e8f9bGQ8k)'eKBfj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mwaw/pass/MacWrite_4.5
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MacWrite_Pro1.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MacWrite_Pro1.0
new file mode 100644
index 0000000000..82e5d86084
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MacWrite_Pro1.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_1.6L.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_1.6L.hqx
new file mode 100644
index 0000000000..9ec88a8921
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_1.6L.hqx
@@ -0,0 +1,222 @@
+(This file must be converted with BinHex 4.0)
+:"(4PFh3!68*#9%e03N)"!!!!1)i!N!3drdD3"$#3"cB`-$!a-$!a4!%h0d&"!c#
+3#MK#-*!)!M%`-$&%!M%#,6G&4N)h488`!MJ`N!B#-!*&JJ)d1$!`0$J#,6)#16%
+#0c%a!6!"-6!"088"0M8#,6+#!N-a!N-c!N-a!N-c!MBb43)``J8#1$-#0$J#0c%
+a!M)`0J&'N!5"J3%`JS)#-3)d4$4%0$)d-J)a-$3#-!)b3J)`!N8c!63i!6!$-$!
+`-6#3"M3e-*!(-3)`!M*%33&"-$Jd!M!"-N3#-!%b4!)`!MNa!M3i!MFa-3)b-$B
+"-N4"!6!"-`%i46!`!6)#0c!e!M3i!MFa-3)d1!)`!c!`-$)`N!8b46#3#3!b4%%
+X9@iJF'9dDA3JG'9cG!d0Bf9ZG'9b$A*TCfKd$@TeFh4TCRN0DR9cG'PQH5"KE'`
+J$@*eE'aPG!eTEQ4PER3JD@i0B@j[G'KPFL"TEQ4PER30BR9XE'9d$6%Z05"TER4
+PFQaTEQ80-L"TER4PFQaTEQ80-6)JF(3JD@jdCA*XD@jP$@4PCQ&eE(3JG'PYC5!
+a-Jd0C'&dC5!a-Lma-Lma-JeNBA4P)&YG)'&ZC#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J!!!5i!!!%R!!!")J!!!G3!!!(9!!!"dJ!!!G-!!!(*!!!"`!!!!8D3")'"!6!
+"4T!%JB%"-!-`-$%d-*!'06N`N!J#0%8b0c)`!M8#-6!`-8B#0J)``JA""!!b3b`
+b!*!X45`!N!i$4NC'46#3"cB`-$!a-$!a4!%h0d&"!d!D!!!!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_3.5.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_3.5.hqx
new file mode 100644
index 0000000000..759f968285
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MarinerWrite_3.5.hqx
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MaxWrite_1.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/MaxWrite_1.hqx
new file mode 100644
index 0000000000..7d1777a0ff
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MaxWrite_1.hqx
@@ -0,0 +1,12 @@
+(This file must be converted with BinHex 4.0)
+:#8eKH&GbDA4P-3"09d0868&B9`%!N!3R!!!#4kY`9'9iG#"[CL"0BAKAFQPdC3e
+bC@3J)'0SD@0KCfmJ-63JF'pTER3JTTX!!!%!!!!"`!!!!-!!!!#(8dP8C90*9%`
+&!*!A#8eKH&GbDA4P-3)!!J"09d0868&B9`#3#J)!69G$9%e"@&F!N"M6B5e9!!!
+!*`!!!NF!N!h(*3&83N)eG(4bE`%!N"d#&#8"9&0358&38%`"!*!G!5FP!99YJ6C
+"8&"-!J#3'$`!#3!'!#1H-!!MRLbU9DT9!#1H*!!!!!%!!3!!!"%!!J!6!!-!&3!
+!!"B!"!!A!!!!(J!&!"m!!!!Srrm!!!"X!!3!%!!-!!%!N!X"!"!!$!!"!!!!$!#
+3"`%!%!!-!!%!!!!-rrm!N!8"!"!!$!!"!*!%rrm!N!8"!"!!$!#3"3crr`#3"3%
+!%J!1!*!&$[rr!*!($!!3!!`!%J!1!")!$J!!!3!!!!(!!!!!`!!!!)F!)jlm'i`
+!!!!F!&S!!P0dH@`!!!!D8h483J!!!#C-ENKP!!!!-J!"!*!()jc8!!%!$`!!!%!
+!)jeF!!%!(J!!!,!!)je8$NeKH&GbDA4P)&0dH@aP$NeKH&GbDA4P)&0dH@aP$Ne
+KH&GbDA4P)&0dH@aP10%!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_1.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_1.0
new file mode 100644
index 0000000000..d737a3902c
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_1.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_3.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_3.0
new file mode 100644
index 0000000000..c8f69db64d
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_3.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_5.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_5.0
new file mode 100644
index 0000000000..24a37a876c
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWord_5.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_1.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_1.0
new file mode 100644
index 0000000000..39a40cf5a8
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_1.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_2.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_2.0
new file mode 100644
index 0000000000..c8a60e7041
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MicrosoftWorks_2.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MindWrite_2.1 b/writerperfect/qa/unit/data/writer/libmwaw/pass/MindWrite_2.1
new file mode 100644
index 0000000000..d9b8687b28
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MindWrite_2.1
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/More.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/More.hqx
new file mode 100644
index 0000000000..e2689751bb
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/More.hqx
@@ -0,0 +1,123 @@
+(This file must be converted with BinHex 4.0)
+:%N%JFfPYF'aP)'e[FQ8JCQPXC3"06e)c68p5-J%!!!!G"`#3")2I!!C06e)c!)!
+!!!#!!!!!H!!!!2J!!!'d!!!#V!!!!+J!!"%@!!!"0J!!%N`!!!!S!!!5G!!!!!J
+!!"*m!!!!2!!!'SF!!!!N!!!5d`#3#J08!!!0`J!!%VJ!!!!A!*!G$`!!!%J!5!#
+3"!,`!N$rmIrZ!`N#8Q-#"5J$r!%!!!!"D!&S!*!%$V!,3!!"!3!!C!!"!!!!!3!
+#!!!!!5F2!!%!N!i3!*!*%!$rYIqQ$bd,QJ!)!*!1'3%&S!@J"D!&S!%"!Y!$j`2
+R!!!!!`!"!!!!!`!-!3%!$!#3"!(J!S!!*!!N!E`#A!#3#3%!!!%!!!%!!J!"!3!
+"!2q3"!!$!!%!!`#3"!%"!!%!N!8"!!(rN!EGD`M#"U,rrJ!#!!%!!!!"!!)!!!!
+#!!%!!3)!!JX#U2q3'!%!!3!!!3%"!!)!!3!"!!)Y!!!"!!%!!!2R!!!$j`!!!qI
+rr`!-!*!-%!#3#!%!!3%"!!!K`!!"!!B(+'0[ER3Z+3#3#3%"!*!%)GeV#-)'SJ#
+3"[q3$!#3"[q3"J#3"[q3$!#3F`%!N!8&!!Arr`!'!#N!!`(8!Jd!N!N8!!!"i!+
+!!!J!"!!p!$d!!!!"r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KPB@4XD@jPF`!!!"*LBA0TBb!S)'G
+PEQ9fB5!a-LRJ5`!!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/MouseWrite_1.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/MouseWrite_1.hqx
new file mode 100644
index 0000000000..dd4c9e7e5f
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/MouseWrite_1.hqx
@@ -0,0 +1,58 @@
+(This file must be converted with BinHex 4.0)
+:"@e[GA0P!%GQ6A4(66!a!3!!!!Y)!*!%a0m%4dd`0!#3")!!!!LS!!!"-!!!!(J
+!!!"D!*!(#3"p!-!!M`!+!!!!`!#P!!S"I3$!!+S!#J&p!!!!Y`!-!Ad!!!$!!!i
+"I3!!!-d!$J&p+YF!dJ!1!Ad!$J$D!!i#I3!1!1!!$J&p!!!!iJ!*!(d!`!L"!!i
+"I3!!#*%!$K&p!!!)TJ!1!Ad!!!LR!!S!!!$!#+J!N!F%!H!5!3!-!!%!qJ#3&!%
+!N!B%!H!5!3!1!!!!qJ#3'Bm!"!(J$`%!$!!!!+B!N"3"!*!%`!!%!H!2!3!-!!%
+!TJ#3&!%!N!6L!!3"i")"!!d!!!#Q!*!8!3!!!!L"!"F"i!m(!!X!!!#Q!AF"UJ(
+&!GB"eJ(@!*!("!%!!!!)N3!%!H!5!3!-!!!!qJ#3&!%!!!!)T`#3*!LS!!m!!!"
+)!%J!N!3#m!*!rr(rlJ-*!P*M!J8S!r`"!!!!!@J"D!#3"!k`#d!!!3%!!'3!!3!
+!!!%!!J!!!!%R$`!"!*!1%!#3#4!!rlArTJmY#jS!#!%!N!dC!3!5!"N"!3"Lhk3
+!BXk!!!!!#!!!!!ErN!J!iJ!*!(d!`!$!!!i"I3!!#)%"`J(B!!3!+`$1!-i!h3!
+%!$J"!IrrrrIrrrrhD'9KC'9b)$*QEfpdCA)!K[q3"!"P!,S!%3,r$!$rN!B!!2r
+r!!!!ZJ!!!'8!N!HK!'3!#'43FQm!!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isusWriter_4.0.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/NisusWriter_4.0.hqx
new file mode 100644
index 0000000000..f1420d79ea
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/NisusWriter_4.0.hqx
@@ -0,0 +1,206 @@
+(This file must be converted with BinHex 4.0)
+:"A4PFh3d!&4&@&41590*!3!!!!+r!!!le9ieB5"cE@&XE#"dCA0d$3eZEh*YB@`
+JBQpXC#"TG'&XD@-JG@jNCA*XD@jP)(0eF'9bFf0bDA"d)(0eBR0MFQP`G#"[GA4
+XD@jP)(0SB@4[Gb"MEfjNC@jcC@3J$@9iG'9ZC'9N)'a[Gf9bG@jNCA*XD@jP)'4
+[G(4PC(9ZC'9bE'PZC5"hEh*NG@jNCA*XD@jP)(0eF'9bFf0bDA"d-L"cG@*cBh*
+TF(3b$A0dFQPVCA4SFQpeCfJJ6hCPFQ*KFL"TERCPFR3J38a-3d&38b"cE@&XE'0
+KF(-JBQpi)!eLE'&MDb"bC@3JCh*PC@iJBQaeC5"MH@&Z)'eKCf9ZG'%JH@9XE'p
+h)(GSDA4P)!eTERCTFfPLE'8J)(*PGQ9bFf8JEQpcF'9XE'PZCb!0$A4KBR-JG'9
+cG$SJE'9QG#!a,M)e)'0PER4PFL!a,M8JFQPRD(3J-5ih05"NC@0TE@&X)$)JDR9
+cG'PQH5!b,M)e$3Q3"$)Z-JPKN!F0-Lie)'aPB@4PFLiZ,L!b,MFe)'aPB@4PFLd
+Y,5!c)'aPB@4PFL"IAemJ-bie)'aPB@4PFL"KB@%0#C!*$@aPCR3J-5ib05`JCQP
+bFh3J-5"dB@)J-5ib$@CTFR0d)$%Z-cFJE'9QG#!a,M)e$@PNC@dJE'9QG#!f$@j
+[FQeKE!eMC@jdCA)0FQPRD(30CR9XE!ecF'&MD@jR)'j[FQeKE#"LC@C[FQ8J-6!
+0Fh"KBfPZCb"LC@C[FQ8J-5ia+#"KEQ3JB5"RFQ&`D#N0G'PYC5"QD@9X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`#3"!2Vrrm!!!)"!*!%!q[rr`!!$(%!N!3$krrr!!!
+59`#3"!2Vrrm!!"6E!*!%!q[rr`!!&2X!N!3$krrr!!!9b`#3"!2Vrrm!!"BG!*!
+%!q[rr`!!)b8!N!3$krrr!!!Mm`#3"%iJrrm!!#3c!*!%!q[rr`!!*$N!N!3$krr
+r!!!QS3#3"!2Vrrm!!$&V!*!&J2rr!!!bC3#3"B$rr`!!-Z%!N!@!rrm!!$,c!*!
+%!q[rr`!!-jN!N!3$krrr!!!d%3#3"!2Vrrm!!$3V!*!%!q[rr`!!0$-!N!3$krr
+r!!!d1`#3"!2Vrrm!!$Cj!*!%(5B!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_2.1.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_2.1.hqx
new file mode 100644
index 0000000000..d644a59a2e
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_2.1.hqx
@@ -0,0 +1,24 @@
+(This file must be converted with BinHex 4.0)
+:#A4PFh3b,R*KC`"')bY%4L-V33%!!!!$3J!!!HBhq3!!!`X#3!!"!*!)D)pSMfL
+2rr-!N!CSMfL2D)m!N!EcMqq!!'8!!`!)`G!!N%-#!*!&!3!"!!%!!!,`!N!!4[[
+-!*!&4[UX!%%!"!(F!R`!!3#3"3%!!!!#!3)!N!8"!!)!!!!V!!)!!!!V!JJ!J!(
+L!%EkP!!!!!N!N!9'qE`!4[Mm!*!&!`!(!*!+!84N!3!!C!%!N!B"!*!&![!#3!#
+3"`)!!3!"!!)!N!S"c!))S)!$kJ!S!#J#b!)B!*!'J!%!!!!"!!%!!'3"!!"N!3!
+!!H)!!!#)!!F!#2q3#!!"rri!N!F"rrrm!20p"5m!!!!$mYF)9S6X!!!!"0eV#-)
+'SJ#3"!*"Ue6Ur`!!!!8!!)!!%E!!!!!"!*!%e!#3"!)%9f9TT`a6BfKhBA*k,eG
+PDDF%4f9XBJG0B@GPER4K!e*[G!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it/data/writer/libmwaw/pass/RagTime_3.2.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_3.2.hqx
new file mode 100644
index 0000000000..55ecf4faf1
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_3.2.hqx
@@ -0,0 +1,136 @@
+(This file must be converted with BinHex 4.0)
+:#A4PFh3c,R*KC`"5)bY%8L-V33%!!!!D1`!!!8)V!J!!!c-#C!!"!*!)D)pSMfL
+2rr-!N!CSMfL2D)m!N!EcMqq!!C!!!!-!+%"!!&Q1c!!!!&d!N!Ga!*!*@C!!d!%
+!!J#3#P-!!J#3"3%!!3!"!aJ!!!*N!!!!33!%!G`#I!!"!*!&!3!!!!)"!J!!!!%
+#!!!"!!!!J!(L!!%!!J!!!!)!!!#,!!)!!!#,!*!&!`!(!*!*!3#3&3%"!*!*!aJ
+!!!*N!*!*!J!"!!!!!3!#!*!-''-#!3!!J)!,kJ!h!!!!1J!!!YF!!!)U!*!)J!%
+!!J!!!!%!!3!!!J!!!3!#!*!%'(N!SJ!!!+*'Ee4K!*!%!IT'Ee4K!!%!!!0K4NK
+QE!#3"!2C4NKhE!#3""*c4NKcE!#3""4a8f9XC3#3""4j3dK8B3#3""8A3dK8B3!
+"!!!9D9"548-!B`!!&J9#C84M!*!%&Me#G'0S!*!%&NGQF("b!*!%&Q9RFQ&j!*!
+%&SpMEfab!*!%&VPbCA-J!*!%&Z0'6'PZ!*!%!93!)!!'!!J!!!!%!!)!!!$q!!!
+!!rrr!*!0!3"@!!!!!3"a!!!!!3#+!!!!!3#Y!!!!!3$4!!!!!3$`!!!!!3%-!!!
+!!3%[3IVqpJ&8%")5%J%!N!X2!3K6G'&ZC'&bC"!5%K)!!!%!N!N(!3C&ER4TCA)
+3&489!!)"!*!*"`N("`%!$&CTFQGeE'8JCQPiC4!E'aX!!J3!!!%!N!B'#JB'"`N
+("`T'!3!(6@pZEQ&TC4!9&48!!3%!!J#3"`F*"`i"!!K3Eh9bBf9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!!(!!+-!)*!%B5"`B4pRC5"
+ZG@dIBQ9b)'PZ)'%J8Q&R9'PYC5!c,M)JCQNIE'80$3eLEfaN)'PdB@aTBb"eEQ4
+PFQaTEQ8JFh9`CA*cBh*TF(4cG@*cBh*TF(303fKTBf&REb`J3fpeFQPPFL`J-6"
+`EfPZG(-X)$)d)("[D@jdFb`J$A*PC#!X)'*XG@80F'%ICf8")#"NB4pdC3%J)(4
+TE@8J!3d!!"8!!!!"!!!!!`!"!#i!#J!!!!-!!3!b!!%!!!!$!!%!-`!*!!!!!`!
+"!$N!!3!!!!-!!3!k!!J!!!!$!!%!3`!"!!!!!`!"!%3!"`!!!!-!!3"2!!B!!!!
+$!!%!@!!"!!!!!`!"!&N!"3!!!!-!!3"J!!%!!!!$!!%!BJ!%!!!!!`!"!'N!!3!
+!!!-!!3"V!!-!!!!$!!%!F`!"!!!!!`!"!(8!!J!!!!-!!3"q!!%!!!!$!!%!J3!
+"!!!!!`!$!)F!!3!!!!-!"!#,!!%!!!!$!!%!!3#3"!(S!!%!N!8C!*!%m$Irr`!
+!4Id!N!6J"3#3$)!!,J#3""!!"!%X!!B!C!!"!!B!C!!&Tc!!!!%!!!!"%!!!!"!
+!!!!b6Np"68&38%`"!*!A#A4PFh3c,R*KC`)!!J"5)bY%8L-V33#3#J)!8L-V4&)
+M+d%!N"M2cMji!*!'!8)!N!`"Q58"8(0[EN&38%`$!*!Hr#8"8LTMD%&38%`#!*!
+G!F%P!9*84d459&"'"J#3'!`,8Q&R9'PYC5!c,M)!!!%!!!!"%!!!!"!!!!!b!&C
+Sc"H#!!!!(!!b!!"69&)J!!!!#Vrdrrm!N!9CMEa0fJ:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_5.5.rag b/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_5.5.rag
new file mode 100644
index 0000000000..927c5c37c3
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/RagTime_5.5.rag
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/ScriptWriter_1 b/writerperfect/qa/unit/data/writer/libmwaw/pass/ScriptWriter_1
new file mode 100644
index 0000000000..d9f8aff8e6
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/ScriptWriter_1
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/SimpleText_1.0.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/SimpleText_1.0.hqx
new file mode 100644
index 0000000000..1c81129d62
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/SimpleText_1.0.hqx
@@ -0,0 +1,11 @@
+(This file must be converted with BinHex 4.0)
+:#R4PH(3a,R0dH(3!9%9B9(4dH(3!N!98!!!#&$6q35"cE@&XE#"6D@e`E'98CAK
+d)(4PH(30BQpXC#"TG'&XD@-JG@jNCA*XD@jP$6%i)("[D@jdFb`J-6)JF'pTER4
+c$80SD@0KCfmX)%0[GA*TCA)06b8!!!%!!!!"iJ!!!1)!!!!b8&0*-N&A8e-"!*!
+A#R4PH(3a,R0dH(3!!J!#!&4&@&4dG(Kd!*!)!J"849K8G(4iG!#3%)!!N!I2Y6C
+R!*!'!K3!N!e9*3&5Ffaf8e4"5`%!N"jF*3&@59-c39"36!)!N"j5*3&D48*539"
+36!%!N"MH!!X!N!8,!!N!"!!!!!N!N!NB!!X!#3!%!3!!#3#3#4`!#`!*!!3!!!!
+*!*!*(3!,!!N!"!)!!!N!N!NM!!X!#3!%!!!!#3#3#53!#`!*!!3%!!!*!*!*,3!
+,!!N!"!!!!!N!N!NZ!"J!%J!%!!!!%J#3#6N!%!!-!!3!!!!-!*!*3`!3!!`!N!8
+-!*!*6!!-!!S!&J!!!!`!N!J"!!!!!H)!!!$L!!!!-J"1)l!CYJ!!!"`!-J!!Fh4
+jE!!!!!S!J2rr!*!&6LCSD!3!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/StudentWritingCenter b/writerperfect/qa/unit/data/writer/libmwaw/pass/StudentWritingCenter
new file mode 100644
index 0000000000..5fd3c412b3
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/StudentWritingCenter
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/TexEdit_2.0.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/TexEdit_2.0.hqx
new file mode 100644
index 0000000000..649b409af7
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/TexEdit_2.0.hqx
@@ -0,0 +1,14 @@
+(This file must be converted with BinHex 4.0)
+:#h4PH(3b,R4PC'Pd!&4&@&483N)e!*!&8J!!!N+PF8%JFfeKE'`J9'9i,89NDA3
+JG'9iG!eLEfaN)'PdB@aTBb"eEQ4PFQaTEQ80-6JJF'pTER4c,#!a-L"`EfPZG(-
+03fKTBf&REb`J3fpeFQPPFJdi,!!!!3!!!!(Z!!!!lJ!!!&3JG'9iG!eLEfaN)'P
+dB@aTBb"eEQ4PFQaTEQ80-6JJF!YdCAKd-LjdC@4TG!)!!!"849K89%*#03#3#P4
+&@&483N)e!*!Bcl8f$3!!!&)!!!*#38029%&38%`&!*!')JE#!)!,!8&$6e4"8&"
+-"J#3"L)(3J%!#`&"3dp84NT64`%!N!BL#%)"!!X"38029%C+8dF#!*!')JP#!J!
+,!8&$6e4'5P0(!`#3"L),3J3!#`&"3dp84NT64`3!N!BL$d)!3!!!!0i!#`#3"3X
+!#3!%!!!!#3#3#4B!#`!*!!3"!!!*!*!*'J!,!!N!"!!!!!N!N!NE!!X!#3!%!J!
+!#3#3#5%!#`!*!!3!!!!*!*!*)J!,!!N!"!3!!!N!N!NV!!X!#3!%!!!!#3#3#5`
+!'!!5!!3!!!!5!*!*0`!3!!`!"!!!!!`!N!P"!"!!$!#3"3`!N!P+!!`!#J!@!!!
+!$!#3#3J!JJ"%!5)"q3!!!3!!!!(Z!!!!lJ!!!&3!9QM-'*`!!!!F!%B!!A0dH@`
+!!!!5Gh*MG!!!!"i$k!#3"eE0(!2S!!F!!!$L!&E,h!CcG(PXCA-'GfPZC'ph'r8
+!:
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/WordMaker b/writerperfect/qa/unit/data/writer/libmwaw/pass/WordMaker
new file mode 100644
index 0000000000..5bab4677b8
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/WordMaker
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_2.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_2.0
new file mode 100644
index 0000000000..ce3f5d4cee
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_2.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_4.0 b/writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_4.0
new file mode 100644
index 0000000000..9ebe17ac7a
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/WriteNow_4.0
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/WriterPlus b/writerperfect/qa/unit/data/writer/libmwaw/pass/WriterPlus
new file mode 100644
index 0000000000..f95fa28821
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/WriterPlus
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libmwaw/pass/eDoc_2.0.hqx b/writerperfect/qa/unit/data/writer/libmwaw/pass/eDoc_2.0.hqx
new file mode 100644
index 0000000000..d558aacb3a
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libmwaw/pass/eDoc_2.0.hqx
@@ -0,0 +1,29 @@
+(This file must be converted with BinHex 4.0)
+:#A4PH(3a,Q9NB`"P4'pMC84M8J#3#!NeQdX!N!3"!!!!#-F!!!I(!!!!EQFd#!!
+!"@FJ#!!!"'F+BHBQ!'(L`801G4!BiB!3'1'!#A4PH(3a,Q9NB`)!!!"P4'pMC84
+M8J#3$'9%Ef0P4'05!*!Bcl8bT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+dD'8JC8423kSJFfKKFQ9hBA*P)(0[CR4hBA*P,L"*G#"MB@iJBQ8JGQPPGf9N)'&
+ZC#"`FQPZG'9N)(9cD@jR)'9%6d-J8Q9KC'9b,#"K)'CbC@8JBfpYF'pZC@jd)'p
+Q)'9%6d-Z$3e'Eh)JE@pbC5"TEQC[FQeKG'P[EL`JH@pe)'0KEL"fDA0TG#"dD'8
+JC8423b"hC@)JFfPdC5"KG$S0D(4dF$S[,h"PFR0[,RGKEQ&NEfmZCR)[E@PMD'9
+X,R4[G@0SEh3[!!!!D!!!"%$2Y6+Q"%&MG'%!J!#3"3-B!Q3!BQXS!'*UB!"LDK3
+!N!3+G'9iG$%ZB@0dBE%!!3!"!!J!BQX-!'*UR!!!!!%+!!!%!!!#%!#3"!-B!Q3
+!!3#3"J*L!!!%3!!!!Q)!!!3#!!3)8'&XBA4TEQm!N2F(3fpeFQPPFJ#3q!G$D'P
+MB@G[!*$i"NGPEQ9fB3#3q`%!!!!)a`!!"mF!!!"Z!'*U$"Tb!!!!(!"Z!!0M8%P
+$!!!!)P088L!!!!!Z5@jQE`!!!$TP4'0'!!!!4J!"rrm!N!Lrmrrr)!!#CJ!)F$!
+!J2rr)!!$93"LDc!!J2rr!!!$`3"LD[J3M!:
diff --git a/writerperfect/qa/unit/data/writer/libstaroffice/fail/.gitignore b/writerperfect/qa/unit/data/writer/libstaroffice/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libstaroffice/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libstaroffice/indeterminate/.gitignore b/writerperfect/qa/unit/data/writer/libstaroffice/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libstaroffice/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libstaroffice/pass/Writer_3.1.sdw b/writerperfect/qa/unit/data/writer/libstaroffice/pass/Writer_3.1.sdw
new file mode 100644
index 0000000000..0884942a4c
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libstaroffice/pass/Writer_3.1.sdw
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/fail/.gitignore b/writerperfect/qa/unit/data/writer/libwpd/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libwpd/indeterminate/.gitignore b/writerperfect/qa/unit/data/writer/libwpd/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2007-1735-1.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2007-1735-1.wpd
new file mode 100644
index 0000000000..4d11b93794
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2007-1735-1.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1759-1.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1759-1.wpd
new file mode 100644
index 0000000000..9ff9a088d4
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1759-1.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-1.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-1.wpd
new file mode 100644
index 0000000000..23c8aa302d
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-1.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-2.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-2.wpd
new file mode 100644
index 0000000000..cca30a0805
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/CVE-2015-1760-2.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/EDB-14344-1.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/EDB-14344-1.wpd
new file mode 100644
index 0000000000..8d2e51df62
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/EDB-14344-1.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/WP1.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/WP1.wpd
new file mode 100644
index 0000000000..7f635ad979
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/WP1.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/WP3.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/WP3.wpd
new file mode 100644
index 0000000000..75f4924e85
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/WP3.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/WP4.wp b/writerperfect/qa/unit/data/writer/libwpd/pass/WP4.wp
new file mode 100644
index 0000000000..6917b81e66
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/WP4.wp
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/WP5.wp b/writerperfect/qa/unit/data/writer/libwpd/pass/WP5.wp
new file mode 100644
index 0000000000..45932176f3
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/WP5.wp
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwpd/pass/WP6.wpd b/writerperfect/qa/unit/data/writer/libwpd/pass/WP6.wpd
new file mode 100644
index 0000000000..dc8aceca52
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwpd/pass/WP6.wpd
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/fail/.gitignore b/writerperfect/qa/unit/data/writer/libwps/fail/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/fail/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libwps/indeterminate/.gitignore b/writerperfect/qa/unit/data/writer/libwps/indeterminate/.gitignore
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/indeterminate/.gitignore
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/PocketWord.psw b/writerperfect/qa/unit/data/writer/libwps/pass/PocketWord.psw
new file mode 100644
index 0000000000..75c0b60f39
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/PocketWord.psw
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.doc b/writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.doc
new file mode 100644
index 0000000000..5e5e459121
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Word_5.0_DOS.doc
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Works_2.00A_DOS.wps b/writerperfect/qa/unit/data/writer/libwps/pass/Works_2.00A_DOS.wps
new file mode 100644
index 0000000000..4bccbbd18c
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Works_2.00A_DOS.wps
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Works_3.0.wps b/writerperfect/qa/unit/data/writer/libwps/pass/Works_3.0.wps
new file mode 100644
index 0000000000..74f46091e6
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Works_3.0.wps
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Works_4.5.wps b/writerperfect/qa/unit/data/writer/libwps/pass/Works_4.5.wps
new file mode 100644
index 0000000000..65c25a002d
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Works_4.5.wps
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Works_5.0.wps b/writerperfect/qa/unit/data/writer/libwps/pass/Works_5.0.wps
new file mode 100644
index 0000000000..97bb269f36
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Works_5.0.wps
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Works_6.0.wps b/writerperfect/qa/unit/data/writer/libwps/pass/Works_6.0.wps
new file mode 100644
index 0000000000..d0a40c4c03
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Works_6.0.wps
Binary files differ
diff --git a/writerperfect/qa/unit/data/writer/libwps/pass/Write_3.1.wri b/writerperfect/qa/unit/data/writer/libwps/pass/Write_3.1.wri
new file mode 100644
index 0000000000..458482de0f
--- /dev/null
+++ b/writerperfect/qa/unit/data/writer/libwps/pass/Write_3.1.wri
Binary files differ
diff --git a/writerperfect/qa/unit/data/writerperfect-dialogs-test.txt b/writerperfect/qa/unit/data/writerperfect-dialogs-test.txt
new file mode 100644
index 0000000000..db97ac5cc4
--- /dev/null
+++ b/writerperfect/qa/unit/data/writerperfect-dialogs-test.txt
@@ -0,0 +1,38 @@
+# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+# This file contains all dialogs that the unit tests in the module
+# will work on if it is in script mode. It will read one-by-one,
+# try to open it and create a screenshot that will be saved in
+# workdir/screenshots using the pattern of the ui-file name.
+#
+# Syntax:
+# - empty lines are allowed
+# - lines starting with '#' are treated as comment
+# - all other lines should contain a *.ui filename in the same
+# notation as in the dialog constructors (see code)
+
+#
+# The 'known' dialogs which have a hard-coded representation
+# in registerKnownDialogsByID/createDialogByID
+#
+
+# No known dialogs in writerperfect for now
+
+#
+# Dialogs without a hard-coded representation. These will
+# be visualized using a fallback based on weld::Builder
+#
+
+# currently deactivated, leads to problems and the test to not work
+# This is typically a hint that these should be hard-coded in the
+# test case since they need some document and model data to work
+
+writerperfect/ui/exportepub.ui
+#writerperfect/ui/wpfencodingdialog.ui
diff --git a/writerperfect/qa/unit/stream.cxx b/writerperfect/qa/unit/stream.cxx
new file mode 100644
index 0000000000..1689677283
--- /dev/null
+++ b/writerperfect/qa/unit/stream.cxx
@@ -0,0 +1,16 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppunit/plugin/TestPlugIn.h>
+
+#include <sal/types.h>
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/wpftimport.cxx b/writerperfect/qa/unit/wpftimport.cxx
new file mode 100644
index 0000000000..5034f159e7
--- /dev/null
+++ b/writerperfect/qa/unit/wpftimport.cxx
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "wpftimport.hxx"
+
+#include <cppunit/plugin/TestPlugIn.h>
+
+#include <comphelper/seqstream.hxx>
+
+#include <rtl/ref.hxx>
+
+#include <sal/types.h>
+
+css::uno::Reference<css::io::XInputStream> createDummyInput()
+{
+ rtl::Reference<comphelper::SequenceInputStream> xDummyInput(
+ new comphelper::SequenceInputStream(css::uno::Sequence<sal_Int8>()));
+ return xDummyInput;
+}
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/wpftimport.hxx b/writerperfect/qa/unit/wpftimport.hxx
new file mode 100644
index 0000000000..688bf8f318
--- /dev/null
+++ b/writerperfect/qa/unit/wpftimport.hxx
@@ -0,0 +1,30 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/Reference.hxx>
+
+namespace com
+{
+namespace sun
+{
+namespace star
+{
+namespace io
+{
+class XInputStream;
+}
+}
+}
+}
+
+css::uno::Reference<css::io::XInputStream> createDummyInput();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/wpftqahelperdllapi.h b/writerperfect/qa/unit/wpftqahelperdllapi.h
new file mode 100644
index 0000000000..05293fdd02
--- /dev/null
+++ b/writerperfect/qa/unit/wpftqahelperdllapi.h
@@ -0,0 +1,21 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <sal/types.h>
+
+#if defined(WPFTQAHELPER_DLLIMPLEMENTATION)
+#define WPFTQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_EXPORT
+#else
+#define WPFTQAHELPER_DLLPUBLIC SAL_DLLPUBLIC_IMPORT
+#endif
+#define WPFTQAHELPER_DLLPRIVATE SAL_DLLPRIVATE
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/qa/unit/writerperfect-dialogs-test.cxx b/writerperfect/qa/unit/writerperfect-dialogs-test.cxx
new file mode 100644
index 0000000000..0029077931
--- /dev/null
+++ b/writerperfect/qa/unit/writerperfect-dialogs-test.cxx
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/config.h>
+#include <test/screenshot_test.hxx>
+#include <vcl/abstdlg.hxx>
+
+using namespace ::com::sun::star;
+
+/// Test opening a dialog in writerperfect
+class WpfDialogsTest : public ScreenshotTest
+{
+private:
+ /// helper method to populate KnownDialogs, called in setUp(). Needs to be
+ /// written and has to add entries to KnownDialogs
+ virtual void registerKnownDialogsByID(mapType& rKnownDialogs) override;
+
+ /// dialog creation for known dialogs by ID. Has to be implemented for
+ /// each registered known dialog
+ virtual VclPtr<VclAbstractDialog> createDialogByID(sal_uInt32 nID) override;
+
+public:
+ WpfDialogsTest();
+
+ // try to open a dialog
+ void openAnyDialog();
+
+ CPPUNIT_TEST_SUITE(WpfDialogsTest);
+ CPPUNIT_TEST(openAnyDialog);
+ CPPUNIT_TEST_SUITE_END();
+};
+
+WpfDialogsTest::WpfDialogsTest() {}
+
+void WpfDialogsTest::registerKnownDialogsByID(mapType& /*rKnownDialogs*/)
+{
+ // fill map of known dialogs
+}
+
+VclPtr<VclAbstractDialog> WpfDialogsTest::createDialogByID(sal_uInt32 /*nID*/) { return nullptr; }
+
+void WpfDialogsTest::openAnyDialog()
+{
+ /// process input file containing the UXMLDescriptions of the dialogs to dump
+ processDialogBatchFile(u"writerperfect/qa/unit/data/writerperfect-dialogs-test.txt");
+}
+
+CPPUNIT_TEST_SUITE_REGISTRATION(WpfDialogsTest);
+
+CPPUNIT_PLUGIN_IMPLEMENT();
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
new file mode 100644
index 0000000000..bc13f9fc74
--- /dev/null
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
@@ -0,0 +1,475 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MSWorksCalcImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <com/sun/star/awt/XWindow.hpp>
+#include <com/sun/star/container/XChild.hpp>
+#include <com/sun/star/sdbc/XResultSet.hpp>
+#include <com/sun/star/sdbc/XRow.hpp>
+#include <com/sun/star/ucb/XContent.hpp>
+#include <com/sun/star/ucb/XContentAccess.hpp>
+#include <sal/log.hxx>
+#include <comphelper/processfactory.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <sfx2/passwd.hxx>
+#include <tools/urlobj.hxx>
+#include <ucbhelper/content.hxx>
+
+#include <libwps/libwps.h>
+
+#include <DocumentHandlerForOds.hxx>
+#include <WPFTEncodingDialog.hxx>
+#include <WPFTResMgr.hxx>
+#include "MSWorksCalcImportFilter.hxx"
+#include <strings.hrc>
+
+#include <iostream>
+#include <map>
+#include <utility>
+
+using namespace ::com::sun::star;
+
+namespace MSWorksCalcImportFilterInternal
+{
+/// returns the list of stream name present in a folder
+static uno::Reference<sdbc::XResultSet>
+getResultSet(const css::uno::Reference<css::ucb::XContent>& xPackageContent)
+{
+ try
+ {
+ if (xPackageContent.is())
+ {
+ ucbhelper::Content packageContent(xPackageContent,
+ uno::Reference<ucb::XCommandEnvironment>(),
+ comphelper::getProcessComponentContext());
+ uno::Sequence<OUString> lPropNames{ "Title" };
+ uno::Reference<sdbc::XResultSet> xResultSet(
+ packageContent.createCursor(lPropNames, ucbhelper::INCLUDE_DOCUMENTS_ONLY));
+ return xResultSet;
+ }
+ return uno::Reference<sdbc::XResultSet>();
+ }
+ catch (...)
+ {
+ SAL_WARN("writerperfect",
+ "ignoring Exception in MSWorksCalcImportFilterInternal:getResultSet");
+ return uno::Reference<sdbc::XResultSet>();
+ }
+}
+
+namespace
+{
+/** internal class used to create a structured RVNGInputStream from a list of path and their short names
+ */
+class FolderStream : public librevenge::RVNGInputStream
+{
+public:
+ //! constructor
+ explicit FolderStream(css::uno::Reference<css::ucb::XContent> xContent)
+ : m_xContent(std::move(xContent))
+ {
+ }
+
+ //! add a file
+ void addFile(OUString const& path, std::string const& shortName)
+ {
+ m_nameToPathMap[shortName] = path;
+ }
+ /**! reads numbytes data.
+
+ * \return a pointer to the read elements
+ */
+ const unsigned char* read(unsigned long, unsigned long&) override { return nullptr; }
+ //! returns actual offset position
+ long tell() override { return 0; }
+ /*! \brief seeks to an offset position, from actual, beginning or ending position
+ * \return 0 if ok
+ */
+ int seek(long, librevenge::RVNG_SEEK_TYPE) override { return 1; }
+ //! returns true if we are at the end of the section/file
+ bool isEnd() override { return true; }
+
+ /** returns true if the stream is ole
+
+ \sa returns always false*/
+ bool isStructured() override { return true; }
+ /** returns the number of sub streams.
+
+ \sa returns always 2*/
+ unsigned subStreamCount() override { return unsigned(m_nameToPathMap.size()); }
+ /** returns the ith sub streams name */
+ const char* subStreamName(unsigned id) override
+ {
+ if (m_nameToPathMap.size() < id)
+ return nullptr;
+
+ std::map<std::string, OUString>::const_iterator it = m_nameToPathMap.begin();
+ std::advance(it, id);
+ return it->first.c_str();
+ }
+ /** returns true if a substream with name exists */
+ bool existsSubStream(const char* name) override
+ {
+ return name && m_nameToPathMap.find(name) != m_nameToPathMap.end();
+ }
+ /** return a new stream for an OLE zone */
+ librevenge::RVNGInputStream* getSubStreamByName(const char* name) override
+ {
+ if (m_nameToPathMap.find(name) == m_nameToPathMap.end() || !m_xContent.is())
+ return nullptr;
+
+ try
+ {
+ const uno::Reference<sdbc::XResultSet> xResultSet = getResultSet(m_xContent);
+ if (xResultSet.is() && xResultSet->first())
+ {
+ const uno::Reference<ucb::XContentAccess> xContentAccess(xResultSet,
+ uno::UNO_QUERY_THROW);
+ const uno::Reference<sdbc::XRow> xRow(xResultSet, uno::UNO_QUERY_THROW);
+ OUString lPath = m_nameToPathMap.find(name)->second;
+ do
+ {
+ const OUString aTitle(xRow->getString(1));
+ if (aTitle != lPath)
+ continue;
+
+ const uno::Reference<ucb::XContent> xSubContent(xContentAccess->queryContent());
+ ucbhelper::Content aSubContent(xSubContent,
+ uno::Reference<ucb::XCommandEnvironment>(),
+ comphelper::getProcessComponentContext());
+ uno::Reference<io::XInputStream> xInputStream = aSubContent.openStream();
+ if (xInputStream.is())
+ return new writerperfect::WPXSvInputStream(xInputStream);
+ break;
+ } while (xResultSet->next());
+ }
+ }
+ catch (...)
+ {
+ SAL_WARN("writerperfect", "ignoring Exception in "
+ "MSWorksCalcImportFilterInternal::FolderStream::"
+ "getSubStreamByName");
+ }
+
+ return nullptr;
+ }
+ /** return a new stream for an OLE zone */
+ librevenge::RVNGInputStream* getSubStreamById(unsigned id) override
+ {
+ char const* name = subStreamName(id);
+ return name ? getSubStreamByName(name) : nullptr;
+ }
+
+private:
+ /// the main container
+ uno::Reference<ucb::XContent> m_xContent;
+ /// the map short name to path
+ std::map<std::string, OUString> m_nameToPathMap;
+ FolderStream(const FolderStream&) = delete;
+ FolderStream& operator=(const FolderStream&) = delete;
+};
+}
+}
+
+////////////////////////////////////////////////////////////
+bool MSWorksCalcImportFilter::doImportDocument(weld::Window* pParent,
+ librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator,
+ utl::MediaDescriptor& mediaDescriptor)
+{
+ libwps::WPSKind kind = libwps::WPS_TEXT;
+ libwps::WPSCreator creator;
+ bool needEncoding;
+ const libwps::WPSConfidence confidence
+ = libwps::WPSDocument::isFileFormatSupported(&rInput, kind, creator, needEncoding);
+
+ if ((kind != libwps::WPS_SPREADSHEET && kind != libwps::WPS_DATABASE)
+ || (confidence == libwps::WPS_CONFIDENCE_NONE))
+ return false;
+ std::string fileEncoding;
+ if (needEncoding)
+ {
+ OUString encoding;
+ // first check if we can find the encoding in the filter options (headless mode)
+ mediaDescriptor[utl::MediaDescriptor::PROP_FILTEROPTIONS] >>= encoding;
+ if (!encoding.isEmpty()) // TODO: check if the encoding string is valid
+ fileEncoding = encoding.toUtf8().getStr();
+ else
+ {
+ OUString title;
+ switch (creator)
+ {
+ case libwps::WPS_MSWORKS:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_MSWORKS);
+ encoding = "CP850";
+ break;
+ case libwps::WPS_LOTUS:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_LOTUS);
+ encoding = "CP437";
+ break;
+ case libwps::WPS_SYMPHONY:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_SYMPHONY);
+ encoding = "CP437";
+ break;
+ case libwps::WPS_QUATTRO_PRO:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_QUATTROPRO);
+ encoding = "CP437";
+ break;
+ case libwps::WPS_RESERVED_2:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_MSMULTIPLAN);
+ encoding = "CP437";
+ break;
+ default:
+ SAL_INFO("writerperfect", "unexpected creator: " << creator);
+ title = WpResId(STR_ENCODING_DIALOG_TITLE);
+ encoding = "CP437";
+ break;
+ }
+
+ fileEncoding = encoding.toUtf8().getStr(); // set default to the proposed encoding
+ try
+ {
+ writerperfect::WPFTEncodingDialog aDlg(pParent, title, encoding);
+ if (aDlg.run() == RET_OK)
+ {
+ if (!aDlg.GetEncoding().isEmpty())
+ fileEncoding = aDlg.GetEncoding().toUtf8().getStr();
+ }
+ // we can fail because we are in headless mode, the user has cancelled conversion, ...
+ else if (aDlg.hasUserCalledCancel())
+ return false;
+ }
+ catch (...)
+ {
+ SAL_WARN("writerperfect",
+ "ignoring Exception in MSWorksCalcImportFilter::doImportDocument");
+ }
+ }
+ }
+ OString aUtf8Passwd;
+ if (confidence == libwps::WPS_CONFIDENCE_SUPPORTED_ENCRYPTION)
+ {
+ OUString sPassword;
+ // now check if we can find the password in the properties
+ // (just in case, "soffice --headless" adds an option to send password)
+ mediaDescriptor[utl::MediaDescriptor::PROP_PASSWORD] >>= sPassword;
+ if (!sPassword.isEmpty())
+ aUtf8Passwd = OUStringToOString(sPassword, RTL_TEXTENCODING_UTF8);
+ else
+ {
+ // ok, ask the user for a password
+ try
+ {
+ SfxPasswordDialog aPasswdDlg(pParent);
+ aPasswdDlg.SetMinLen(1);
+ if (!aPasswdDlg.run())
+ return false;
+ OUString aPasswd = aPasswdDlg.GetPassword();
+ aUtf8Passwd = OUStringToOString(aPasswd, RTL_TEXTENCODING_UTF8);
+ }
+ catch (...)
+ {
+ return false;
+ }
+ }
+ }
+ return libwps::WPS_OK
+ == libwps::WPSDocument::parse(&rInput, &rGenerator,
+ confidence == libwps::WPS_CONFIDENCE_SUPPORTED_ENCRYPTION
+ ? aUtf8Passwd.getStr()
+ : nullptr,
+ fileEncoding.c_str());
+}
+
+//XExtendedFilterDetection
+sal_Bool
+MSWorksCalcImportFilter::filter(const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor)
+{
+ OUString sUrl;
+ css::uno::Reference<css::io::XInputStream> xInputStream;
+ css::uno::Reference<ucb::XContent> xContent;
+ css::uno::Reference<css::awt::XWindow> xDialogParent;
+
+ for (const auto& rValue : rDescriptor)
+ {
+ if (rValue.Name == "InputStream")
+ rValue.Value >>= xInputStream;
+ else if (rValue.Name == "UCBContent")
+ rValue.Value >>= xContent;
+ else if (rValue.Name == "FileName" || rValue.Name == "URL")
+ rValue.Value >>= sUrl;
+ else if (rValue.Name == "ParentWindow")
+ rValue.Value >>= xDialogParent;
+ }
+
+ if (!getXContext().is() || !xInputStream.is())
+ {
+ OSL_ASSERT(false);
+ return false;
+ }
+
+ // An XML import service: what we push sax messages to...
+ css::uno::Reference<XInterface> xInternalFilter
+ = getXContext()->getServiceManager()->createInstanceWithContext(
+ writerperfect::DocumentHandlerFor<OdsGenerator>::name(), getXContext());
+ assert(xInternalFilter);
+ css::uno::Reference<css::xml::sax::XFastDocumentHandler> xInternalHandler(xInternalFilter,
+ css::uno::UNO_QUERY);
+ assert(xInternalHandler);
+
+ // The XImporter sets up an empty target document for XDocumentHandler to write to...
+ css::uno::Reference<css::document::XImporter> xImporter(xInternalHandler, css::uno::UNO_QUERY);
+ assert(xImporter);
+ xImporter->setTargetDocument(getTargetDocument());
+
+ // OO Graphics Handler: abstract class to handle document SAX messages, concrete implementation here
+ // writes to in-memory target doc
+ writerperfect::DocumentHandler aHandler(
+ new SvXMLLegacyToFastDocHandler(static_cast<SvXMLImport*>(xInternalHandler.get())));
+
+ writerperfect::WPXSvInputStream input(xInputStream);
+ OdsGenerator exporter;
+ exporter.addDocumentHandler(&aHandler, ODF_FLAT_XML);
+ doRegisterHandlers(exporter);
+
+ utl::MediaDescriptor aDescriptor(rDescriptor);
+ try
+ {
+ // time to check if the file is a WK3 file and a FM3 file is
+ // present
+ bool checkForFM3 = false;
+ if (input.seek(0, librevenge::RVNG_SEEK_SET) == 0 && xContent.is()
+ && INetURLObject(sUrl).getExtension().equalsIgnoreAsciiCase("WK3"))
+ {
+ // check if the file header corresponds to a .wk3 file
+ unsigned long numBytesRead;
+ const unsigned char* data = input.read(6, numBytesRead);
+ if (data && numBytesRead == 6 && data[0] == 0 && data[1] == 0 && data[2] == 0x1a
+ && data[3] == 0 && data[4] < 2 && data[5] == 0x10)
+ checkForFM3 = true;
+ }
+ if (checkForFM3)
+ {
+ // check if the format file exists
+ const css::uno::Reference<container::XChild> xChild(xContent, uno::UNO_QUERY);
+ if (xChild.is())
+ {
+ OUString sWM3Name;
+ OUString sFM3Name;
+ const css::uno::Reference<ucb::XContent> xPackageContent(xChild->getParent(),
+ uno::UNO_QUERY);
+ uno::Reference<sdbc::XResultSet> xResultSet
+ = MSWorksCalcImportFilterInternal::getResultSet(xPackageContent);
+ if (xResultSet.is() && xResultSet->first())
+ {
+ const uno::Reference<ucb::XContentAccess> xContentAccess(xResultSet,
+ uno::UNO_QUERY_THROW);
+ const uno::Reference<sdbc::XRow> xRow(xResultSet, uno::UNO_QUERY_THROW);
+ INetURLObject aTmpUrl(sUrl);
+ sWM3Name = aTmpUrl.getName(INetURLObject::LAST_SEGMENT, true,
+ INetURLObject::DecodeMechanism::WithCharset);
+ aTmpUrl.setExtension(u"FM3");
+ const OUString& sTestFM3Name
+ = aTmpUrl.getName(INetURLObject::LAST_SEGMENT, true,
+ INetURLObject::DecodeMechanism::WithCharset);
+ do
+ {
+ const OUString& aTitle(xRow->getString(1));
+ if (aTitle.equalsIgnoreAsciiCase(sTestFM3Name))
+ sFM3Name = aTitle;
+ } while (xResultSet->next() && sFM3Name.isEmpty());
+ }
+ if (!sFM3Name.isEmpty())
+ {
+ MSWorksCalcImportFilterInternal::FolderStream structuredInput(xPackageContent);
+ structuredInput.addFile(sWM3Name, "WK3");
+ structuredInput.addFile(sFM3Name, "FM3");
+
+ libwps::WPSKind kind = libwps::WPS_TEXT;
+ libwps::WPSCreator creator;
+ bool needEncoding;
+ const libwps::WPSConfidence confidence
+ = libwps::WPSDocument::isFileFormatSupported(&structuredInput, kind,
+ creator, needEncoding);
+ if (confidence != libwps::WPS_CONFIDENCE_NONE)
+ return doImportDocument(Application::GetFrameWeld(xDialogParent),
+ structuredInput, exporter, aDescriptor);
+ }
+ }
+ }
+ }
+ catch (...)
+ {
+ }
+
+ return doImportDocument(Application::GetFrameWeld(xDialogParent), input, exporter, aDescriptor);
+}
+
+bool MSWorksCalcImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput,
+ OUString& rTypeName)
+{
+ libwps::WPSKind kind = libwps::WPS_TEXT;
+ libwps::WPSCreator creator;
+ bool needEncoding;
+ const libwps::WPSConfidence confidence
+ = libwps::WPSDocument::isFileFormatSupported(&rInput, kind, creator, needEncoding);
+
+ if ((kind == libwps::WPS_SPREADSHEET || kind == libwps::WPS_DATABASE)
+ && confidence != libwps::WPS_CONFIDENCE_NONE)
+ {
+ switch (creator)
+ {
+ case libwps::WPS_MSWORKS:
+ rTypeName = "calc_MS_Works_Document";
+ break;
+ case libwps::WPS_LOTUS:
+ case libwps::WPS_SYMPHONY:
+ rTypeName = "calc_WPS_Lotus_Document";
+ break;
+ case libwps::WPS_QUATTRO_PRO:
+ rTypeName = "calc_WPS_QPro_Document";
+ break;
+ case libwps::WPS_RESERVED_2:
+ rTypeName = "calc_MS_Multiplan";
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void MSWorksCalcImportFilter::doRegisterHandlers(OdsGenerator&) {}
+
+// XServiceInfo
+OUString SAL_CALL MSWorksCalcImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Calc.MSWorksCalcImportFilter";
+}
+
+sal_Bool SAL_CALL MSWorksCalcImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL MSWorksCalcImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Calc_MSWorksCalcImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MSWorksCalcImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.hxx b/writerperfect/source/calc/MSWorksCalcImportFilter.hxx
new file mode 100644
index 0000000000..d0ce3e1fcc
--- /dev/null
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.hxx
@@ -0,0 +1,45 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <DocumentHandlerForOds.hxx>
+#include <ImportFilter.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MSWorksCalcImportFilter : public writerperfect::ImportFilter<OdsGenerator>
+{
+public:
+ explicit MSWorksCalcImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdsGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+ //XFilter
+ virtual sal_Bool SAL_CALL
+ filter(const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor) override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdsGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/MWAWCalcImportFilter.cxx b/writerperfect/source/calc/MWAWCalcImportFilter.cxx
new file mode 100644
index 0000000000..186084b177
--- /dev/null
+++ b/writerperfect/source/calc/MWAWCalcImportFilter.cxx
@@ -0,0 +1,124 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MWAWCalcImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libmwaw/libmwaw.hxx>
+
+#include "MWAWCalcImportFilter.hxx"
+
+static bool handleEmbeddedMWAWGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedMWAWSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool MWAWCalcImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return MWAWDocument::MWAW_R_OK == MWAWDocument::parse(&rInput, &rGenerator);
+}
+
+bool MWAWCalcImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ MWAWDocument::Type docType = MWAWDocument::MWAW_T_UNKNOWN;
+ MWAWDocument::Kind docKind = MWAWDocument::MWAW_K_UNKNOWN;
+ const MWAWDocument::Confidence confidence
+ = MWAWDocument::isFileFormatSupported(&rInput, docType, docKind);
+
+ if (confidence == MWAWDocument::MWAW_C_EXCELLENT)
+ {
+ switch (docKind)
+ {
+ case MWAWDocument::MWAW_K_DATABASE:
+ switch (docType)
+ {
+ case MWAWDocument::MWAW_T_CLARISWORKS:
+ rTypeName = "calc_ClarisWorks";
+ break;
+ case MWAWDocument::MWAW_T_MICROSOFTWORKS:
+ rTypeName = "calc_Mac_Works";
+ break;
+ default:
+ rTypeName = "MWAW_Database";
+ break;
+ }
+ break;
+ case MWAWDocument::MWAW_K_SPREADSHEET:
+ switch (docType)
+ {
+ case MWAWDocument::MWAW_T_CLARISRESOLVE:
+ rTypeName = "calc_Claris_Resolve";
+ break;
+ case MWAWDocument::MWAW_T_CLARISWORKS:
+ rTypeName = "calc_ClarisWorks";
+ break;
+ case MWAWDocument::MWAW_T_MICROSOFTWORKS:
+ rTypeName = "calc_Mac_Works";
+ break;
+ default:
+ rTypeName = "MWAW_Spreadsheet";
+ break;
+ }
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void MWAWCalcImportFilter::doRegisterHandlers(OdsGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-ods",
+ &handleEmbeddedMWAWSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL MWAWCalcImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Calc.MWAWCalcImportFilter";
+}
+
+sal_Bool SAL_CALL MWAWCalcImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL MWAWCalcImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Calc_MWAWCalcImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MWAWCalcImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/MWAWCalcImportFilter.hxx b/writerperfect/source/calc/MWAWCalcImportFilter.hxx
new file mode 100644
index 0000000000..aa574315d5
--- /dev/null
+++ b/writerperfect/source/calc/MWAWCalcImportFilter.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <DocumentHandlerForOds.hxx>
+#include <ImportFilter.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MWAWCalcImportFilter : public writerperfect::ImportFilter<OdsGenerator>
+{
+public:
+ explicit MWAWCalcImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdsGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdsGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/NumbersImportFilter.cxx b/writerperfect/source/calc/NumbersImportFilter.cxx
new file mode 100644
index 0000000000..813684361a
--- /dev/null
+++ b/writerperfect/source/calc/NumbersImportFilter.cxx
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* NumbersImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <libetonyek/libetonyek.h>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include "NumbersImportFilter.hxx"
+
+using libetonyek::EtonyekDocument;
+
+bool NumbersImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return EtonyekDocument::parse(&rInput, &rGenerator);
+}
+
+bool NumbersImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ EtonyekDocument::Type type = EtonyekDocument::TYPE_UNKNOWN;
+ const EtonyekDocument::Confidence confidence = EtonyekDocument::isSupported(&rInput, &type);
+ if ((confidence == EtonyekDocument::CONFIDENCE_EXCELLENT)
+ && (type == EtonyekDocument::TYPE_NUMBERS))
+ {
+ rTypeName = "calc_AppleNumbers";
+ return true;
+ }
+
+ return false;
+}
+
+void NumbersImportFilter::doRegisterHandlers(OdsGenerator&) {}
+
+// XServiceInfo
+OUString SAL_CALL NumbersImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Calc.NumbersImportFilter";
+}
+
+sal_Bool SAL_CALL NumbersImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL NumbersImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Calc_NumbersImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new NumbersImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/NumbersImportFilter.hxx b/writerperfect/source/calc/NumbersImportFilter.hxx
new file mode 100644
index 0000000000..96db0b6893
--- /dev/null
+++ b/writerperfect/source/calc/NumbersImportFilter.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <DocumentHandlerForOds.hxx>
+#include <ImportFilter.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class NumbersImportFilter : public writerperfect::ImportFilter<OdsGenerator>
+{
+public:
+ explicit NumbersImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdsGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdsGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx
new file mode 100644
index 0000000000..de7e30e44d
--- /dev/null
+++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx
@@ -0,0 +1,99 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libstaroffice/libstaroffice.hxx>
+
+#include "StarOfficeCalcImportFilter.hxx"
+
+using com::sun::star::uno::Sequence;
+using com::sun::star::uno::XComponentContext;
+using com::sun::star::uno::XInterface;
+
+static bool handleEmbeddedSTOFFGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedSTOFFSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool StarOfficeCalcImportFilter::doImportDocument(weld::Window*,
+ librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return STOFFDocument::STOFF_R_OK == STOFFDocument::parse(&rInput, &rGenerator);
+}
+
+bool StarOfficeCalcImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput,
+ OUString& rTypeName)
+{
+ rTypeName.clear();
+ STOFFDocument::Kind docKind = STOFFDocument::STOFF_K_UNKNOWN;
+ const STOFFDocument::Confidence confidence
+ = STOFFDocument::isFileFormatSupported(&rInput, docKind);
+ if (confidence == STOFFDocument::STOFF_C_EXCELLENT
+ || confidence == STOFFDocument::STOFF_C_SUPPORTED_ENCRYPTION)
+ {
+ switch (docKind)
+ {
+ case STOFFDocument::STOFF_K_DATABASE:
+ case STOFFDocument::STOFF_K_SPREADSHEET:
+ rTypeName = "StarOffice_Spreadsheet";
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void StarOfficeCalcImportFilter::doRegisterHandlers(OdsGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-odg", &handleEmbeddedSTOFFGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-ods",
+ &handleEmbeddedSTOFFSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL StarOfficeCalcImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Calc.StarOfficeCalcImportFilter";
+}
+
+sal_Bool SAL_CALL StarOfficeCalcImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+Sequence<OUString> SAL_CALL StarOfficeCalcImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Calc_StarOfficeCalcImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new StarOfficeCalcImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx
new file mode 100644
index 0000000000..0b11e5166f
--- /dev/null
+++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <DocumentHandlerForOds.hxx>
+#include <ImportFilter.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class StarOfficeCalcImportFilter : public writerperfect::ImportFilter<OdsGenerator>
+{
+public:
+ explicit StarOfficeCalcImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdsGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdsGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdsGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/calc/wpftcalc.component b/writerperfect/source/calc/wpftcalc.component
new file mode 100644
index 0000000000..7054f76995
--- /dev/null
+++ b/writerperfect/source/calc/wpftcalc.component
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+-->
+<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.Calc.MSWorksCalcImportFilter"
+ constructor="com_sun_star_comp_Calc_MSWorksCalcImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Calc.MWAWCalcImportFilter"
+ constructor="com_sun_star_comp_Calc_MWAWCalcImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Calc.NumbersImportFilter"
+ constructor="org_libreoffice_comp_Calc_NumbersImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <optional/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Calc.StarOfficeCalcImportFilter"
+ constructor="org_libreoffice_comp_Calc_StarOfficeCalcImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+</component>
diff --git a/writerperfect/source/calc/wpftcalc.component.extended b/writerperfect/source/calc/wpftcalc.component.extended
new file mode 100644
index 0000000000..81bdc103cc
--- /dev/null
+++ b/writerperfect/source/calc/wpftcalc.component.extended
@@ -0,0 +1,7 @@
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+org.libreoffice.comp.Calc.NumbersImportFilter
diff --git a/writerperfect/source/common/DirectoryStream.cxx b/writerperfect/source/common/DirectoryStream.cxx
new file mode 100644
index 0000000000..9664fbee97
--- /dev/null
+++ b/writerperfect/source/common/DirectoryStream.cxx
@@ -0,0 +1,222 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* writerperfect
+ * Version: MPL 2.0 / LGPLv2.1+
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * Major Contributor(s):
+ * Copyright (C) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
+ *
+ * For minor contributions see the git repository.
+ *
+ * Alternatively, the contents of this file may be used under the terms
+ * of the GNU Lesser General Public License Version 2.1 or later
+ * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
+ * applicable instead of those above.
+ *
+ * For further information visit http://libwpd.sourceforge.net
+ */
+
+#include <memory>
+#include <com/sun/star/container/XChild.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/sdbc/XResultSet.hpp>
+#include <com/sun/star/sdbc/XRow.hpp>
+#include <com/sun/star/ucb/XContent.hpp>
+#include <com/sun/star/ucb/XContentAccess.hpp>
+#include <com/sun/star/ucb/XCommandEnvironment.hpp>
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/uno/Sequence.hxx>
+
+#include <comphelper/processfactory.hxx>
+
+#include <rtl/ustring.hxx>
+
+#include <ucbhelper/content.hxx>
+
+#include <DirectoryStream.hxx>
+#include <WPXSvInputStream.hxx>
+#include <utility>
+
+namespace io = com::sun::star::io;
+namespace sdbc = com::sun::star::sdbc;
+namespace ucb = com::sun::star::ucb;
+namespace uno = com::sun::star::uno;
+
+namespace writerperfect
+{
+namespace
+{
+uno::Reference<io::XInputStream> findStream(ucbhelper::Content& rContent, std::u16string_view rName)
+{
+ uno::Reference<io::XInputStream> xInputStream;
+
+ uno::Sequence<OUString> lPropNames{ "Title" };
+ try
+ {
+ const uno::Reference<sdbc::XResultSet> xResultSet(
+ rContent.createCursor(lPropNames, ucbhelper::INCLUDE_DOCUMENTS_ONLY));
+ if (xResultSet->first())
+ {
+ const uno::Reference<ucb::XContentAccess> xContentAccess(xResultSet,
+ uno::UNO_QUERY_THROW);
+ const uno::Reference<sdbc::XRow> xRow(xResultSet, uno::UNO_QUERY_THROW);
+ do
+ {
+ const OUString aTitle(xRow->getString(1));
+ if (aTitle == rName)
+ {
+ const uno::Reference<ucb::XContent> xSubContent(xContentAccess->queryContent());
+ ucbhelper::Content aSubContent(xSubContent,
+ uno::Reference<ucb::XCommandEnvironment>(),
+ comphelper::getProcessComponentContext());
+ xInputStream = aSubContent.openStream();
+ break;
+ }
+ } while (xResultSet->next());
+ }
+ }
+ catch (const uno::RuntimeException&)
+ {
+ // ignore
+ }
+ catch (const uno::Exception&)
+ {
+ // ignore
+ }
+
+ return xInputStream;
+}
+}
+
+struct DirectoryStream::Impl
+{
+ explicit Impl(uno::Reference<ucb::XContent> xContent);
+
+ uno::Reference<ucb::XContent> xContent;
+};
+
+DirectoryStream::Impl::Impl(uno::Reference<ucb::XContent> _xContent)
+ : xContent(std::move(_xContent))
+{
+}
+
+DirectoryStream::DirectoryStream(const css::uno::Reference<css::ucb::XContent>& xContent)
+ : m_pImpl(isDirectory(xContent) ? new Impl(xContent) : nullptr)
+{
+}
+
+DirectoryStream::~DirectoryStream() {}
+
+bool DirectoryStream::isDirectory(const css::uno::Reference<css::ucb::XContent>& xContent)
+{
+ try
+ {
+ if (!xContent.is())
+ return false;
+
+ ucbhelper::Content aContent(xContent, uno::Reference<ucb::XCommandEnvironment>(),
+ comphelper::getProcessComponentContext());
+ return aContent.isFolder();
+ }
+ catch (...)
+ {
+ return false;
+ }
+}
+
+std::unique_ptr<DirectoryStream>
+DirectoryStream::createForParent(const css::uno::Reference<css::ucb::XContent>& xContent)
+{
+ try
+ {
+ if (!xContent.is())
+ return nullptr;
+
+ std::unique_ptr<DirectoryStream> pDir;
+
+ const uno::Reference<css::container::XChild> xChild(xContent, uno::UNO_QUERY);
+ if (xChild.is())
+ {
+ const uno::Reference<ucb::XContent> xDirContent(xChild->getParent(), uno::UNO_QUERY);
+ if (xDirContent.is())
+ {
+ pDir = std::make_unique<DirectoryStream>(xDirContent);
+ if (!pDir->isStructured())
+ pDir.reset();
+ }
+ }
+
+ return pDir;
+ }
+ catch (...)
+ {
+ return nullptr;
+ }
+}
+
+css::uno::Reference<css::ucb::XContent> DirectoryStream::getContent() const
+{
+ if (!m_pImpl)
+ return css::uno::Reference<css::ucb::XContent>();
+ return m_pImpl->xContent;
+}
+
+bool DirectoryStream::isStructured() { return m_pImpl != nullptr; }
+
+unsigned DirectoryStream::subStreamCount()
+{
+ // TODO: implement me
+ return 0;
+}
+
+const char* DirectoryStream::subStreamName(unsigned /* id */)
+{
+ // TODO: implement me
+ return nullptr;
+}
+
+bool DirectoryStream::existsSubStream(const char* /* name */)
+{
+ // TODO: implement me
+ return false;
+}
+
+librevenge::RVNGInputStream* DirectoryStream::getSubStreamByName(const char* const pName)
+{
+ if (!m_pImpl)
+ return nullptr;
+
+ ucbhelper::Content aContent(m_pImpl->xContent, uno::Reference<ucb::XCommandEnvironment>(),
+ comphelper::getProcessComponentContext());
+ const uno::Reference<io::XInputStream> xInputStream(
+ findStream(aContent, OUString::createFromAscii(pName)));
+ if (xInputStream.is())
+ return new WPXSvInputStream(xInputStream);
+
+ return nullptr;
+}
+
+librevenge::RVNGInputStream* DirectoryStream::getSubStreamById(unsigned /* id */)
+{
+ // TODO: implement me
+ return nullptr;
+}
+
+const unsigned char* DirectoryStream::read(unsigned long, unsigned long& nNumBytesRead)
+{
+ nNumBytesRead = 0;
+ return nullptr;
+}
+
+int DirectoryStream::seek(long, librevenge::RVNG_SEEK_TYPE) { return -1; }
+
+long DirectoryStream::tell() { return 0; }
+
+bool DirectoryStream::isEnd() { return true; }
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/common/DocumentHandler.cxx b/writerperfect/source/common/DocumentHandler.cxx
new file mode 100644
index 0000000000..28730ab5ee
--- /dev/null
+++ b/writerperfect/source/common/DocumentHandler.cxx
@@ -0,0 +1,179 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * For further information visit http://libwpd.sourceforge.net
+ */
+
+#include <DocumentHandler.hxx>
+
+#include <string.h>
+
+#include <com/sun/star/uno/Reference.hxx>
+#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#include <com/sun/star/xml/sax/XAttributeList.hpp>
+#include <comphelper/attributelist.hxx>
+#include <xmloff/xmlimp.hxx>
+
+namespace writerperfect
+{
+const unsigned char librvng_utf8_skip_data[256]
+ = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
+ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3,
+ 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 1, 1 };
+
+static const char* librvng_utf8_next_char(const char* p)
+{
+ return p + librvng_utf8_skip_data[*reinterpret_cast<unsigned char const*>(p)];
+}
+
+static void unescapeXML(const char* s, const unsigned long sz, librevenge::RVNGString& res)
+{
+ const char* p = s;
+ const char* const end = p + sz;
+ while (p != end)
+ {
+ const char* const next = librvng_utf8_next_char(p);
+ if (next > end)
+ {
+ // oops, the string is invalid
+ break;
+ }
+ if (p + 4 <= end && p + 1 == next && *p == '&')
+ {
+ // look for &amp; , &lt; , &gt; , &apos; , &quot;
+ bool escapedChar = false;
+ switch (*(p + 1))
+ {
+ case 'a':
+ if (p + 5 <= end && strncmp(p, "&amp;", 5) == 0)
+ {
+ res.append('&');
+ p += 5;
+ escapedChar = true;
+ }
+ else if (p + 6 <= end && strncmp(p, "&apos;", 6) == 0)
+ {
+ res.append('\'');
+ p += 6;
+ escapedChar = true;
+ }
+ break;
+ case 'g':
+ if (strncmp(p, "&gt;", 4) == 0)
+ {
+ res.append('>');
+ p += 4;
+ escapedChar = true;
+ }
+ break;
+ case 'l':
+ if (strncmp(p, "&lt;", 4) == 0)
+ {
+ res.append('<');
+ p += 4;
+ escapedChar = true;
+ }
+ break;
+ case 'q':
+ if (p + 6 <= end && strncmp(p, "&quot;", 6) == 0)
+ {
+ res.append('"');
+ p += 6;
+ escapedChar = true;
+ }
+ break;
+ default:
+ break;
+ }
+ if (escapedChar)
+ continue;
+ }
+
+ while (p != next)
+ {
+ res.append(*p);
+ ++p;
+ }
+ p = next;
+ }
+}
+
+using com::sun::star::uno::Reference;
+using com::sun::star::xml::sax::XDocumentHandler;
+
+DocumentHandler::DocumentHandler(Reference<XDocumentHandler> const& xHandler)
+ : mxHandler(xHandler)
+{
+ if (SvXMLImport* pFastHandler = dynamic_cast<SvXMLImport*>(mxHandler.get()))
+ mxHandler.set(new SvXMLLegacyToFastDocHandler(pFastHandler));
+}
+
+void DocumentHandler::startDocument() { mxHandler->startDocument(); }
+
+void DocumentHandler::endDocument() { mxHandler->endDocument(); }
+
+void DocumentHandler::startElement(const char* psName,
+ const librevenge::RVNGPropertyList& xPropList)
+{
+ rtl::Reference<comphelper::AttributeList> pAttrList = new comphelper::AttributeList();
+ librevenge::RVNGPropertyList::Iter i(xPropList);
+ for (i.rewind(); i.next();)
+ {
+ // filter out librevenge elements
+ if (strncmp(i.key(), "librevenge", 10) != 0)
+ {
+ size_t keyLength = strlen(i.key());
+ OUString sName(i.key(), keyLength, RTL_TEXTENCODING_UTF8);
+ OUString sValue(i()->getStr().cstr(), i()->getStr().len(), RTL_TEXTENCODING_UTF8);
+
+ // libodfgen xml-encodes some attribute's value, so check if the value is encoded or not
+ for (int j = 0; j < 9; ++j)
+ {
+ // list of the encoded attributes followed by their lengths
+ static char const* listEncoded[9]
+ = { "draw:name", "svg:font-family", "style:condition",
+ "style:num-prefix", "style:num-suffix", "table:formula",
+ "text:bullet-char", "text:label", "xlink:href" };
+ static size_t const listEncodedLength[9] = { 9, 15, 15, 16, 16, 13, 16, 10, 10 };
+ if (keyLength == listEncodedLength[j]
+ && strncmp(i.key(), listEncoded[j], keyLength) == 0)
+ {
+ librevenge::RVNGString decodedValue("");
+ unescapeXML(i()->getStr().cstr(),
+ static_cast<unsigned long>(i()->getStr().len()), decodedValue);
+ sValue
+ = OUString(decodedValue.cstr(), decodedValue.len(), RTL_TEXTENCODING_UTF8);
+ break;
+ }
+ }
+ pAttrList->AddAttribute(sName, sValue);
+ }
+ }
+
+ OUString sElementName(psName, strlen(psName), RTL_TEXTENCODING_UTF8);
+ mxHandler->startElement(sElementName, pAttrList);
+}
+
+void DocumentHandler::endElement(const char* psName)
+{
+ OUString sElementName(psName, strlen(psName), RTL_TEXTENCODING_UTF8);
+ mxHandler->endElement(sElementName);
+}
+
+void DocumentHandler::characters(const librevenge::RVNGString& sCharacters)
+{
+ OUString sCharU16(sCharacters.cstr(), strlen(sCharacters.cstr()), RTL_TEXTENCODING_UTF8);
+ mxHandler->characters(sCharU16);
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/common/WPFTEncodingDialog.cxx b/writerperfect/source/common/WPFTEncodingDialog.cxx
new file mode 100644
index 0000000000..d9fc0d9c19
--- /dev/null
+++ b/writerperfect/source/common/WPFTEncodingDialog.cxx
@@ -0,0 +1,121 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#include <sal/config.h>
+
+#include <cstddef>
+#include <string_view>
+#include <utility>
+
+#include <WPFTEncodingDialog.hxx>
+
+namespace writerperfect
+{
+namespace
+{
+std::pair<std::u16string_view, std::u16string_view> const s_encodings[]
+ = { { u"MacArabic", u"Arabic (Apple Macintosh)" },
+ { u"CP864", u"Arabic (DOS/OS2-864)" },
+ { u"CP1006", u"Arabic (IBM-1006)" },
+ { u"CP1256", u"Arabic (Windows-1256)" },
+ { u"CP775", u"Baltic (DOS/OS2-775)" },
+ { u"CP1257", u"Baltic (Windows-1257)" },
+ { u"MacCeltic", u"Celtic (Apple Macintosh)" },
+ { u"MacCyrillic", u"Cyrillic (Apple Macintosh)" },
+ { u"CP855", u"Cyrillic (DOS/OS2-855)" },
+ { u"CP866", u"Cyrillic (DOS/OS2-866/Russian)" },
+ { u"CP1251", u"Cyrillic (Windows-1251)" },
+ { u"MacCEurope", u"Eastern Europe (Apple Macintosh)" },
+ { u"MacCroatian", u"Eastern Europe (Apple Macintosh/Croatian)" },
+ { u"MacRomanian", u"Eastern Europe (Apple Macintosh/Romanian)" },
+ { u"CP852", u"Eastern Europe (DOS/OS2-852)" },
+ { u"CP1250", u"Eastern Europe (Windows-1250/WinLatin 2)" },
+ { u"MacGreek", u"Greek (Apple Macintosh)" },
+ { u"CP737", u"Greek (DOS/OS2-737)" },
+ { u"CP869", u"Greek (DOS/OS2-869/Greek-2)" },
+ { u"CP875", u"Greek (DOS/OS2-875)" },
+ { u"CP1253", u"Greek (Windows-1253)" },
+ { u"MacHebrew", u"Hebrew (Apple Macintosh)" },
+ { u"CP424", u"Hebrew (DOS/OS2-424)" },
+ { u"CP856", u"Hebrew (DOS/OS2-856)" },
+ { u"CP862", u"Hebrew (DOS/OS2-862)" },
+ { u"CP1255", u"Hebrew (Windows-1255)" },
+ { u"CP500", u"International (DOS/OS2-500)" },
+ { u"CP932", u"Japanese (Windows-932)" },
+ { u"MacThai", u"Thai (Apple Macintosh)" },
+ { u"CP874", u"Thai (DOS/OS2-874)" },
+ { u"CP950", u"Traditional Chinese (Windows-950)" },
+ { u"MacTurkish", u"Turkish (Apple Macintosh)" },
+ { u"CP857", u"Turkish (DOS/OS2-857)" },
+ { u"CP1026", u"Turkish (DOS/OS2-1026)" },
+ { u"CP1254", u"Turkish (Windows-1254)" },
+ { u"CP1258", u"Vietnamese (Windows-1258)" },
+ { u"MacRoman", u"Western Europe (Apple Macintosh)" },
+ { u"MacIceland", u"Western Europe (Apple Macintosh/Icelandic)" },
+ { u"CP037", u"Western Europe (DOS/OS2-037/US-Canada)" },
+ { u"CP437", u"Western Europe (DOS/OS2-437/US)" },
+ { u"CP850", u"Western Europe (DOS/OS2-850)" },
+ { u"CP860", u"Western Europe (DOS/OS2-860/Portuguese)" },
+ { u"CP861", u"Western Europe (DOS/OS2-861/Icelandic)" },
+ { u"CP863", u"Western Europe (DOS/OS2-863/French)" },
+ { u"CP865", u"Western Europe (DOS/OS2-865/Nordic)" },
+ { u"CP1252", u"Western Europe (Windows-1252/WinLatin 1)" } };
+
+std::size_t const numEncodings = SAL_N_ELEMENTS(s_encodings);
+
+void insertEncodings(weld::ComboBox& box)
+{
+ for (std::size_t i = 0; i < numEncodings; ++i)
+ box.append(OUString(s_encodings[i].first), OUString(s_encodings[i].second));
+}
+
+void selectEncoding(weld::ComboBox& box, const OUString& encoding) { box.set_active_id(encoding); }
+
+OUString getEncoding(const weld::ComboBox& box) { return box.get_active_id(); }
+}
+
+WPFTEncodingDialog::WPFTEncodingDialog(weld::Window* pParent, const OUString& title,
+ const OUString& encoding)
+ : GenericDialogController(pParent, "writerperfect/ui/wpftencodingdialog.ui",
+ "WPFTEncodingDialog")
+ , m_userHasCancelled(false)
+ , m_xLbCharset(m_xBuilder->weld_combo_box("comboboxtext"))
+ , m_xBtnCancel(m_xBuilder->weld_button("cancel"))
+{
+ m_xBtnCancel->connect_clicked(LINK(this, WPFTEncodingDialog, CancelHdl));
+
+ insertEncodings(*m_xLbCharset);
+ m_xLbCharset->make_sorted();
+ selectEncoding(*m_xLbCharset, encoding);
+
+ m_xDialog->set_title(title);
+}
+
+WPFTEncodingDialog::~WPFTEncodingDialog() {}
+
+OUString WPFTEncodingDialog::GetEncoding() const { return getEncoding(*m_xLbCharset); }
+
+IMPL_LINK_NOARG(WPFTEncodingDialog, CancelHdl, weld::Button&, void)
+{
+ m_userHasCancelled = true;
+ m_xDialog->response(RET_CANCEL);
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
new file mode 100644
index 0000000000..dee82500de
--- /dev/null
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -0,0 +1,785 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <WPXSvInputStream.hxx>
+
+#include <com/sun/star/packages/zip/XZipFileAccess2.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <comphelper/processfactory.hxx>
+#include <comphelper/seekableinput.hxx>
+#include <o3tl/safeint.hxx>
+#include <rtl/string.hxx>
+#include <sal/log.hxx>
+
+#include <unotools/streamwrap.hxx>
+#include <unotools/ucbstreamhelper.hxx>
+
+#include <climits>
+#include <limits>
+#include <memory>
+#include <string_view>
+#include <unordered_map>
+#include <utility>
+#include <vector>
+
+namespace writerperfect
+{
+using namespace ::com::sun::star::uno;
+using namespace ::com::sun::star::io;
+
+namespace container = com::sun::star::container;
+namespace packages = com::sun::star::packages;
+
+namespace
+{
+class PositionHolder
+{
+public:
+ explicit PositionHolder(const Reference<XSeekable>& rxSeekable);
+ ~PositionHolder();
+ PositionHolder(const PositionHolder&) = delete;
+ PositionHolder& operator=(const PositionHolder&) = delete;
+
+private:
+ const Reference<XSeekable> mxSeekable;
+ const sal_uInt64 mnPosition;
+};
+} // anonymous namespace
+
+PositionHolder::PositionHolder(const Reference<XSeekable>& rxSeekable)
+ : mxSeekable(rxSeekable)
+ , mnPosition(rxSeekable->getPosition())
+{
+}
+
+PositionHolder::~PositionHolder()
+{
+ try
+ {
+ mxSeekable->seek(mnPosition);
+ }
+ catch (...)
+ {
+ }
+}
+
+static OUString lcl_normalizeSubStreamPath(const OUString& rPath)
+{
+ // accept paths which begin by '/'
+ // TODO: maybe this should do a full normalization
+ if (rPath.startsWith("/") && rPath.getLength() >= 2)
+ return rPath.copy(1);
+ return rPath;
+}
+
+static OUString concatPath(std::u16string_view lhs, const OUString& rhs)
+{
+ if (lhs.empty())
+ return rhs;
+ return OUString::Concat(lhs) + "/" + rhs;
+}
+
+namespace
+{
+struct OLEStreamData
+{
+ OLEStreamData(OString aName, OString rvngName)
+ : name(std::move(aName))
+ , RVNGname(std::move(rvngName))
+ {
+ }
+
+ tools::SvRef<SotStorageStream> stream;
+
+ /** Name of the stream.
+ *
+ * This is not @c OUString, because we need to be able to
+ * produce const char* from it.
+ */
+ OString name;
+ /** librevenge name of the stream.
+ *
+ * This is not @c OUString, because we need to be able to
+ * produce const char* from it.
+ */
+ OString RVNGname;
+};
+} // anonymous namespace
+
+typedef std::unordered_map<OUString, std::size_t> NameMap_t;
+typedef std::unordered_map<OUString, tools::SvRef<SotStorage>> OLEStorageMap_t;
+
+/** Representation of an OLE2 storage.
+ *
+ * This class tries to bring a bit of sanity to use of SotStorage with
+ * respect to the needs of @c librevenge::RVNGInputStream API. It
+ * holds all nested storages for the whole lifetime (more precisely,
+ * since initialization, which is performed by calling @c
+ * initialize()), thus ensuring that no created stream is destroyed
+ * just because its parent storage went out of scope. It also holds a
+ * bidirectional map of stream names to their indexes (index of a
+ * stream is determined by deep-first traversal), which is also
+ * populated during initialization (member variables @c maStreams and
+ * @c maNameMap).
+ *
+ * Streams are created on demand (and saved, for the same reason as
+ * storages).
+ */
+struct OLEStorageImpl
+{
+ OLEStorageImpl();
+
+ void initialize(std::unique_ptr<SvStream> pStream);
+
+ tools::SvRef<SotStorageStream> getStream(const OUString& rPath);
+ tools::SvRef<SotStorageStream> const& getStream(std::size_t nId);
+
+private:
+ void traverse(const tools::SvRef<SotStorage>& rStorage, std::u16string_view rPath);
+
+ tools::SvRef<SotStorageStream> createStream(const OUString& rPath);
+
+public:
+ tools::SvRef<SotStorage> mxRootStorage; //< root storage of the OLE2
+ OLEStorageMap_t maStorageMap; //< map of all sub storages by name
+ ::std::vector<OLEStreamData> maStreams; //< list of streams and their names
+ NameMap_t maNameMap; //< map of stream names to indexes (into @c maStreams)
+ bool mbInitialized;
+};
+
+OLEStorageImpl::OLEStorageImpl()
+ : mbInitialized(false)
+{
+}
+
+void OLEStorageImpl::initialize(std::unique_ptr<SvStream> pStream)
+{
+ if (!pStream)
+ return;
+
+ mxRootStorage = new SotStorage(pStream.release(), true);
+
+ traverse(mxRootStorage, u"");
+
+ mbInitialized = true;
+}
+
+tools::SvRef<SotStorageStream> OLEStorageImpl::getStream(const OUString& rPath)
+{
+ const OUString aPath(lcl_normalizeSubStreamPath(rPath));
+ NameMap_t::iterator aIt = maNameMap.find(aPath);
+
+ // For the while don't return stream in this situation.
+ // Later, given how libcdr's zip stream implementation behaves,
+ // return the first stream in the storage if there is one.
+ if (maNameMap.end() == aIt)
+ return tools::SvRef<SotStorageStream>();
+
+ if (!maStreams[aIt->second].stream.is())
+ maStreams[aIt->second].stream
+ = createStream(OStringToOUString(maStreams[aIt->second].name, RTL_TEXTENCODING_UTF8));
+
+ return maStreams[aIt->second].stream;
+}
+
+tools::SvRef<SotStorageStream> const& OLEStorageImpl::getStream(const std::size_t nId)
+{
+ if (!maStreams[nId].stream.is())
+ maStreams[nId].stream
+ = createStream(OStringToOUString(maStreams[nId].name, RTL_TEXTENCODING_UTF8));
+
+ return maStreams[nId].stream;
+}
+
+void OLEStorageImpl::traverse(const tools::SvRef<SotStorage>& rStorage, std::u16string_view rPath)
+{
+ SvStorageInfoList infos;
+
+ rStorage->FillInfoList(&infos);
+
+ for (const auto& info : infos)
+ {
+ if (info.IsStream())
+ {
+ OUString baseName = info.GetName(), rvngName = baseName;
+ // librevenge::RVNGOLEStream ignores the first character when is a control code, so ...
+ if (!rvngName.isEmpty() && rvngName.toChar() < 32)
+ rvngName = rvngName.copy(1);
+ maStreams.emplace_back(
+ OUStringToOString(concatPath(rPath, baseName), RTL_TEXTENCODING_UTF8),
+ OUStringToOString(concatPath(rPath, rvngName), RTL_TEXTENCODING_UTF8));
+ maNameMap[concatPath(rPath, rvngName)] = maStreams.size() - 1;
+ }
+ else if (info.IsStorage())
+ {
+ const OUString aPath = concatPath(rPath, info.GetName());
+ tools::SvRef<SotStorage> aStorage
+ = rStorage->OpenSotStorage(info.GetName(), StreamMode::STD_READ);
+ maStorageMap[aPath] = aStorage;
+
+ // deep-first traversal
+ traverse(aStorage, aPath);
+ }
+ else
+ {
+ SAL_WARN("writerperfect",
+ "OLEStorageImpl::traverse: invalid storage entry, neither stream nor file");
+ }
+ }
+}
+
+tools::SvRef<SotStorageStream> OLEStorageImpl::createStream(const OUString& rPath)
+{
+ const sal_Int32 nDelim = rPath.lastIndexOf(u'/');
+
+ if (-1 == nDelim)
+ return mxRootStorage->OpenSotStream(rPath, StreamMode::STD_READ);
+
+ const OUString aDir = rPath.copy(0, nDelim);
+ const OUString aName = rPath.copy(nDelim + 1);
+
+ const OLEStorageMap_t::const_iterator aIt = maStorageMap.find(aDir);
+
+ if (maStorageMap.end() == aIt)
+ return nullptr;
+
+ return aIt->second->OpenSotStream(aName, StreamMode::STD_READ);
+}
+
+namespace
+{
+struct ZipStreamData
+{
+ explicit ZipStreamData(OString aName);
+
+ css::uno::Reference<css::io::XInputStream> xStream;
+
+ /** Name of the stream.
+ *
+ * This is not @c OUString, because we need to be able to
+ * produce const char* from it.
+ */
+ OString aName;
+};
+} // anonymous namespace
+
+/** Representation of a Zip storage.
+ *
+ * This is quite similar to OLEStorageImpl, except that we do not need
+ * to keep all storages (folders) open.
+ */
+struct ZipStorageImpl
+{
+ explicit ZipStorageImpl(const css::uno::Reference<css::container::XNameAccess>& rxContainer);
+
+ /** Initialize for access.
+ *
+ * This creates a bidirectional map of stream names to their
+ * indexes (index of a stream is determined by deep-first
+ * traversal).
+ */
+ void initialize();
+
+ Reference<css::io::XInputStream> getStream(const OUString& rPath);
+ Reference<css::io::XInputStream> const& getStream(std::size_t nId);
+
+private:
+ void traverse(const Reference<container::XNameAccess>& rxEnum);
+
+ Reference<XInputStream> createStream(const OUString& rPath);
+
+public:
+ Reference<container::XNameAccess> mxContainer; //< root of the Zip
+ ::std::vector<ZipStreamData> maStreams; //< list of streams and their names
+ NameMap_t maNameMap; //< map of stream names to indexes (into @c maStreams)
+ bool mbInitialized;
+};
+
+ZipStreamData::ZipStreamData(OString _aName)
+ : aName(std::move(_aName))
+{
+}
+
+ZipStorageImpl::ZipStorageImpl(const Reference<container::XNameAccess>& rxContainer)
+ : mxContainer(rxContainer)
+ , mbInitialized(false)
+{
+ assert(mxContainer.is());
+}
+
+void ZipStorageImpl::initialize()
+{
+ traverse(mxContainer);
+
+ mbInitialized = true;
+}
+
+Reference<XInputStream> ZipStorageImpl::getStream(const OUString& rPath)
+{
+ const OUString aPath(lcl_normalizeSubStreamPath(rPath));
+ NameMap_t::iterator aIt = maNameMap.find(aPath);
+
+ // For the while don't return stream in this situation.
+ // Later, given how libcdr's zip stream implementation behaves,
+ // return the first stream in the storage if there is one.
+ if (maNameMap.end() == aIt)
+ return Reference<XInputStream>();
+
+ if (!maStreams[aIt->second].xStream.is())
+ maStreams[aIt->second].xStream = createStream(aPath);
+
+ return maStreams[aIt->second].xStream;
+}
+
+Reference<XInputStream> const& ZipStorageImpl::getStream(const std::size_t nId)
+{
+ if (!maStreams[nId].xStream.is())
+ maStreams[nId].xStream
+ = createStream(OStringToOUString(maStreams[nId].aName, RTL_TEXTENCODING_UTF8));
+
+ return maStreams[nId].xStream;
+}
+
+void ZipStorageImpl::traverse(const Reference<container::XNameAccess>& rxContainer)
+{
+ const Sequence<OUString> lNames = rxContainer->getElementNames();
+
+ maStreams.reserve(lNames.getLength());
+
+ for (const auto& rName : lNames)
+ {
+ if (!rName.endsWith("/")) // skip dirs
+ {
+ maStreams.emplace_back(OUStringToOString(rName, RTL_TEXTENCODING_UTF8));
+ maNameMap[rName] = maStreams.size() - 1;
+ }
+ }
+}
+
+Reference<XInputStream> ZipStorageImpl::createStream(const OUString& rPath)
+{
+ Reference<XInputStream> xStream;
+
+ try
+ {
+ const Reference<XInputStream> xInputStream(mxContainer->getByName(rPath), UNO_QUERY_THROW);
+ const Reference<XSeekable> xSeekable(xInputStream, UNO_QUERY);
+
+ if (xSeekable.is())
+ xStream = xInputStream;
+ else
+ xStream.set(new comphelper::OSeekableInputWrapper(
+ xInputStream, comphelper::getProcessComponentContext()));
+ }
+ catch (const Exception&)
+ {
+ // nothing needed
+ }
+
+ return xStream;
+}
+
+WPXSvInputStream::WPXSvInputStream(Reference<XInputStream> const& xStream)
+ : mxStream(xStream)
+ , mxSeekable(xStream, UNO_QUERY)
+ , maData(0)
+ , mnLength(0)
+ , mnReadBufferPos(0)
+ , mbCheckedOLE(false)
+ , mbCheckedZip(false)
+{
+ if (!xStream.is() || !mxStream.is())
+ mnLength = 0;
+ else
+ {
+ if (!mxSeekable.is())
+ mnLength = 0;
+ else
+ {
+ try
+ {
+ mnLength = mxSeekable->getLength();
+ if (0 < mxSeekable->getPosition())
+ mxSeekable->seek(0);
+ }
+ catch (...)
+ {
+ SAL_WARN("writerperfect", "mnLength = mxSeekable->getLength() threw exception");
+ mnLength = 0;
+ }
+ }
+ }
+}
+
+const unsigned char* WPXSvInputStream::read(unsigned long numBytes, unsigned long& numBytesRead)
+{
+ numBytesRead = 0;
+
+ if (numBytes == 0 || isEnd())
+ return nullptr;
+
+ numBytesRead = mxStream->readSomeBytes(maData, numBytes);
+ if (numBytesRead == 0)
+ return nullptr;
+
+ return reinterpret_cast<const unsigned char*>(maData.getConstArray());
+}
+
+tools::Long WPXSvInputStream::tellImpl()
+{
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return -1;
+ else
+ {
+ const sal_Int64 tmpPosition = mxSeekable->getPosition();
+ if (tmpPosition < 0)
+ return -1;
+#if SAL_TYPES_SIZEOFLONG == 4
+ if (tmpPosition > LONG_MAX)
+ return -1;
+#endif
+ return static_cast<tools::Long>(tmpPosition);
+ }
+}
+
+int WPXSvInputStream::seek(tools::Long offset)
+{
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return -1;
+
+ const sal_Int64 tmpPosition = mxSeekable->getPosition();
+ if (tmpPosition < 0)
+ return -1;
+
+ try
+ {
+ mxSeekable->seek(offset);
+ }
+ catch (...)
+ {
+ SAL_WARN("writerperfect", "mxSeekable->seek(offset) threw exception");
+ return -1;
+ }
+
+ return 0;
+}
+
+bool WPXSvInputStream::isStructured()
+{
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return false;
+
+ PositionHolder pos(mxSeekable);
+ mxSeekable->seek(0);
+
+ if (isOLE())
+ return true;
+
+ mxSeekable->seek(0);
+
+ return isZip();
+}
+
+unsigned WPXSvInputStream::subStreamCount()
+{
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return 0;
+
+ PositionHolder pos(mxSeekable);
+ mxSeekable->seek(0);
+
+ if (isOLE())
+ {
+ ensureOLEIsInitialized();
+
+ return mpOLEStorage->maStreams.size();
+ }
+
+ mxSeekable->seek(0);
+
+ if (isZip())
+ {
+ ensureZipIsInitialized();
+
+ return mpZipStorage->maStreams.size();
+ }
+
+ return 0;
+}
+
+const char* WPXSvInputStream::subStreamName(const unsigned id)
+{
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return nullptr;
+
+ PositionHolder pos(mxSeekable);
+ mxSeekable->seek(0);
+
+ if (isOLE())
+ {
+ ensureOLEIsInitialized();
+
+ if (mpOLEStorage->maStreams.size() <= id)
+ return nullptr;
+
+ return mpOLEStorage->maStreams[id].RVNGname.getStr();
+ }
+
+ mxSeekable->seek(0);
+
+ if (isZip())
+ {
+ ensureZipIsInitialized();
+
+ if (mpZipStorage->maStreams.size() <= id)
+ return nullptr;
+
+ return mpZipStorage->maStreams[id].aName.getStr();
+ }
+
+ return nullptr;
+}
+
+bool WPXSvInputStream::existsSubStream(const char* const name)
+{
+ if (!name)
+ return false;
+
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return false;
+
+ PositionHolder pos(mxSeekable);
+ mxSeekable->seek(0);
+
+ const OUString aName(OStringToOUString(std::string_view(name), RTL_TEXTENCODING_UTF8));
+
+ if (isOLE())
+ {
+ ensureOLEIsInitialized();
+ return mpOLEStorage->maNameMap.end() != mpOLEStorage->maNameMap.find(aName);
+ }
+
+ mxSeekable->seek(0);
+
+ if (isZip())
+ {
+ ensureZipIsInitialized();
+ return mpZipStorage->maNameMap.end() != mpZipStorage->maNameMap.find(aName);
+ }
+
+ return false;
+}
+
+librevenge::RVNGInputStream* WPXSvInputStream::getSubStreamByName(const char* const name)
+{
+ if (!name)
+ return nullptr;
+
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return nullptr;
+
+ PositionHolder pos(mxSeekable);
+ mxSeekable->seek(0);
+
+ const OUString aName(OStringToOUString(std::string_view(name), RTL_TEXTENCODING_UTF8));
+
+ if (isOLE())
+ {
+ ensureOLEIsInitialized();
+ return createWPXStream(mpOLEStorage->getStream(aName));
+ }
+
+ mxSeekable->seek(0);
+
+ if (isZip())
+ {
+ ensureZipIsInitialized();
+
+ try
+ {
+ return createWPXStream(mpZipStorage->getStream(aName));
+ }
+ catch (const Exception&)
+ {
+ // nothing needed
+ }
+ }
+
+ return nullptr;
+}
+
+librevenge::RVNGInputStream* WPXSvInputStream::getSubStreamById(const unsigned id)
+{
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return nullptr;
+
+ PositionHolder pos(mxSeekable);
+ mxSeekable->seek(0);
+
+ if (isOLE())
+ {
+ ensureOLEIsInitialized();
+
+ if (mpOLEStorage->maStreams.size() <= id)
+ return nullptr;
+
+ return createWPXStream(mpOLEStorage->getStream(id));
+ }
+
+ mxSeekable->seek(0);
+
+ if (isZip())
+ {
+ ensureZipIsInitialized();
+
+ if (mpZipStorage->maStreams.size() <= id)
+ return nullptr;
+
+ try
+ {
+ return createWPXStream(mpZipStorage->getStream(id));
+ }
+ catch (const Exception&)
+ {
+ // nothing needed
+ }
+ }
+ return nullptr;
+}
+
+librevenge::RVNGInputStream*
+WPXSvInputStream::createWPXStream(const tools::SvRef<SotStorageStream>& rxStorage)
+{
+ if (rxStorage.is())
+ {
+ Reference<XInputStream> xContents(new utl::OSeekableInputStreamWrapper(rxStorage.get()));
+ return new WPXSvInputStream(xContents);
+ }
+ return nullptr;
+}
+
+librevenge::RVNGInputStream*
+WPXSvInputStream::createWPXStream(const Reference<XInputStream>& rxStream)
+{
+ if (rxStream.is())
+ return new WPXSvInputStream(rxStream);
+ else
+ return nullptr;
+}
+
+bool WPXSvInputStream::isOLE()
+{
+ if (!mbCheckedOLE)
+ {
+ assert(0 == mxSeekable->getPosition());
+
+ std::unique_ptr<SvStream> pStream(utl::UcbStreamHelper::CreateStream(mxStream));
+ if (pStream && SotStorage::IsOLEStorage(pStream.get()))
+ mpOLEStorage.reset(new OLEStorageImpl());
+
+ mbCheckedOLE = true;
+ }
+
+ return bool(mpOLEStorage);
+}
+
+bool WPXSvInputStream::isZip()
+{
+ if (!mbCheckedZip)
+ {
+ assert(0 == mxSeekable->getPosition());
+
+ try
+ {
+ const Reference<XComponentContext> xContext(comphelper::getProcessComponentContext(),
+ UNO_SET_THROW);
+ const Reference<packages::zip::XZipFileAccess2> xZip(
+ xContext->getServiceManager()->createInstanceWithArgumentsAndContext(
+ "com.sun.star.packages.zip.ZipFileAccess", { Any(mxStream) }, xContext),
+ UNO_QUERY_THROW);
+ mpZipStorage.reset(new ZipStorageImpl(xZip));
+ }
+ catch (const Exception&)
+ {
+ // ignore
+ }
+
+ mbCheckedZip = true;
+ }
+
+ return bool(mpZipStorage);
+}
+
+void WPXSvInputStream::ensureOLEIsInitialized()
+{
+ assert(mpOLEStorage);
+
+ if (!mpOLEStorage->mbInitialized)
+ mpOLEStorage->initialize(utl::UcbStreamHelper::CreateStream(mxStream));
+}
+
+void WPXSvInputStream::ensureZipIsInitialized()
+{
+ assert(mpZipStorage);
+
+ if (!mpZipStorage->mbInitialized)
+ mpZipStorage->initialize();
+}
+
+WPXSvInputStream::~WPXSvInputStream() {}
+
+long WPXSvInputStream::tell()
+{
+ tools::Long retVal = tellImpl();
+ return retVal + static_cast<tools::Long>(mnReadBufferPos);
+}
+
+int WPXSvInputStream::seek(long offset, librevenge::RVNG_SEEK_TYPE seekType)
+{
+ sal_Int64 tmpOffset = offset;
+ if (seekType == librevenge::RVNG_SEEK_CUR)
+ tmpOffset += tell();
+ if (seekType == librevenge::RVNG_SEEK_END)
+ tmpOffset += mnLength;
+
+ int retVal = 0;
+ if (tmpOffset < 0)
+ {
+ tmpOffset = 0;
+ retVal = -1;
+ }
+ if (tmpOffset > mnLength)
+ {
+ tmpOffset = mnLength;
+ retVal = -1;
+ }
+
+ if (tmpOffset < tellImpl() && o3tl::make_unsigned(tmpOffset) >= o3tl::make_unsigned(tellImpl()))
+ {
+ mnReadBufferPos = static_cast<unsigned long>(tmpOffset - tellImpl());
+ return retVal;
+ }
+
+ if (seek(tmpOffset))
+ return -1;
+ return retVal;
+}
+
+bool WPXSvInputStream::isEnd()
+{
+ if (mnReadBufferPos != 0)
+ return false;
+ if ((mnLength == 0) || !mxStream.is() || !mxSeekable.is())
+ return true;
+ return (mxSeekable->getPosition() >= mnLength);
+}
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/CDRImportFilter.cxx b/writerperfect/source/draw/CDRImportFilter.cxx
new file mode 100644
index 0000000000..34b4903261
--- /dev/null
+++ b/writerperfect/source/draw/CDRImportFilter.cxx
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* CDRImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libcdr/libcdr.h>
+
+#include "CDRImportFilter.hxx"
+
+bool CDRImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libcdr::CDRDocument::parse(&rInput, &rGenerator);
+}
+
+bool CDRImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libcdr::CDRDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_CorelDraw_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL CDRImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.CDRImportFilter";
+}
+
+sal_Bool SAL_CALL CDRImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL CDRImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_CDRImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new CDRImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/CDRImportFilter.hxx b/writerperfect/source/draw/CDRImportFilter.hxx
new file mode 100644
index 0000000000..0e82471312
--- /dev/null
+++ b/writerperfect/source/draw/CDRImportFilter.hxx
@@ -0,0 +1,39 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class CDRImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit CDRImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/CMXImportFilter.cxx b/writerperfect/source/draw/CMXImportFilter.cxx
new file mode 100644
index 0000000000..23aab816af
--- /dev/null
+++ b/writerperfect/source/draw/CMXImportFilter.cxx
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* CMXImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libcdr/libcdr.h>
+
+#include "CMXImportFilter.hxx"
+
+bool CMXImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libcdr::CMXDocument::parse(&rInput, &rGenerator);
+}
+
+bool CMXImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libcdr::CMXDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_Corel_Presentation_Exchange";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL CMXImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.CMXImportFilter";
+}
+
+sal_Bool SAL_CALL CMXImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL CMXImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_CMXImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new CMXImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/CMXImportFilter.hxx b/writerperfect/source/draw/CMXImportFilter.hxx
new file mode 100644
index 0000000000..cc3b194289
--- /dev/null
+++ b/writerperfect/source/draw/CMXImportFilter.hxx
@@ -0,0 +1,39 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class CMXImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit CMXImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/FreehandImportFilter.cxx b/writerperfect/source/draw/FreehandImportFilter.cxx
new file mode 100644
index 0000000000..68dd7b56b8
--- /dev/null
+++ b/writerperfect/source/draw/FreehandImportFilter.cxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* FreehandImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libfreehand/libfreehand.h>
+
+#include "FreehandImportFilter.hxx"
+
+bool FreehandImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libfreehand::FreeHandDocument::parse(&rInput, &rGenerator);
+}
+
+bool FreehandImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libfreehand::FreeHandDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_Freehand_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL FreehandImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.FreehandImportFilter";
+}
+
+sal_Bool SAL_CALL FreehandImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL FreehandImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_FreehandImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new FreehandImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/FreehandImportFilter.hxx b/writerperfect/source/draw/FreehandImportFilter.hxx
new file mode 100644
index 0000000000..0832181171
--- /dev/null
+++ b/writerperfect/source/draw/FreehandImportFilter.hxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class FreehandImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit FreehandImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/MSPUBImportFilter.cxx b/writerperfect/source/draw/MSPUBImportFilter.cxx
new file mode 100644
index 0000000000..ba34cd2f19
--- /dev/null
+++ b/writerperfect/source/draw/MSPUBImportFilter.cxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MSPUBImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libmspub/libmspub.h>
+
+#include "MSPUBImportFilter.hxx"
+
+bool MSPUBImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libmspub::MSPUBDocument::parse(&rInput, &rGenerator);
+}
+
+bool MSPUBImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libmspub::MSPUBDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_Publisher_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL MSPUBImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.MSPUBImportFilter";
+}
+
+sal_Bool SAL_CALL MSPUBImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL MSPUBImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_MSPUBImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MSPUBImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/MSPUBImportFilter.hxx b/writerperfect/source/draw/MSPUBImportFilter.hxx
new file mode 100644
index 0000000000..a843027030
--- /dev/null
+++ b/writerperfect/source/draw/MSPUBImportFilter.hxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MSPUBImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit MSPUBImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.cxx b/writerperfect/source/draw/MWAWDrawImportFilter.cxx
new file mode 100644
index 0000000000..000debdcbd
--- /dev/null
+++ b/writerperfect/source/draw/MWAWDrawImportFilter.cxx
@@ -0,0 +1,116 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MWAWDrawImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libmwaw/libmwaw.hxx>
+
+#include "MWAWDrawImportFilter.hxx"
+
+static bool handleEmbeddedMWAWGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedMWAWSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool MWAWDrawImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return MWAWDocument::MWAW_R_OK == MWAWDocument::parse(&rInput, &rGenerator);
+}
+
+bool MWAWDrawImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ MWAWDocument::Type docType = MWAWDocument::MWAW_T_UNKNOWN;
+ MWAWDocument::Kind docKind = MWAWDocument::MWAW_K_UNKNOWN;
+ const MWAWDocument::Confidence confidence
+ = MWAWDocument::isFileFormatSupported(&rInput, docType, docKind);
+
+ if (confidence == MWAWDocument::MWAW_C_EXCELLENT)
+ {
+ switch (docKind)
+ {
+ case MWAWDocument::MWAW_K_DRAW:
+ switch (docType)
+ {
+ case MWAWDocument::MWAW_T_CLARISWORKS:
+ rTypeName = "draw_ClarisWorks";
+ break;
+ default:
+ rTypeName = "MWAW_Drawing";
+ break;
+ }
+ break;
+ case MWAWDocument::MWAW_K_PAINT:
+ switch (docType)
+ {
+ case MWAWDocument::MWAW_T_CLARISWORKS:
+ rTypeName = "draw_ClarisWorks";
+ break;
+ default:
+ rTypeName = "MWAW_Bitmap";
+ break;
+ }
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void MWAWDrawImportFilter::doRegisterHandlers(OdgGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-ods",
+ &handleEmbeddedMWAWSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL MWAWDrawImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.MWAWDrawImportFilter";
+}
+
+sal_Bool SAL_CALL MWAWDrawImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL MWAWDrawImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_MWAWDrawImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MWAWDrawImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.hxx b/writerperfect/source/draw/MWAWDrawImportFilter.hxx
new file mode 100644
index 0000000000..ed0571dad7
--- /dev/null
+++ b/writerperfect/source/draw/MWAWDrawImportFilter.hxx
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MWAWDrawImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit MWAWDrawImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdgGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/PageMakerImportFilter.cxx b/writerperfect/source/draw/PageMakerImportFilter.cxx
new file mode 100644
index 0000000000..5f5379de94
--- /dev/null
+++ b/writerperfect/source/draw/PageMakerImportFilter.cxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* PageMakerImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <libpagemaker/libpagemaker.h>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include "PageMakerImportFilter.hxx"
+
+bool PageMakerImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libpagemaker::PMDocument::parse(&rInput, &rGenerator);
+}
+
+bool PageMakerImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libpagemaker::PMDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_PageMaker_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL PageMakerImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Draw.PageMakerImportFilter";
+}
+
+sal_Bool SAL_CALL PageMakerImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL PageMakerImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Draw_PageMakerImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new PageMakerImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/PageMakerImportFilter.hxx b/writerperfect/source/draw/PageMakerImportFilter.hxx
new file mode 100644
index 0000000000..b98213a279
--- /dev/null
+++ b/writerperfect/source/draw/PageMakerImportFilter.hxx
@@ -0,0 +1,37 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class PageMakerImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit PageMakerImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/QXPImportFilter.cxx b/writerperfect/source/draw/QXPImportFilter.cxx
new file mode 100644
index 0000000000..c644ad470c
--- /dev/null
+++ b/writerperfect/source/draw/QXPImportFilter.cxx
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* QXPImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <libqxp/libqxp.h>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include "QXPImportFilter.hxx"
+
+using com::sun::star::uno::Sequence;
+using com::sun::star::uno::XComponentContext;
+using com::sun::star::uno::XInterface;
+
+bool QXPImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libqxp::QXPDocument::parse(&rInput, &rGenerator) == libqxp::QXPDocument::RESULT_OK;
+}
+
+bool QXPImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libqxp::QXPDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_QXP_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL QXPImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Draw.QXPImportFilter";
+}
+
+sal_Bool SAL_CALL QXPImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+Sequence<OUString> SAL_CALL QXPImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Draw_QXPImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new QXPImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/QXPImportFilter.hxx b/writerperfect/source/draw/QXPImportFilter.hxx
new file mode 100644
index 0000000000..5854125d63
--- /dev/null
+++ b/writerperfect/source/draw/QXPImportFilter.hxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class QXPImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit QXPImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx
new file mode 100644
index 0000000000..1c335bfc46
--- /dev/null
+++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx
@@ -0,0 +1,101 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libstaroffice/libstaroffice.hxx>
+
+#include "StarOfficeDrawImportFilter.hxx"
+
+using com::sun::star::uno::Sequence;
+using com::sun::star::uno::XComponentContext;
+using com::sun::star::uno::XInterface;
+
+static bool handleEmbeddedSTOFFGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedSTOFFSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.registerEmbeddedObjectHandler("image/stoff-odg", &handleEmbeddedSTOFFGraphicObject);
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool StarOfficeDrawImportFilter::doImportDocument(weld::Window*,
+ librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return STOFFDocument::STOFF_R_OK == STOFFDocument::parse(&rInput, &rGenerator);
+}
+
+bool StarOfficeDrawImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput,
+ OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ STOFFDocument::Kind docKind = STOFFDocument::STOFF_K_UNKNOWN;
+ const STOFFDocument::Confidence confidence
+ = STOFFDocument::isFileFormatSupported(&rInput, docKind);
+
+ if (confidence == STOFFDocument::STOFF_C_EXCELLENT
+ || confidence == STOFFDocument::STOFF_C_SUPPORTED_ENCRYPTION)
+ {
+ switch (docKind)
+ {
+ case STOFFDocument::STOFF_K_DRAW:
+ rTypeName = "StarOffice_Drawing";
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void StarOfficeDrawImportFilter::doRegisterHandlers(OdgGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-odg", &handleEmbeddedSTOFFGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-ods",
+ &handleEmbeddedSTOFFSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL StarOfficeDrawImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Draw.StarOfficeDrawImportFilter";
+}
+
+sal_Bool SAL_CALL StarOfficeDrawImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+Sequence<OUString> SAL_CALL StarOfficeDrawImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Draw_StarOfficeDrawImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new StarOfficeDrawImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx
new file mode 100644
index 0000000000..ca44ceb48e
--- /dev/null
+++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class StarOfficeDrawImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit StarOfficeDrawImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdgGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/VisioImportFilter.cxx b/writerperfect/source/draw/VisioImportFilter.cxx
new file mode 100644
index 0000000000..33b23aae4c
--- /dev/null
+++ b/writerperfect/source/draw/VisioImportFilter.cxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* VisioImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libvisio/libvisio.h>
+
+#include "VisioImportFilter.hxx"
+
+bool VisioImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libvisio::VisioDocument::parse(&rInput, &rGenerator);
+}
+
+bool VisioImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libvisio::VisioDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_Visio_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL VisioImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.VisioImportFilter";
+}
+
+sal_Bool SAL_CALL VisioImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL VisioImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_VisioImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new VisioImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/VisioImportFilter.hxx b/writerperfect/source/draw/VisioImportFilter.hxx
new file mode 100644
index 0000000000..9d0e8cadbd
--- /dev/null
+++ b/writerperfect/source/draw/VisioImportFilter.hxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class VisioImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit VisioImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/WPGImportFilter.cxx b/writerperfect/source/draw/WPGImportFilter.cxx
new file mode 100644
index 0000000000..10411ea3bb
--- /dev/null
+++ b/writerperfect/source/draw/WPGImportFilter.cxx
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* WPGImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libwpg/libwpg.h>
+
+#include "WPGImportFilter.hxx"
+
+bool WPGImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libwpg::WPGraphics::parse(&rInput, &rGenerator);
+}
+
+bool WPGImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libwpg::WPGraphics::isSupported(&rInput))
+ {
+ rTypeName = "draw_WordPerfect_Graphics";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL WPGImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Draw.WPGImportFilter";
+}
+
+sal_Bool SAL_CALL WPGImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL WPGImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Draw_WPGImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new WPGImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/WPGImportFilter.hxx b/writerperfect/source/draw/WPGImportFilter.hxx
new file mode 100644
index 0000000000..c4777573df
--- /dev/null
+++ b/writerperfect/source/draw/WPGImportFilter.hxx
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class WPGImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit WPGImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/ZMFImportFilter.cxx b/writerperfect/source/draw/ZMFImportFilter.cxx
new file mode 100644
index 0000000000..0d1f16c977
--- /dev/null
+++ b/writerperfect/source/draw/ZMFImportFilter.cxx
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* ZMFImportFilter: Sets up the filter, and calls OdgExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <libzmf/libzmf.h>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include "ZMFImportFilter.hxx"
+
+using com::sun::star::uno::Sequence;
+using com::sun::star::uno::XComponentContext;
+using com::sun::star::uno::XInterface;
+
+bool ZMFImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libzmf::ZMFDocument::parse(&rInput, &rGenerator);
+}
+
+bool ZMFImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libzmf::ZMFDocument::isSupported(&rInput))
+ {
+ rTypeName = "draw_ZMF_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL ZMFImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Draw.ZMFImportFilter";
+}
+
+sal_Bool SAL_CALL ZMFImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+Sequence<OUString> SAL_CALL ZMFImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Draw_ZMFImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new ZMFImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/ZMFImportFilter.hxx b/writerperfect/source/draw/ZMFImportFilter.hxx
new file mode 100644
index 0000000000..686a1fb40e
--- /dev/null
+++ b/writerperfect/source/draw/ZMFImportFilter.hxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdg.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class ZMFImportFilter : public writerperfect::ImportFilter<OdgGenerator>
+{
+public:
+ explicit ZMFImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdgGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdgGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/draw/wpftdraw.component b/writerperfect/source/draw/wpftdraw.component
new file mode 100644
index 0000000000..1f9ced75ac
--- /dev/null
+++ b/writerperfect/source/draw/wpftdraw.component
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+-->
+<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.Draw.CDRImportFilter"
+ constructor="com_sun_star_comp_Draw_CDRImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Draw.CMXImportFilter"
+ constructor="com_sun_star_comp_Draw_CMXImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Draw.FreehandImportFilter"
+ constructor="com_sun_star_comp_Draw_FreehandImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Draw.MSPUBImportFilter"
+ constructor="com_sun_star_comp_Draw_MSPUBImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Draw.MWAWDrawImportFilter"
+ constructor="com_sun_star_comp_Draw_MWAWDrawImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Draw.StarOfficeDrawImportFilter"
+ constructor="org_libreoffice_comp_Draw_StarOfficeDrawImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Draw.VisioImportFilter"
+ constructor="com_sun_star_comp_Draw_VisioImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Draw.WPGImportFilter"
+ constructor="com_sun_star_comp_Draw_WPGImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Draw.PageMakerImportFilter"
+ constructor="org_libreoffice_comp_Draw_PageMakerImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Draw.QXPImportFilter"
+ constructor="org_libreoffice_comp_Draw_QXPImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Draw.ZMFImportFilter"
+ constructor="org_libreoffice_comp_Draw_ZMFImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+</component>
diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx
new file mode 100644
index 0000000000..c2fb110123
--- /dev/null
+++ b/writerperfect/source/impress/KeynoteImportFilter.cxx
@@ -0,0 +1,247 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* KeynoteImportFilter: Sets up the filter, and calls OdpExporter
+ * to do the actual filtering
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <memory>
+#include <com/sun/star/beans/NamedValue.hpp>
+#include <com/sun/star/beans/PropertyValue.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/uno/Reference.h>
+#include <com/sun/star/ucb/XContent.hpp>
+#include <comphelper/processfactory.hxx>
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libetonyek/libetonyek.h>
+#include <ucbhelper/content.hxx>
+#include <unotools/ucbhelper.hxx>
+
+#include <DirectoryStream.hxx>
+#include <WPXSvInputStream.hxx>
+
+#include "KeynoteImportFilter.hxx"
+
+using writerperfect::WPXSvInputStream;
+
+namespace beans = com::sun::star::beans;
+namespace ucb = com::sun::star::ucb;
+
+bool KeynoteImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libetonyek::EtonyekDocument::parse(&rInput, &rGenerator);
+}
+
+bool KeynoteImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libetonyek::EtonyekDocument::isSupported(&rInput))
+ {
+ rTypeName = "impress_Keynote_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XExtendedFilterDetection
+OUString SAL_CALL
+KeynoteImportFilter::detect(css::uno::Sequence<css::beans::PropertyValue>& Descriptor)
+{
+ sal_Int32 nLength = Descriptor.getLength();
+ sal_Int32 nNewLength = nLength + 2;
+ sal_Int32 nComponentDataLocation = -1;
+ sal_Int32 nTypeNameLocation = -1;
+ sal_Int32 nUCBContentLocation = -1;
+ bool bIsPackage = false;
+ bool bUCBContentChanged = false;
+ const beans::PropertyValue* pValue = Descriptor.getConstArray();
+ css::uno::Reference<com::sun::star::io::XInputStream> xInputStream;
+ css::uno::Reference<ucb::XContent> xContent;
+ css::uno::Sequence<beans::NamedValue> lComponentDataNV;
+ css::uno::Sequence<beans::PropertyValue> lComponentDataPV;
+ bool bComponentDataNV = true;
+
+ for (sal_Int32 i = 0; i < nLength; i++)
+ {
+ if (pValue[i].Name == "TypeName")
+ {
+ nTypeNameLocation = i;
+ --nNewLength;
+ }
+ if (pValue[i].Name == "ComponentData")
+ {
+ bComponentDataNV = pValue[i].Value >>= lComponentDataNV;
+ if (!bComponentDataNV)
+ pValue[i].Value >>= lComponentDataPV;
+ nComponentDataLocation = i;
+ --nNewLength;
+ }
+ else if (pValue[i].Name == "InputStream")
+ {
+ pValue[i].Value >>= xInputStream;
+ }
+ else if (pValue[i].Name == "UCBContent")
+ {
+ pValue[i].Value >>= xContent;
+ nUCBContentLocation = i;
+ }
+ }
+
+ assert(nNewLength >= nLength);
+
+ if (!xInputStream.is())
+ return OUString();
+
+ std::unique_ptr<librevenge::RVNGInputStream> input
+ = std::make_unique<WPXSvInputStream>(xInputStream);
+
+ /* Apple Keynote documents come in two variants:
+ * * actual files (zip), only produced by Keynote 5 (at least with
+ * default settings)
+ * * packages (IOW, directories), produced by Keynote 1-4 and again
+ * starting with 6.
+ * But since the libetonyek import only works with a stream, we need
+ * to pass it one for the whole package. Here we determine if that
+ * is needed.
+ *
+ * Note: for convenience, we also recognize that the main XML file
+ * from a package was passed and pass the whole package to the
+ * filter instead.
+ */
+ if (xContent.is())
+ {
+ ucbhelper::Content aContent(xContent, utl::UCBContentHelper::getDefaultCommandEnvironment(),
+ comphelper::getProcessComponentContext());
+ try
+ {
+ if (aContent.isFolder())
+ {
+ input = std::make_unique<writerperfect::DirectoryStream>(xContent);
+ bIsPackage = true;
+ }
+ }
+ catch (...)
+ {
+ return OUString();
+ }
+ }
+
+ libetonyek::EtonyekDocument::Type type = libetonyek::EtonyekDocument::TYPE_UNKNOWN;
+ const libetonyek::EtonyekDocument::Confidence confidence
+ = libetonyek::EtonyekDocument::isSupported(input.get(), &type);
+ if ((libetonyek::EtonyekDocument::CONFIDENCE_NONE == confidence)
+ || (libetonyek::EtonyekDocument::TYPE_KEYNOTE != type))
+ return OUString();
+
+ if (confidence == libetonyek::EtonyekDocument::CONFIDENCE_SUPPORTED_PART)
+ {
+ if (bIsPackage) // we passed a directory stream, but the filter claims it's APXL file?
+ return OUString();
+
+ std::unique_ptr<writerperfect::DirectoryStream> xDir
+ = writerperfect::DirectoryStream::createForParent(xContent);
+ auto pDir = xDir.get();
+ input = std::move(xDir);
+ if (bool(input))
+ {
+ if (libetonyek::EtonyekDocument::CONFIDENCE_EXCELLENT
+ == libetonyek::EtonyekDocument::isSupported(input.get()))
+ {
+ xContent = pDir->getContent();
+ bUCBContentChanged = true;
+ bIsPackage = true;
+ }
+ else
+ {
+ // The passed stream has been detected as APXL file, but its parent dir is not a valid Keynote
+ // package? Something is wrong here...
+ return OUString();
+ }
+ }
+ }
+
+ // we do not need to insert ComponentData if this is not a package
+ if (!bIsPackage && (nComponentDataLocation == -1))
+ --nNewLength;
+
+ if (nNewLength > nLength)
+ Descriptor.realloc(nNewLength);
+ auto pDescriptor = Descriptor.getArray();
+
+ if (nTypeNameLocation == -1)
+ {
+ assert(nLength < nNewLength);
+ nTypeNameLocation = nLength++;
+ pDescriptor[nTypeNameLocation].Name = "TypeName";
+ }
+
+ if (bIsPackage && (nComponentDataLocation == -1))
+ {
+ assert(nLength < nNewLength);
+ nComponentDataLocation = nLength++;
+ pDescriptor[nComponentDataLocation].Name = "ComponentData";
+ }
+
+ if (bIsPackage)
+ {
+ if (bComponentDataNV)
+ {
+ const sal_Int32 nCDSize = lComponentDataNV.getLength();
+ lComponentDataNV.realloc(nCDSize + 1);
+ beans::NamedValue aValue;
+ aValue.Name = "IsPackage";
+ aValue.Value <<= true;
+ lComponentDataNV.getArray()[nCDSize] = aValue;
+ pDescriptor[nComponentDataLocation].Value <<= lComponentDataNV;
+ }
+ else
+ {
+ const sal_Int32 nCDSize = lComponentDataPV.getLength();
+ lComponentDataPV.realloc(nCDSize + 1);
+ beans::PropertyValue aProp;
+ aProp.Name = "IsPackage";
+ aProp.Value <<= true;
+ aProp.Handle = -1;
+ aProp.State = beans::PropertyState_DIRECT_VALUE;
+ lComponentDataPV.getArray()[nCDSize] = aProp;
+ pDescriptor[nComponentDataLocation].Value <<= lComponentDataPV;
+ }
+ }
+
+ if (bUCBContentChanged)
+ pDescriptor[nUCBContentLocation].Value <<= xContent;
+
+ static constexpr OUString sTypeName(u"impress_AppleKeynote"_ustr);
+ pDescriptor[nTypeNameLocation].Value <<= sTypeName;
+
+ return sTypeName;
+}
+
+// XServiceInfo
+OUString SAL_CALL KeynoteImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Impress.KeynoteImportFilter";
+}
+
+sal_Bool SAL_CALL KeynoteImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL KeynoteImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Impress_KeynoteImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new KeynoteImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/KeynoteImportFilter.hxx b/writerperfect/source/impress/KeynoteImportFilter.hxx
new file mode 100644
index 0000000000..7180a8c864
--- /dev/null
+++ b/writerperfect/source/impress/KeynoteImportFilter.hxx
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+#include <DocumentHandlerForOdp.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class KeynoteImportFilter : public writerperfect::ImportFilter<OdpGenerator>
+{
+public:
+ explicit KeynoteImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdpGenerator>(rxContext)
+ {
+ }
+
+ //XExtendedFilterDetection
+ virtual OUString SAL_CALL
+ detect(css::uno::Sequence<css::beans::PropertyValue>& Descriptor) override;
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx
new file mode 100644
index 0000000000..c5de6984ab
--- /dev/null
+++ b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx
@@ -0,0 +1,104 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MWAWPresentationImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libmwaw/libmwaw.hxx>
+
+#include "MWAWPresentationImportFilter.hxx"
+
+static bool handleEmbeddedMWAWGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedMWAWSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool MWAWPresentationImportFilter::doImportDocument(weld::Window*,
+ librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return MWAWDocument::MWAW_R_OK == MWAWDocument::parse(&rInput, &rGenerator);
+}
+
+bool MWAWPresentationImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput,
+ OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ MWAWDocument::Type docType = MWAWDocument::MWAW_T_UNKNOWN;
+ MWAWDocument::Kind docKind = MWAWDocument::MWAW_K_UNKNOWN;
+ const MWAWDocument::Confidence confidence
+ = MWAWDocument::isFileFormatSupported(&rInput, docType, docKind);
+
+ if (confidence == MWAWDocument::MWAW_C_EXCELLENT)
+ {
+ if (docKind == MWAWDocument::MWAW_K_PRESENTATION)
+ {
+ switch (docType)
+ {
+ case MWAWDocument::MWAW_T_CLARISWORKS:
+ rTypeName = "impress_ClarisWorks";
+ break;
+ case MWAWDocument::MWAW_T_RESERVED8:
+ rTypeName = "impress_PowerPoint3";
+ break;
+ default:
+ rTypeName = "MWAW_Presentation";
+ break;
+ }
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void MWAWPresentationImportFilter::doRegisterHandlers(OdpGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-ods",
+ &handleEmbeddedMWAWSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL MWAWPresentationImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Impress.MWAWPresentationImportFilter";
+}
+sal_Bool SAL_CALL MWAWPresentationImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+css::uno::Sequence<OUString> SAL_CALL MWAWPresentationImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Impress_MWAWPresentationImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MWAWPresentationImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
new file mode 100644
index 0000000000..ba6874834a
--- /dev/null
+++ b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdp.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MWAWPresentationImportFilter : public writerperfect::ImportFilter<OdpGenerator>
+{
+public:
+ explicit MWAWPresentationImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdpGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdpGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx
new file mode 100644
index 0000000000..4f60f57e3d
--- /dev/null
+++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx
@@ -0,0 +1,102 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libstaroffice/libstaroffice.hxx>
+
+#include "StarOfficePresentationImportFilter.hxx"
+
+using com::sun::star::uno::Sequence;
+using com::sun::star::uno::XComponentContext;
+using com::sun::star::uno::XInterface;
+
+static bool handleEmbeddedSTOFFGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedSTOFFSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.registerEmbeddedObjectHandler("image/stoff-odg", &handleEmbeddedSTOFFGraphicObject);
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool StarOfficePresentationImportFilter::doImportDocument(weld::Window*,
+ librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator,
+ utl::MediaDescriptor&)
+{
+ return STOFFDocument::STOFF_R_OK == STOFFDocument::parse(&rInput, &rGenerator);
+}
+
+bool StarOfficePresentationImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput,
+ OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ STOFFDocument::Kind docKind = STOFFDocument::STOFF_K_UNKNOWN;
+ const STOFFDocument::Confidence confidence
+ = STOFFDocument::isFileFormatSupported(&rInput, docKind);
+
+ if (confidence == STOFFDocument::STOFF_C_EXCELLENT
+ || confidence == STOFFDocument::STOFF_C_SUPPORTED_ENCRYPTION)
+ {
+ switch (docKind)
+ {
+ case STOFFDocument::STOFF_K_PRESENTATION:
+ rTypeName = "StarOffice_Presentation";
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void StarOfficePresentationImportFilter::doRegisterHandlers(OdpGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-odg", &handleEmbeddedSTOFFGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-ods",
+ &handleEmbeddedSTOFFSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL StarOfficePresentationImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Impress.StarOfficePresentationImportFilter";
+}
+
+sal_Bool SAL_CALL StarOfficePresentationImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+Sequence<OUString> SAL_CALL StarOfficePresentationImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Presentation_StarOfficePresentationImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new StarOfficePresentationImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx
new file mode 100644
index 0000000000..0f10a92587
--- /dev/null
+++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdp.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class StarOfficePresentationImportFilter : public writerperfect::ImportFilter<OdpGenerator>
+{
+public:
+ explicit StarOfficePresentationImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdpGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdpGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdpGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/impress/wpftimpress.component b/writerperfect/source/impress/wpftimpress.component
new file mode 100644
index 0000000000..0f7df39fa9
--- /dev/null
+++ b/writerperfect/source/impress/wpftimpress.component
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+-->
+<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="org.libreoffice.comp.Impress.KeynoteImportFilter"
+ constructor="org_libreoffice_comp_Impress_KeynoteImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Impress.MWAWPresentationImportFilter"
+ constructor="com_sun_star_comp_Impress_MWAWPresentationImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Impress.StarOfficePresentationImportFilter"
+ constructor="org_libreoffice_comp_Presentation_StarOfficePresentationImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+</component>
diff --git a/writerperfect/source/writer/AbiWordImportFilter.cxx b/writerperfect/source/writer/AbiWordImportFilter.cxx
new file mode 100644
index 0000000000..0661604bc1
--- /dev/null
+++ b/writerperfect/source/writer/AbiWordImportFilter.cxx
@@ -0,0 +1,58 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* AbiWordImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libabw/libabw.h>
+
+#include "AbiWordImportFilter.hxx"
+
+bool AbiWordImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return libabw::AbiDocument::parse(&rInput, &rGenerator);
+}
+
+bool AbiWordImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ if (libabw::AbiDocument::isFileFormatSupported(&rInput))
+ {
+ rTypeName = "writer_AbiWord_Document";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL AbiWordImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Writer.AbiWordImportFilter";
+}
+
+sal_Bool SAL_CALL AbiWordImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL AbiWordImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Writer_AbiWordImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new AbiWordImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/AbiWordImportFilter.hxx b/writerperfect/source/writer/AbiWordImportFilter.hxx
new file mode 100644
index 0000000000..f9b0f99d9d
--- /dev/null
+++ b/writerperfect/source/writer/AbiWordImportFilter.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdt.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class AbiWordImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit AbiWordImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EBookImportFilter.cxx b/writerperfect/source/writer/EBookImportFilter.cxx
new file mode 100644
index 0000000000..3c53f2d9e9
--- /dev/null
+++ b/writerperfect/source/writer/EBookImportFilter.cxx
@@ -0,0 +1,114 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* EBookImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+#include <sal/log.hxx>
+
+#include <libe-book/libe-book.h>
+
+#include "EBookImportFilter.hxx"
+
+using libebook::EBOOKDocument;
+
+bool EBookImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor)
+{
+ OUString aFilterName;
+
+ rDescriptor[utl::MediaDescriptor::PROP_FILTERNAME] >>= aFilterName;
+ assert(!aFilterName.isEmpty());
+
+ if (aFilterName == "Palm_Text_Document")
+ {
+ return EBOOKDocument::RESULT_OK == EBOOKDocument::parse(&rInput, &rGenerator);
+ }
+ else
+ {
+ EBOOKDocument::Type type = EBOOKDocument::TYPE_UNKNOWN;
+
+ if (aFilterName == "BroadBand eBook")
+ type = EBOOKDocument::TYPE_BBEB;
+ else if (aFilterName == "FictionBook 2")
+ type = EBOOKDocument::TYPE_FICTIONBOOK2;
+ else if (aFilterName == "PalmDoc")
+ type = EBOOKDocument::TYPE_PALMDOC;
+ else if (aFilterName == "Plucker eBook")
+ type = EBOOKDocument::TYPE_PLUCKER;
+
+ if (EBOOKDocument::TYPE_UNKNOWN != type)
+ return EBOOKDocument::RESULT_OK == EBOOKDocument::parse(&rInput, &rGenerator, type);
+ }
+
+ return false;
+}
+
+bool EBookImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ EBOOKDocument::Type type = EBOOKDocument::TYPE_UNKNOWN;
+
+ if (EBOOKDocument::CONFIDENCE_EXCELLENT == EBOOKDocument::isSupported(&rInput, &type))
+ {
+ switch (type)
+ {
+ case EBOOKDocument::TYPE_BBEB:
+ rTypeName = "writer_BroadBand_eBook";
+ break;
+ case EBOOKDocument::TYPE_FICTIONBOOK2:
+ rTypeName = "writer_FictionBook_2";
+ break;
+ case EBOOKDocument::TYPE_PALMDOC:
+ rTypeName = "writer_PalmDoc";
+ break;
+ case EBOOKDocument::TYPE_PLUCKER:
+ rTypeName = "writer_Plucker_eBook";
+ break;
+ case EBOOKDocument::TYPE_PEANUTPRESS:
+ case EBOOKDocument::TYPE_TEALDOC:
+ case EBOOKDocument::TYPE_ZTXT:
+ rTypeName = "Palm_Text_Document";
+ break;
+ default:
+ SAL_WARN_IF(type != EBOOKDocument::TYPE_UNKNOWN, "writerperfect",
+ "EBookImportFilter::doDetectFormat: document type "
+ << type << " detected, but ignored");
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+// XServiceInfo
+OUString SAL_CALL EBookImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Writer.EBookImportFilter";
+}
+
+sal_Bool SAL_CALL EBookImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL EBookImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Writer_EBookImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new EBookImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EBookImportFilter.hxx b/writerperfect/source/writer/EBookImportFilter.hxx
new file mode 100644
index 0000000000..13307321b0
--- /dev/null
+++ b/writerperfect/source/writer/EBookImportFilter.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdt.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class EBookImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit EBookImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBExportDialog.cxx b/writerperfect/source/writer/EPUBExportDialog.cxx
new file mode 100644
index 0000000000..ecea590ac8
--- /dev/null
+++ b/writerperfect/source/writer/EPUBExportDialog.cxx
@@ -0,0 +1,229 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "EPUBExportDialog.hxx"
+
+#include <libepubgen/libepubgen.h>
+
+#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
+#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
+#include <com/sun/star/ui/dialogs/XFolderPicker2.hpp>
+#include <comphelper/lok.hxx>
+#include <comphelper/sequenceashashmap.hxx>
+#include <sfx2/filedlghelper.hxx>
+#include <sfx2/opengrf.hxx>
+#include <sax/tools/converter.hxx>
+#include <i18nlangtag/languagetag.hxx>
+
+#include "EPUBExportFilter.hxx"
+
+using namespace com::sun::star;
+
+namespace
+{
+/// Converts version value to a listbox entry position.
+sal_Int32 VersionToPosition(sal_Int32 nVersion)
+{
+ sal_Int32 nPosition = 0;
+
+ switch (nVersion)
+ {
+ case 30:
+ nPosition = 0;
+ break;
+ case 20:
+ nPosition = 1;
+ break;
+ default:
+ assert(false);
+ break;
+ }
+
+ return nPosition;
+}
+
+/// Converts listbox entry position to a version value.
+sal_Int32 PositionToVersion(sal_Int32 nPosition)
+{
+ sal_Int32 nVersion = 0;
+
+ switch (nPosition)
+ {
+ case 0:
+ nVersion = 30;
+ break;
+ case 1:
+ nVersion = 20;
+ break;
+ default:
+ assert(false);
+ break;
+ }
+
+ return nVersion;
+}
+}
+
+namespace writerperfect
+{
+EPUBExportDialog::EPUBExportDialog(weld::Window* pParent,
+ comphelper::SequenceAsHashMap& rFilterData,
+ uno::Reference<uno::XComponentContext> xContext,
+ css::uno::Reference<css::lang::XComponent> xDocument)
+ : GenericDialogController(pParent, "writerperfect/ui/exportepub.ui", "EpubDialog")
+ , m_xContext(std::move(xContext))
+ , m_rFilterData(rFilterData)
+ , m_xSourceDocument(std::move(xDocument))
+ , m_xVersion(m_xBuilder->weld_combo_box("versionlb"))
+ , m_xSplit(m_xBuilder->weld_combo_box("splitlb"))
+ , m_xLayout(m_xBuilder->weld_combo_box("layoutlb"))
+ , m_xCoverPath(m_xBuilder->weld_entry("coverpath"))
+ , m_xCoverButton(m_xBuilder->weld_button("coverbutton"))
+ , m_xMediaDir(m_xBuilder->weld_entry("mediadir"))
+ , m_xMediaButton(m_xBuilder->weld_button("mediabutton"))
+ , m_xOKButton(m_xBuilder->weld_button("ok"))
+ , m_xIdentifier(m_xBuilder->weld_entry("identifier"))
+ , m_xTitle(m_xBuilder->weld_entry("title"))
+ , m_xInitialCreator(m_xBuilder->weld_entry("author"))
+ , m_xLanguage(m_xBuilder->weld_entry("language"))
+ , m_xDate(m_xBuilder->weld_entry("date"))
+ , m_xCustomizeFrame(m_xBuilder->weld_frame("customize"))
+
+{
+ assert(PositionToVersion(m_xVersion->get_active()) == EPUBExportFilter::GetDefaultVersion());
+
+ auto it = rFilterData.find("EPUBVersion");
+ if (it != rFilterData.end())
+ {
+ sal_Int32 nVersion = 0;
+ if (it->second >>= nVersion)
+ m_xVersion->set_active(VersionToPosition(nVersion));
+ }
+ m_xVersion->connect_changed(LINK(this, EPUBExportDialog, VersionSelectHdl));
+
+ it = rFilterData.find("EPUBSplitMethod");
+ if (it != rFilterData.end())
+ {
+ sal_Int32 nSplitMethod = 0;
+ if (it->second >>= nSplitMethod)
+ // No conversion, 1:1 mapping between libepubgen::EPUBSplitMethod
+ // and entry positions.
+ m_xSplit->set_active(nSplitMethod);
+ }
+ else
+ m_xSplit->set_active(EPUBExportFilter::GetDefaultSplitMethod());
+ m_xSplit->connect_changed(LINK(this, EPUBExportDialog, SplitSelectHdl));
+
+ it = rFilterData.find("EPUBLayoutMethod");
+ if (it != rFilterData.end())
+ {
+ sal_Int32 nLayoutMethod = 0;
+ if (it->second >>= nLayoutMethod)
+ // No conversion, 1:1 mapping between libepubgen::EPUBLayoutMethod
+ // and entry positions.
+ m_xLayout->set_active(nLayoutMethod);
+ }
+ else
+ m_xLayout->set_active(EPUBExportFilter::GetDefaultLayoutMethod());
+ m_xLayout->connect_changed(LINK(this, EPUBExportDialog, LayoutSelectHdl));
+
+ m_xCoverButton->connect_clicked(LINK(this, EPUBExportDialog, CoverClickHdl));
+
+ m_xMediaButton->connect_clicked(LINK(this, EPUBExportDialog, MediaClickHdl));
+
+ uno::Reference<document::XDocumentPropertiesSupplier> xDPS(m_xSourceDocument, uno::UNO_QUERY);
+ uno::Reference<document::XDocumentProperties> xDP;
+ if (xDPS.is())
+ xDP = xDPS->getDocumentProperties();
+ if (xDP.is())
+ {
+ m_xTitle->set_text(xDP->getTitle());
+ m_xInitialCreator->set_text(xDP->getAuthor());
+
+ OUString aLanguage(LanguageTag::convertToBcp47(xDP->getLanguage(), false));
+ m_xLanguage->set_text(aLanguage);
+
+ OUStringBuffer aBuffer;
+ util::DateTime aDate(xDP->getModificationDate());
+ sax::Converter::convertDateTime(aBuffer, aDate, nullptr, true);
+ m_xDate->set_text(aBuffer.makeStringAndClear());
+ }
+
+ m_xOKButton->connect_clicked(LINK(this, EPUBExportDialog, OKClickHdl));
+
+ if (comphelper::LibreOfficeKit::isActive())
+ m_xCustomizeFrame->hide();
+}
+
+IMPL_LINK_NOARG(EPUBExportDialog, VersionSelectHdl, weld::ComboBox&, void)
+{
+ m_rFilterData["EPUBVersion"] <<= PositionToVersion(m_xVersion->get_active());
+}
+
+IMPL_LINK_NOARG(EPUBExportDialog, SplitSelectHdl, weld::ComboBox&, void)
+{
+ // No conversion, 1:1 mapping between entry positions and
+ // libepubgen::EPUBSplitMethod.
+ m_rFilterData["EPUBSplitMethod"] <<= static_cast<sal_Int32>(m_xSplit->get_active());
+}
+
+IMPL_LINK_NOARG(EPUBExportDialog, LayoutSelectHdl, weld::ComboBox&, void)
+{
+ // No conversion, 1:1 mapping between entry positions and
+ // libepubgen::EPUBLayoutMethod.
+ m_rFilterData["EPUBLayoutMethod"] <<= static_cast<sal_Int32>(m_xLayout->get_active());
+ m_xSplit->set_sensitive(m_xLayout->get_active() != libepubgen::EPUB_LAYOUT_METHOD_FIXED);
+}
+
+IMPL_LINK_NOARG(EPUBExportDialog, CoverClickHdl, weld::Button&, void)
+{
+ SvxOpenGraphicDialog aDlg("Import", m_xDialog.get());
+ aDlg.EnableLink(false);
+ if (aDlg.Execute() == ERRCODE_NONE)
+ m_xCoverPath->set_text(aDlg.GetPath());
+}
+
+IMPL_LINK_NOARG(EPUBExportDialog, MediaClickHdl, weld::Button&, void)
+{
+ uno::Reference<ui::dialogs::XFolderPicker2> xFolderPicker
+ = sfx2::createFolderPicker(m_xContext, m_xDialog.get());
+ if (xFolderPicker->execute() != ui::dialogs::ExecutableDialogResults::OK)
+ return;
+
+ m_xMediaDir->set_text(xFolderPicker->getDirectory());
+}
+
+IMPL_LINK_NOARG(EPUBExportDialog, OKClickHdl, weld::Button&, void)
+{
+ // General
+ if (!m_xCoverPath->get_text().isEmpty())
+ m_rFilterData["RVNGCoverImage"] <<= m_xCoverPath->get_text();
+ if (!m_xMediaDir->get_text().isEmpty())
+ m_rFilterData["RVNGMediaDir"] <<= m_xMediaDir->get_text();
+
+ // Metadata
+ if (!m_xIdentifier->get_text().isEmpty())
+ m_rFilterData["RVNGIdentifier"] <<= m_xIdentifier->get_text();
+ if (!m_xTitle->get_text().isEmpty())
+ m_rFilterData["RVNGTitle"] <<= m_xTitle->get_text();
+ if (!m_xInitialCreator->get_text().isEmpty())
+ m_rFilterData["RVNGInitialCreator"] <<= m_xInitialCreator->get_text();
+ if (!m_xLanguage->get_text().isEmpty())
+ m_rFilterData["RVNGLanguage"] <<= m_xLanguage->get_text();
+ if (!m_xDate->get_text().isEmpty())
+ m_rFilterData["RVNGDate"] <<= m_xDate->get_text();
+
+ m_xDialog->response(RET_OK);
+}
+
+EPUBExportDialog::~EPUBExportDialog() = default;
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBExportDialog.hxx b/writerperfect/source/writer/EPUBExportDialog.hxx
new file mode 100644
index 0000000000..440c74d117
--- /dev/null
+++ b/writerperfect/source/writer/EPUBExportDialog.hxx
@@ -0,0 +1,62 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <vcl/weld.hxx>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <com/sun/star/lang/XComponent.hpp>
+
+namespace comphelper
+{
+class SequenceAsHashMap;
+}
+
+namespace writerperfect
+{
+/// EPUB export options dialog.
+class EPUBExportDialog : public weld::GenericDialogController
+{
+public:
+ EPUBExportDialog(weld::Window* pParent, comphelper::SequenceAsHashMap& rFilterData,
+ css::uno::Reference<css::uno::XComponentContext> xContext,
+ css::uno::Reference<css::lang::XComponent> xDocument);
+ ~EPUBExportDialog() override;
+
+private:
+ DECL_LINK(VersionSelectHdl, weld::ComboBox&, void);
+ DECL_LINK(SplitSelectHdl, weld::ComboBox&, void);
+ DECL_LINK(LayoutSelectHdl, weld::ComboBox&, void);
+ DECL_LINK(CoverClickHdl, weld::Button&, void);
+ DECL_LINK(MediaClickHdl, weld::Button&, void);
+ DECL_LINK(OKClickHdl, weld::Button&, void);
+
+ css::uno::Reference<css::uno::XComponentContext> m_xContext;
+ comphelper::SequenceAsHashMap& m_rFilterData;
+ css::uno::Reference<css::lang::XComponent> m_xSourceDocument;
+
+ std::unique_ptr<weld::ComboBox> m_xVersion;
+ std::unique_ptr<weld::ComboBox> m_xSplit;
+ std::unique_ptr<weld::ComboBox> m_xLayout;
+ std::unique_ptr<weld::Entry> m_xCoverPath;
+ std::unique_ptr<weld::Button> m_xCoverButton;
+ std::unique_ptr<weld::Entry> m_xMediaDir;
+ std::unique_ptr<weld::Button> m_xMediaButton;
+ std::unique_ptr<weld::Button> m_xOKButton;
+ std::unique_ptr<weld::Entry> m_xIdentifier;
+ std::unique_ptr<weld::Entry> m_xTitle;
+ std::unique_ptr<weld::Entry> m_xInitialCreator;
+ std::unique_ptr<weld::Entry> m_xLanguage;
+ std::unique_ptr<weld::Entry> m_xDate;
+ std::unique_ptr<weld::Frame> m_xCustomizeFrame;
+};
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBExportFilter.cxx b/writerperfect/source/writer/EPUBExportFilter.cxx
new file mode 100644
index 0000000000..8ac55af19f
--- /dev/null
+++ b/writerperfect/source/writer/EPUBExportFilter.cxx
@@ -0,0 +1,206 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "EPUBExportFilter.hxx"
+
+#include <libepubgen/EPUBTextGenerator.h>
+#include <libepubgen/libepubgen-decls.h>
+
+#include <com/sun/star/beans/PropertyAttribute.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/frame/XModel.hpp>
+#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/text/XPageCursor.hpp>
+#include <com/sun/star/text/XTextViewCursorSupplier.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <comphelper/genericpropertyset.hxx>
+#include <comphelper/propertysetinfo.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <svtools/DocumentToGraphicRenderer.hxx>
+#include <vcl/filter/SvmWriter.hxx>
+#include <vcl/gdimtf.hxx>
+#include <tools/stream.hxx>
+
+#include "exp/xmlimp.hxx"
+#include "EPUBPackage.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect
+{
+EPUBExportFilter::EPUBExportFilter(uno::Reference<uno::XComponentContext> xContext)
+ : mxContext(std::move(xContext))
+{
+}
+
+sal_Int32 EPUBExportFilter::GetDefaultVersion() { return 30; }
+
+sal_Int32 EPUBExportFilter::GetDefaultSplitMethod()
+{
+ return libepubgen::EPUB_SPLIT_METHOD_HEADING;
+}
+
+sal_Int32 EPUBExportFilter::GetDefaultLayoutMethod()
+{
+ return libepubgen::EPUB_LAYOUT_METHOD_REFLOWABLE;
+}
+
+sal_Bool EPUBExportFilter::filter(const uno::Sequence<beans::PropertyValue>& rDescriptor)
+{
+ sal_Int32 nVersion = EPUBExportFilter::GetDefaultVersion();
+ sal_Int32 nSplitMethod = EPUBExportFilter::GetDefaultSplitMethod();
+ sal_Int32 nLayoutMethod = EPUBExportFilter::GetDefaultLayoutMethod();
+ uno::Sequence<beans::PropertyValue> aFilterData;
+ OUString aFilterOptions;
+ for (const auto& rProp : rDescriptor)
+ {
+ if (rProp.Name == "FilterData")
+ rProp.Value >>= aFilterData;
+ else if (rProp.Name == "FilterOptions")
+ rProp.Value >>= aFilterOptions;
+ }
+
+ if (aFilterOptions == "layout=fixed")
+ nLayoutMethod = libepubgen::EPUB_LAYOUT_METHOD_FIXED;
+
+ for (const auto& rProp : std::as_const(aFilterData))
+ {
+ if (rProp.Name == "EPUBVersion")
+ rProp.Value >>= nVersion;
+ else if (rProp.Name == "EPUBSplitMethod")
+ rProp.Value >>= nSplitMethod;
+ else if (rProp.Name == "EPUBLayoutMethod")
+ rProp.Value >>= nLayoutMethod;
+ }
+
+ // Build the export filter chain: the package has direct access to the ZIP
+ // file, the flat ODF filter has access to the doc model, everything else
+ // is in-between.
+ EPUBPackage aPackage(mxContext, rDescriptor);
+ libepubgen::EPUBTextGenerator aGenerator(&aPackage, nVersion);
+ aGenerator.setOption(libepubgen::EPUB_GENERATOR_OPTION_SPLIT, nSplitMethod);
+ aGenerator.setOption(libepubgen::EPUB_GENERATOR_OPTION_LAYOUT, nLayoutMethod);
+ OUString aSourceURL;
+ uno::Reference<frame::XModel> xSourceModel(mxSourceDocument, uno::UNO_QUERY);
+ if (xSourceModel.is())
+ aSourceURL = xSourceModel->getURL();
+
+ std::vector<exp::FixedLayoutPage> aPageMetafiles;
+ if (nLayoutMethod == libepubgen::EPUB_LAYOUT_METHOD_FIXED)
+ CreateMetafiles(aPageMetafiles);
+
+ uno::Reference<xml::sax::XDocumentHandler> xExportHandler(
+ new exp::XMLImport(mxContext, aGenerator, aSourceURL, rDescriptor, aPageMetafiles));
+
+ uno::Reference<lang::XInitialization> xInitialization(
+ mxContext->getServiceManager()->createInstanceWithContext(
+ "com.sun.star.comp.Writer.XMLOasisExporter", mxContext),
+ uno::UNO_QUERY);
+
+ // A subset of parameters are passed in as a property set.
+ static comphelper::PropertyMapEntry const aInfoMap[]
+ = { { OUString("BaseURI"), 0, cppu::UnoType<OUString>::get(),
+ beans::PropertyAttribute::MAYBEVOID, 0 } };
+ uno::Reference<beans::XPropertySet> xInfoSet(
+ comphelper::GenericPropertySet_CreateInstance(new comphelper::PropertySetInfo(aInfoMap)));
+ xInfoSet->setPropertyValue("BaseURI", uno::Any(aSourceURL));
+
+ xInitialization->initialize({ uno::Any(xExportHandler), uno::Any(xInfoSet) });
+ uno::Reference<document::XExporter> xExporter(xInitialization, uno::UNO_QUERY);
+ xExporter->setSourceDocument(mxSourceDocument);
+ uno::Reference<document::XFilter> xFilter(xInitialization, uno::UNO_QUERY);
+
+ return xFilter->filter(rDescriptor);
+}
+
+void EPUBExportFilter::CreateMetafiles(std::vector<exp::FixedLayoutPage>& rPageMetafiles)
+{
+ DocumentToGraphicRenderer aRenderer(mxSourceDocument, /*bSelectionOnly=*/false);
+ uno::Reference<frame::XModel> xModel(mxSourceDocument, uno::UNO_QUERY);
+ if (!xModel.is())
+ return;
+
+ uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(
+ xModel->getCurrentController(), uno::UNO_QUERY);
+ if (!xTextViewCursorSupplier.is())
+ return;
+
+ uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(),
+ uno::UNO_QUERY);
+ if (!xCursor.is())
+ return;
+
+ xCursor->jumpToLastPage();
+ sal_Int16 nPages = xCursor->getPage();
+ for (sal_Int16 nPage = 1; nPage <= nPages; ++nPage)
+ {
+ Size aDocumentSizePixel = aRenderer.getDocumentSizeInPixels(nPage);
+ Size aLogic = aRenderer.getDocumentSizeIn100mm(nPage);
+ // Get the CSS pixel size of the page (mm100 -> pixel using 96 DPI, independent from system DPI).
+ Size aCss(static_cast<double>(aLogic.getWidth()) / 26.4583,
+ static_cast<double>(aLogic.getHeight()) / 26.4583);
+ Graphic aGraphic = aRenderer.renderToGraphic(nPage, aDocumentSizePixel, aCss, COL_WHITE,
+ /*bExtOutDevData=*/true);
+ auto& rGDIMetaFile = const_cast<GDIMetaFile&>(aGraphic.GetGDIMetaFile());
+
+ // Set preferred map unit and size on the metafile, so the SVG size
+ // will be correct in MM.
+ MapMode aMapMode;
+ aMapMode.SetMapUnit(MapUnit::Map100thMM);
+ rGDIMetaFile.SetPrefMapMode(aMapMode);
+ rGDIMetaFile.SetPrefSize(aLogic);
+
+ SvMemoryStream aMemoryStream;
+ SvmWriter aWriter(aMemoryStream);
+ aWriter.Write(rGDIMetaFile);
+ uno::Sequence<sal_Int8> aSequence(static_cast<const sal_Int8*>(aMemoryStream.GetData()),
+ aMemoryStream.Tell());
+
+ exp::FixedLayoutPage aPage;
+ aPage.aMetafile = aSequence;
+ aPage.aCssPixels = aCss;
+ aPage.aChapterNames = aRenderer.getChapterNames();
+ rPageMetafiles.push_back(aPage);
+ }
+}
+
+void EPUBExportFilter::cancel() {}
+
+void EPUBExportFilter::setSourceDocument(const uno::Reference<lang::XComponent>& xDocument)
+{
+ mxSourceDocument = xDocument;
+}
+
+OUString EPUBExportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Writer.EPUBExportFilter";
+}
+
+sal_Bool EPUBExportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+uno::Sequence<OUString> EPUBExportFilter::getSupportedServiceNames()
+{
+ uno::Sequence<OUString> aRet = { OUString("com.sun.star.document.ExportFilter") };
+ return aRet;
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
+com_sun_star_comp_Writer_EPUBExportFilter_get_implementation(
+ uno::XComponentContext* pContext, uno::Sequence<uno::Any> const& /*rSeq*/)
+{
+ return cppu::acquire(new EPUBExportFilter(pContext));
+}
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBExportFilter.hxx b/writerperfect/source/writer/EPUBExportFilter.hxx
new file mode 100644
index 0000000000..6cf007ff48
--- /dev/null
+++ b/writerperfect/source/writer/EPUBExportFilter.hxx
@@ -0,0 +1,71 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <vector>
+
+#include <cppuhelper/implbase.hxx>
+
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/document/XExporter.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+
+namespace com::sun::star::uno
+{
+class XComponentContext;
+}
+
+namespace writerperfect
+{
+namespace exp
+{
+struct FixedLayoutPage;
+}
+
+/// EPUB export XFilter implementation.
+class EPUBExportFilter
+ : public cppu::WeakImplHelper<css::document::XFilter, css::document::XExporter,
+ css::lang::XServiceInfo>
+{
+ css::uno::Reference<css::uno::XComponentContext> mxContext;
+ css::uno::Reference<css::lang::XComponent> mxSourceDocument;
+
+public:
+ EPUBExportFilter(css::uno::Reference<css::uno::XComponentContext> xContext);
+
+ // XFilter
+ sal_Bool SAL_CALL
+ filter(const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor) override;
+ void SAL_CALL cancel() override;
+
+ // XExporter
+ void SAL_CALL
+ setSourceDocument(const css::uno::Reference<css::lang::XComponent>& xDocument) override;
+
+ // XServiceInfo
+ OUString SAL_CALL getImplementationName() override;
+ sal_Bool SAL_CALL supportsService(const OUString& rServiceName) override;
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+ /// Gives the default EPUB version.
+ static sal_Int32 GetDefaultVersion();
+ /// Gives the default split method.
+ static sal_Int32 GetDefaultSplitMethod();
+ /// Gives the default layout method.
+ static sal_Int32 GetDefaultLayoutMethod();
+
+private:
+ /// Create page metafiles in case of fixed layout.
+ void CreateMetafiles(std::vector<exp::FixedLayoutPage>& rPageMetafiles);
+};
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBExportUIComponent.cxx b/writerperfect/source/writer/EPUBExportUIComponent.cxx
new file mode 100644
index 0000000000..0e392ffe00
--- /dev/null
+++ b/writerperfect/source/writer/EPUBExportUIComponent.cxx
@@ -0,0 +1,127 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "EPUBExportUIComponent.hxx"
+
+#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp>
+#include <comphelper/namedvaluecollection.hxx>
+#include <cppuhelper/supportsservice.hxx>
+#include <vcl/svapp.hxx>
+
+#include "EPUBExportDialog.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect
+{
+EPUBExportUIComponent::EPUBExportUIComponent(uno::Reference<uno::XComponentContext> xContext)
+ : mxContext(std::move(xContext))
+{
+}
+
+uno::Sequence<beans::PropertyValue> EPUBExportUIComponent::getPropertyValues()
+{
+ maMediaDescriptor["FilterData"] <<= maFilterData.getAsConstPropertyValueList();
+ return maMediaDescriptor.getAsConstPropertyValueList();
+}
+
+void EPUBExportUIComponent::setPropertyValues(
+ const uno::Sequence<beans::PropertyValue>& rProperties)
+{
+ maMediaDescriptor.clear();
+ maMediaDescriptor << rProperties;
+ auto it = maMediaDescriptor.find("FilterData");
+ if (it != maMediaDescriptor.end())
+ {
+ uno::Sequence<beans::PropertyValue> aFilterData;
+ if (it->second >>= aFilterData)
+ {
+ maFilterData.clear();
+ maFilterData << aFilterData;
+ }
+ }
+}
+
+OUString EPUBExportUIComponent::getImplementationName()
+{
+ return "com.sun.star.comp.Writer.EPUBExportUIComponent";
+}
+
+sal_Bool EPUBExportUIComponent::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+uno::Sequence<OUString> EPUBExportUIComponent::getSupportedServiceNames()
+{
+ uno::Sequence<OUString> aRet = { OUString("com.sun.star.ui.dialogs.FilterOptionsDialog") };
+ return aRet;
+}
+
+void EPUBExportUIComponent::setTitle(const OUString& /*rTitle*/) {}
+
+void SAL_CALL EPUBExportUIComponent::initialize(const uno::Sequence<uno::Any>& rArguments)
+{
+ ::comphelper::NamedValueCollection aProperties(rArguments);
+ if (aProperties.has("ParentWindow"))
+ aProperties.get("ParentWindow") >>= mxDialogParent;
+}
+
+sal_Int16 EPUBExportUIComponent::execute()
+{
+ SolarMutexGuard aGuard;
+
+ EPUBExportDialog aDialog(Application::GetFrameWeld(mxDialogParent), maFilterData, mxContext,
+ mxSourceDocument);
+ if (aDialog.run() == RET_OK)
+ return ui::dialogs::ExecutableDialogResults::OK;
+ return ui::dialogs::ExecutableDialogResults::CANCEL;
+}
+
+void SAL_CALL EPUBExportUIComponent::setSourceDocument(
+ const css::uno::Reference<css::lang::XComponent>& xDocument)
+{
+ mxSourceDocument = xDocument;
+}
+
+void SAL_CALL EPUBExportUIComponent::setDialogTitle(const OUString& aTitle) { setTitle(aTitle); }
+
+void SAL_CALL EPUBExportUIComponent::startExecuteModal(
+ const css::uno::Reference<css::ui::dialogs::XDialogClosedListener>& xListener)
+{
+ SolarMutexGuard aSolarGuard;
+
+ if (!mxAsyncDialog)
+ {
+ if (mxSourceDocument.is())
+ mxAsyncDialog
+ = std::make_shared<EPUBExportDialog>(Application::GetFrameWeld(mxDialogParent),
+ maFilterData, mxContext, mxSourceDocument);
+
+ if (!mxAsyncDialog)
+ return;
+ }
+
+ weld::DialogController::runAsync(mxAsyncDialog, [xListener](sal_Int32 nResponse) {
+ css::ui::dialogs::DialogClosedEvent aEvent;
+ aEvent.DialogResult = nResponse;
+ xListener->dialogClosed(aEvent);
+ });
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface*
+com_sun_star_comp_Writer_EPUBExportUIComponent_get_implementation(
+ uno::XComponentContext* pCtx, uno::Sequence<uno::Any> const& /*rSeq*/)
+{
+ return cppu::acquire(new EPUBExportUIComponent(pCtx));
+}
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBExportUIComponent.hxx b/writerperfect/source/writer/EPUBExportUIComponent.hxx
new file mode 100644
index 0000000000..b453a4e880
--- /dev/null
+++ b/writerperfect/source/writer/EPUBExportUIComponent.hxx
@@ -0,0 +1,86 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/beans/XPropertyAccess.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/ui/dialogs/XAsynchronousExecutableDialog.hpp>
+#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp>
+#include <com/sun/star/document/XExporter.hpp>
+#include <com/sun/star/awt/XWindow.hpp>
+
+#include <comphelper/sequenceashashmap.hxx>
+#include <cppuhelper/implbase.hxx>
+
+namespace weld
+{
+class DialogController;
+}
+
+namespace com::sun::star::uno
+{
+class XComponentContext;
+}
+
+namespace writerperfect
+{
+/// EPUB export UI component implementation.
+class EPUBExportUIComponent
+ : public cppu::WeakImplHelper<css::beans::XPropertyAccess, css::lang::XInitialization,
+ css::lang::XServiceInfo, css::ui::dialogs::XExecutableDialog,
+ css::ui::dialogs::XAsynchronousExecutableDialog,
+ css::document::XExporter>
+{
+public:
+ EPUBExportUIComponent(css::uno::Reference<css::uno::XComponentContext> xContext);
+
+ // XPropertyAccess
+ css::uno::Sequence<css::beans::PropertyValue> SAL_CALL getPropertyValues() override;
+ void SAL_CALL
+ setPropertyValues(const css::uno::Sequence<css::beans::PropertyValue>& rProperties) override;
+
+ // XServiceInfo
+ OUString SAL_CALL getImplementationName() override;
+ sal_Bool SAL_CALL supportsService(const OUString& rServiceName) override;
+ css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+ // XExecutableDialog
+ void SAL_CALL setTitle(const OUString& rTitle) override;
+ sal_Int16 SAL_CALL execute() override;
+
+ // XAsynchronousExecutableDialog
+ void SAL_CALL setDialogTitle(const OUString& aTitle) override;
+
+ void SAL_CALL startExecuteModal(
+ const css::uno::Reference<css::ui::dialogs::XDialogClosedListener>& xListener) override;
+
+ // XExporter
+ void SAL_CALL
+ setSourceDocument(const css::uno::Reference<css::lang::XComponent>& xDocument) override;
+
+ // XInitialization
+ void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override;
+
+private:
+ /// The full set of property values.
+ comphelper::SequenceAsHashMap maMediaDescriptor;
+ /// The filter data key.
+ comphelper::SequenceAsHashMap maFilterData;
+ /// UNO context.
+ css::uno::Reference<css::uno::XComponentContext> mxContext;
+ css::uno::Reference<css::lang::XComponent> mxSourceDocument;
+ css::uno::Reference<css::awt::XWindow> mxDialogParent;
+ std::shared_ptr<weld::DialogController> mxAsyncDialog;
+};
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBPackage.cxx b/writerperfect/source/writer/EPUBPackage.cxx
new file mode 100644
index 0000000000..6ad143aa5e
--- /dev/null
+++ b/writerperfect/source/writer/EPUBPackage.cxx
@@ -0,0 +1,215 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "EPUBPackage.hxx"
+
+#include <com/sun/star/embed/ElementModes.hpp>
+#include <com/sun/star/embed/XStorage.hpp>
+#include <com/sun/star/embed/XTransactedObject.hpp>
+#include <com/sun/star/io/XSeekable.hpp>
+#include <com/sun/star/xml/sax/Writer.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
+#include <com/sun/star/embed/XHierarchicalStorageAccess.hpp>
+
+#include <sal/log.hxx>
+#include <comphelper/attributelist.hxx>
+#include <comphelper/storagehelper.hxx>
+#include <unotools/mediadescriptor.hxx>
+
+using namespace com::sun::star;
+
+namespace writerperfect
+{
+EPUBPackage::EPUBPackage(uno::Reference<uno::XComponentContext> xContext,
+ const uno::Sequence<beans::PropertyValue>& rDescriptor)
+ : mxContext(std::move(xContext))
+{
+ // Extract the output stream from the descriptor.
+ utl::MediaDescriptor aMediaDesc(rDescriptor);
+ auto xStream = aMediaDesc.getUnpackedValueOrDefault(utl::MediaDescriptor::PROP_STREAMFOROUTPUT,
+ uno::Reference<io::XStream>());
+ const sal_Int32 nOpenMode = embed::ElementModes::READWRITE | embed::ElementModes::TRUNCATE;
+ mxStorage.set(comphelper::OStorageHelper::GetStorageOfFormatFromStream(
+ ZIP_STORAGE_FORMAT_STRING, xStream, nOpenMode, mxContext),
+ uno::UNO_QUERY);
+
+ // The zipped content represents an EPUB Publication.
+ mxOutputStream.set(
+ mxStorage->openStreamElementByHierarchicalName("mimetype", embed::ElementModes::READWRITE),
+ uno::UNO_QUERY);
+ static constexpr OString aMimeType("application/epub+zip"_ostr);
+ uno::Sequence<sal_Int8> aData(reinterpret_cast<const sal_Int8*>(aMimeType.getStr()),
+ aMimeType.getLength());
+ mxOutputStream->writeBytes(aData);
+ uno::Reference<embed::XTransactedObject> xTransactedObject(mxOutputStream, uno::UNO_QUERY);
+ xTransactedObject->commit();
+
+ // MIME type must be uncompressed.
+ uno::Reference<beans::XPropertySet> xPropertySet(mxOutputStream, uno::UNO_QUERY);
+ xPropertySet->setPropertyValue("Compressed", uno::Any(false));
+ mxOutputStream.clear();
+}
+
+EPUBPackage::~EPUBPackage()
+{
+ uno::Reference<embed::XTransactedObject> xTransactedObject(mxStorage, uno::UNO_QUERY);
+ xTransactedObject->commit();
+}
+
+void EPUBPackage::openXMLFile(const char* pName)
+{
+ assert(pName);
+ assert(!mxOutputStream.is());
+ assert(!mxOutputWriter.is());
+
+ mxOutputStream.set(mxStorage->openStreamElementByHierarchicalName(
+ OUString::fromUtf8(pName), embed::ElementModes::READWRITE),
+ uno::UNO_QUERY);
+ mxOutputWriter = xml::sax::Writer::create(mxContext);
+ mxOutputWriter->setOutputStream(mxOutputStream);
+ mxOutputWriter->startDocument();
+}
+
+void EPUBPackage::openElement(const char* pName, const librevenge::RVNGPropertyList& rAttributes)
+{
+ assert(mxOutputWriter.is());
+
+ rtl::Reference<comphelper::AttributeList> pAttributeList(new comphelper::AttributeList());
+
+ librevenge::RVNGPropertyList::Iter it(rAttributes);
+ for (it.rewind(); it.next();)
+ pAttributeList->AddAttribute(OUString::fromUtf8(it.key()),
+ OUString::fromUtf8(it()->getStr().cstr()));
+
+ mxOutputWriter->startElement(OUString::fromUtf8(pName), pAttributeList);
+}
+
+void EPUBPackage::closeElement(const char* pName)
+{
+ assert(mxOutputWriter.is());
+
+ mxOutputWriter->endElement(OUString::fromUtf8(pName));
+}
+
+void EPUBPackage::insertCharacters(const librevenge::RVNGString& rCharacters)
+{
+ mxOutputWriter->characters(OUString::fromUtf8(rCharacters.cstr()));
+}
+
+void EPUBPackage::closeXMLFile()
+{
+ assert(mxOutputWriter.is());
+ assert(mxOutputStream.is());
+
+ mxOutputWriter->endDocument();
+ mxOutputWriter.clear();
+
+ uno::Reference<embed::XTransactedObject> xTransactedObject(mxOutputStream, uno::UNO_QUERY);
+ xTransactedObject->commit();
+ mxOutputStream.clear();
+}
+
+void EPUBPackage::openCSSFile(const char* pName)
+{
+ assert(pName);
+ assert(!mxOutputStream.is());
+
+ mxOutputStream.set(mxStorage->openStreamElementByHierarchicalName(
+ OUString::fromUtf8(pName), embed::ElementModes::READWRITE),
+ uno::UNO_QUERY);
+}
+
+void EPUBPackage::insertRule(const librevenge::RVNGString& rSelector,
+ const librevenge::RVNGPropertyList& rProperties)
+{
+ assert(mxOutputStream.is());
+
+ uno::Reference<io::XSeekable> xSeekable(mxOutputStream, uno::UNO_QUERY);
+ std::stringstream aStream;
+ if (xSeekable->getPosition() != 0)
+ aStream << '\n';
+ aStream << rSelector.cstr() << " {\n";
+
+ librevenge::RVNGPropertyList::Iter it(rProperties);
+ for (it.rewind(); it.next();)
+ {
+ if (it())
+ aStream << " " << it.key() << ": " << it()->getStr().cstr() << ";\n";
+ }
+
+ aStream << "}\n";
+ std::string aString = aStream.str();
+ uno::Sequence<sal_Int8> aData(reinterpret_cast<const sal_Int8*>(aString.c_str()),
+ aString.size());
+ mxOutputStream->writeBytes(aData);
+}
+
+void EPUBPackage::closeCSSFile()
+{
+ assert(mxOutputStream.is());
+
+ uno::Reference<embed::XTransactedObject> xTransactedObject(mxOutputStream, uno::UNO_QUERY);
+ xTransactedObject->commit();
+ mxOutputStream.clear();
+}
+
+void EPUBPackage::openBinaryFile(const char* pName)
+{
+ assert(pName);
+ assert(!mxOutputStream.is());
+
+ mxOutputStream.set(mxStorage->openStreamElementByHierarchicalName(
+ OUString::fromUtf8(pName), embed::ElementModes::READWRITE),
+ uno::UNO_QUERY);
+}
+
+void EPUBPackage::insertBinaryData(const librevenge::RVNGBinaryData& rData)
+{
+ assert(mxOutputStream.is());
+
+ if (rData.empty())
+ return;
+
+ uno::Sequence<sal_Int8> aData(reinterpret_cast<const sal_Int8*>(rData.getDataBuffer()),
+ rData.size());
+ mxOutputStream->writeBytes(aData);
+}
+
+void EPUBPackage::closeBinaryFile()
+{
+ assert(mxOutputStream.is());
+
+ uno::Reference<embed::XTransactedObject> xTransactedObject(mxOutputStream, uno::UNO_QUERY);
+ xTransactedObject->commit();
+ mxOutputStream.clear();
+}
+
+void EPUBPackage::openTextFile(const char* pName)
+{
+ SAL_WARN("writerperfect", "EPUBPackage::openTextFile, " << pName << ": implement me");
+}
+
+void EPUBPackage::insertText(const librevenge::RVNGString& /*rCharacters*/)
+{
+ SAL_WARN("writerperfect", "EPUBPackage::insertText: implement me");
+}
+
+void EPUBPackage::insertLineBreak()
+{
+ SAL_WARN("writerperfect", "EPUBPackage::insertLineBreak: implement me");
+}
+
+void EPUBPackage::closeTextFile()
+{
+ SAL_WARN("writerperfect", "EPUBPackage::closeTextFile: implement me");
+}
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/EPUBPackage.hxx b/writerperfect/source/writer/EPUBPackage.hxx
new file mode 100644
index 0000000000..726d206734
--- /dev/null
+++ b/writerperfect/source/writer/EPUBPackage.hxx
@@ -0,0 +1,90 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <libepubgen/EPUBPackage.h>
+
+#include <com/sun/star/uno/Sequence.h>
+#include <com/sun/star/uno/Reference.h>
+
+namespace com::sun::star
+{
+namespace beans
+{
+struct PropertyValue;
+}
+namespace embed
+{
+class XHierarchicalStorageAccess;
+}
+namespace io
+{
+class XOutputStream;
+}
+namespace uno
+{
+class XComponentContext;
+}
+namespace xml::sax
+{
+class XWriter;
+}
+}
+
+namespace writerperfect
+{
+/// The epub package has direct access to the resulting ZIP file.
+class EPUBPackage : public libepubgen::EPUBPackage
+{
+ css::uno::Reference<css::uno::XComponentContext> mxContext;
+ css::uno::Reference<css::embed::XHierarchicalStorageAccess> mxStorage;
+ css::uno::Reference<css::io::XOutputStream> mxOutputStream;
+ css::uno::Reference<css::xml::sax::XWriter> mxOutputWriter;
+
+public:
+ explicit EPUBPackage(css::uno::Reference<css::uno::XComponentContext> xContext,
+ const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor);
+
+ ~EPUBPackage() override;
+
+ void openXMLFile(const char* pName) override;
+
+ void openElement(const char* pName, const librevenge::RVNGPropertyList& rAttributes) override;
+ void closeElement(const char* pName) override;
+
+ void insertCharacters(const librevenge::RVNGString& rCharacters) override;
+
+ void closeXMLFile() override;
+
+ void openCSSFile(const char* pName) override;
+
+ void insertRule(const librevenge::RVNGString& rSelector,
+ const librevenge::RVNGPropertyList& rProperties) override;
+
+ void closeCSSFile() override;
+
+ void openBinaryFile(const char* pName) override;
+
+ void insertBinaryData(const librevenge::RVNGBinaryData& rData) override;
+
+ void closeBinaryFile() override;
+
+ void openTextFile(const char* pName) override;
+
+ void insertText(const librevenge::RVNGString& rCharacters) override;
+
+ void insertLineBreak() override;
+
+ void closeTextFile() override;
+};
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx
new file mode 100644
index 0000000000..7983172667
--- /dev/null
+++ b/writerperfect/source/writer/MSWorksImportFilter.cxx
@@ -0,0 +1,157 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MSWorksImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+#include <comphelper/diagnose_ex.hxx>
+
+#include <libwps/libwps.h>
+
+#include <WPFTEncodingDialog.hxx>
+#include <WPFTResMgr.hxx>
+#include "MSWorksImportFilter.hxx"
+#include <strings.hrc>
+
+static bool handleEmbeddedWKSObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler, const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return libwps::WPSDocument::parse(data.getDataStream(), &exporter) == libwps::WPS_OK;
+}
+
+bool MSWorksImportFilter::doImportDocument(weld::Window* pParent,
+ librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator,
+ utl::MediaDescriptor& mediaDescriptor)
+{
+ libwps::WPSKind kind = libwps::WPS_TEXT;
+ libwps::WPSCreator creator;
+ bool needEncoding = false;
+ const libwps::WPSConfidence confidence
+ = libwps::WPSDocument::isFileFormatSupported(&rInput, kind, creator, needEncoding);
+
+ std::string fileEncoding;
+ if ((kind == libwps::WPS_TEXT) && (confidence == libwps::WPS_CONFIDENCE_EXCELLENT)
+ && needEncoding)
+ {
+ OUString encoding;
+ // first check if we can find the encoding in the filter options (headless mode)
+ mediaDescriptor[utl::MediaDescriptor::PROP_FILTEROPTIONS] >>= encoding;
+ if (!encoding.isEmpty()) // TODO: check if the encoding string is valid
+ fileEncoding = encoding.toUtf8().getStr();
+ else
+ {
+ OUString title;
+
+ switch (creator)
+ {
+ case libwps::WPS_MSWORKS:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_MSWORKS);
+ encoding = "CP850";
+ break;
+ case libwps::WPS_RESERVED_0: // MS Write
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_MSWRITE);
+ encoding = "CP1252";
+ break;
+ case libwps::WPS_RESERVED_1: // DosWord
+ title = WpResId(STR_ENCODING_DIALOG_TITLE_DOSWORD);
+ encoding = "CP850";
+ break;
+ default:
+ title = WpResId(STR_ENCODING_DIALOG_TITLE);
+ encoding = "CP850";
+ break;
+ }
+
+ fileEncoding = encoding.toUtf8().getStr(); // set default to the proposed encoding
+ try
+ {
+ writerperfect::WPFTEncodingDialog aDlg(pParent, title, encoding);
+ if (aDlg.run() == RET_OK)
+ {
+ if (!aDlg.GetEncoding().isEmpty())
+ fileEncoding = aDlg.GetEncoding().toUtf8().getStr();
+ }
+ // we can fail because we are in headless mode, the user has cancelled conversion, ...
+ else if (aDlg.hasUserCalledCancel())
+ return false;
+ }
+ catch (css::uno::Exception&)
+ {
+ TOOLS_WARN_EXCEPTION("writerperfect", "ignoring");
+ }
+ }
+ }
+ return libwps::WPS_OK
+ == libwps::WPSDocument::parse(&rInput, &rGenerator, "", fileEncoding.c_str());
+}
+
+bool MSWorksImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ libwps::WPSKind kind = libwps::WPS_TEXT;
+ libwps::WPSCreator creator;
+ bool needEncoding;
+ const libwps::WPSConfidence confidence
+ = libwps::WPSDocument::isFileFormatSupported(&rInput, kind, creator, needEncoding);
+
+ if ((kind == libwps::WPS_TEXT) && (confidence == libwps::WPS_CONFIDENCE_EXCELLENT))
+ {
+ switch (creator)
+ {
+ case libwps::WPS_MSWORKS:
+ rTypeName = "writer_MS_Works_Document";
+ break;
+ case libwps::WPS_RESERVED_0:
+ rTypeName = "writer_MS_Write";
+ break;
+ case libwps::WPS_RESERVED_1:
+ rTypeName = "writer_DosWord";
+ break;
+ case libwps::WPS_RESERVED_4:
+ rTypeName = "writer_PocketWord_File";
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void MSWorksImportFilter::doRegisterHandlers(OdtGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/wks-ods", &handleEmbeddedWKSObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL MSWorksImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Writer.MSWorksImportFilter";
+}
+
+sal_Bool SAL_CALL MSWorksImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL MSWorksImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Writer_MSWorksImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MSWorksImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/MSWorksImportFilter.hxx b/writerperfect/source/writer/MSWorksImportFilter.hxx
new file mode 100644
index 0000000000..629904fdaf
--- /dev/null
+++ b/writerperfect/source/writer/MSWorksImportFilter.hxx
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdt.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MSWorksImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit MSWorksImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdtGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/MWAWImportFilter.cxx b/writerperfect/source/writer/MWAWImportFilter.cxx
new file mode 100644
index 0000000000..33fe2d95f2
--- /dev/null
+++ b/writerperfect/source/writer/MWAWImportFilter.cxx
@@ -0,0 +1,117 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* MWAWImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libmwaw/libmwaw.hxx>
+
+#include "MWAWImportFilter.hxx"
+
+static bool handleEmbeddedMWAWGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedMWAWSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ exporter.addDocumentHandler(pHandler, streamType);
+ return MWAWDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool MWAWImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return MWAWDocument::MWAW_R_OK == MWAWDocument::parse(&rInput, &rGenerator);
+}
+
+bool MWAWImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ MWAWDocument::Type docType = MWAWDocument::MWAW_T_UNKNOWN;
+ MWAWDocument::Kind docKind = MWAWDocument::MWAW_K_UNKNOWN;
+ const MWAWDocument::Confidence confidence
+ = MWAWDocument::isFileFormatSupported(&rInput, docType, docKind);
+
+ if (confidence == MWAWDocument::MWAW_C_EXCELLENT)
+ {
+ if (docKind == MWAWDocument::MWAW_K_TEXT)
+ {
+ switch (docType)
+ {
+ case MWAWDocument::MWAW_T_CLARISWORKS:
+ rTypeName = "writer_ClarisWorks";
+ break;
+ case MWAWDocument::MWAW_T_MACWRITE:
+ case MWAWDocument::MWAW_T_MACWRITEPRO:
+ rTypeName = "writer_MacWrite";
+ break;
+ case MWAWDocument::MWAW_T_MARINERWRITE:
+ rTypeName = "writer_Mariner_Write";
+ break;
+ case MWAWDocument::MWAW_T_MICROSOFTWORD:
+ rTypeName = "writer_Mac_Word";
+ break;
+ case MWAWDocument::MWAW_T_MICROSOFTWORKS:
+ rTypeName = "writer_Mac_Works";
+ break;
+ case MWAWDocument::MWAW_T_WRITENOW:
+ rTypeName = "writer_WriteNow";
+ break;
+ default:
+ rTypeName = "MWAW_Text_Document";
+ break;
+ }
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void MWAWImportFilter::doRegisterHandlers(OdtGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-odg", &handleEmbeddedMWAWGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/mwaw-ods",
+ &handleEmbeddedMWAWSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL MWAWImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Writer.MWAWImportFilter";
+}
+
+sal_Bool SAL_CALL MWAWImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL MWAWImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Writer_MWAWImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new MWAWImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/MWAWImportFilter.hxx b/writerperfect/source/writer/MWAWImportFilter.hxx
new file mode 100644
index 0000000000..b7bb192689
--- /dev/null
+++ b/writerperfect/source/writer/MWAWImportFilter.hxx
@@ -0,0 +1,41 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdt.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class MWAWImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit MWAWImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdtGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/PagesImportFilter.cxx b/writerperfect/source/writer/PagesImportFilter.cxx
new file mode 100644
index 0000000000..9d8bb5eb38
--- /dev/null
+++ b/writerperfect/source/writer/PagesImportFilter.cxx
@@ -0,0 +1,63 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/* PagesImportFilter: Sets up the filter, and calls DocumentCollector
+ * to do the actual filtering
+ *
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <libetonyek/libetonyek.h>
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include "PagesImportFilter.hxx"
+
+using libetonyek::EtonyekDocument;
+
+bool PagesImportFilter::doImportDocument(weld::Window*, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ return EtonyekDocument::parse(&rInput, &rGenerator);
+}
+
+bool PagesImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName)
+{
+ EtonyekDocument::Type type = EtonyekDocument::TYPE_UNKNOWN;
+ const EtonyekDocument::Confidence confidence = EtonyekDocument::isSupported(&rInput, &type);
+ if ((confidence == EtonyekDocument::CONFIDENCE_EXCELLENT)
+ && (type == EtonyekDocument::TYPE_PAGES))
+ {
+ rTypeName = "writer_ApplePages";
+ return true;
+ }
+
+ return false;
+}
+
+// XServiceInfo
+OUString SAL_CALL PagesImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Writer.PagesImportFilter";
+}
+
+sal_Bool SAL_CALL PagesImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL PagesImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Writer_PagesImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new PagesImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/PagesImportFilter.hxx b/writerperfect/source/writer/PagesImportFilter.hxx
new file mode 100644
index 0000000000..83fc04618d
--- /dev/null
+++ b/writerperfect/source/writer/PagesImportFilter.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <DocumentHandlerForOdt.hxx>
+#include <ImportFilter.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class PagesImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit PagesImportFilter(const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator,
+ utl::MediaDescriptor& rDescriptor) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
new file mode 100644
index 0000000000..849ede0d7a
--- /dev/null
+++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx
@@ -0,0 +1,128 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cppuhelper/supportsservice.hxx>
+
+#include <libstaroffice/libstaroffice.hxx>
+
+#include <sfx2/passwd.hxx>
+
+#include "StarOfficeWriterImportFilter.hxx"
+
+using com::sun::star::uno::Sequence;
+using com::sun::star::uno::XComponentContext;
+using com::sun::star::uno::XInterface;
+
+static bool handleEmbeddedSTOFFWriterGraphicObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeGraphic(data, &exporter);
+}
+
+static bool handleEmbeddedSTOFFWriterSpreadsheetObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler,
+ const OdfStreamType streamType)
+{
+ OdsGenerator exporter;
+ exporter.registerEmbeddedObjectHandler("image/stoff-odg",
+ &handleEmbeddedSTOFFWriterGraphicObject);
+ exporter.addDocumentHandler(pHandler, streamType);
+ return STOFFDocument::decodeSpreadsheet(data, &exporter);
+}
+
+bool StarOfficeWriterImportFilter::doImportDocument(weld::Window* pParent,
+ librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&)
+{
+ STOFFDocument::Kind docKind = STOFFDocument::STOFF_K_UNKNOWN;
+ const STOFFDocument::Confidence confidence
+ = STOFFDocument::isFileFormatSupported(&rInput, docKind);
+ OString aUtf8Passwd;
+ if (confidence == STOFFDocument::STOFF_C_SUPPORTED_ENCRYPTION)
+ {
+ // try to ask for a password
+ try
+ {
+ SfxPasswordDialog aPasswdDlg(pParent);
+ aPasswdDlg.SetMinLen(0);
+ if (!aPasswdDlg.run())
+ return false;
+ OUString aPasswd = aPasswdDlg.GetPassword();
+ aUtf8Passwd = OUStringToOString(aPasswd, RTL_TEXTENCODING_UTF8);
+ }
+ catch (...)
+ {
+ // ok, we will probably guess it
+ }
+ }
+ return STOFFDocument::STOFF_R_OK
+ == STOFFDocument::parse(&rInput, &rGenerator,
+ !aUtf8Passwd.isEmpty() ? aUtf8Passwd.getStr() : nullptr);
+}
+
+bool StarOfficeWriterImportFilter::doDetectFormat(librevenge::RVNGInputStream& rInput,
+ OUString& rTypeName)
+{
+ rTypeName.clear();
+
+ STOFFDocument::Kind docKind = STOFFDocument::STOFF_K_UNKNOWN;
+ const STOFFDocument::Confidence confidence
+ = STOFFDocument::isFileFormatSupported(&rInput, docKind);
+
+ if (confidence == STOFFDocument::STOFF_C_EXCELLENT
+ || confidence == STOFFDocument::STOFF_C_SUPPORTED_ENCRYPTION)
+ {
+ switch (docKind)
+ {
+ case STOFFDocument::STOFF_K_TEXT:
+ rTypeName = "StarOffice_Writer";
+ break;
+ default:
+ break;
+ }
+ }
+
+ return !rTypeName.isEmpty();
+}
+
+void StarOfficeWriterImportFilter::doRegisterHandlers(OdtGenerator& rGenerator)
+{
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-odg",
+ &handleEmbeddedSTOFFWriterGraphicObject);
+ rGenerator.registerEmbeddedObjectHandler("image/stoff-ods",
+ &handleEmbeddedSTOFFWriterSpreadsheetObject);
+}
+
+// XServiceInfo
+OUString SAL_CALL StarOfficeWriterImportFilter::getImplementationName()
+{
+ return "org.libreoffice.comp.Writer.StarOfficeWriterImportFilter";
+}
+
+sal_Bool SAL_CALL StarOfficeWriterImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+Sequence<OUString> SAL_CALL StarOfficeWriterImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+org_libreoffice_comp_Writer_StarOfficeWriterImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new StarOfficeWriterImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx
new file mode 100644
index 0000000000..8310f1cbf7
--- /dev/null
+++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/uno/XComponentContext.hpp>
+
+#include <ImportFilter.hxx>
+
+#include <DocumentHandlerForOdt.hxx>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class StarOfficeWriterImportFilter : public writerperfect::ImportFilter<OdtGenerator>
+{
+public:
+ explicit StarOfficeWriterImportFilter(
+ const css::uno::Reference<css::uno::XComponentContext>& rxContext)
+ : writerperfect::ImportFilter<OdtGenerator>(rxContext)
+ {
+ }
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+
+private:
+ virtual bool doDetectFormat(librevenge::RVNGInputStream& rInput, OUString& rTypeName) override;
+ virtual bool doImportDocument(weld::Window* pParent, librevenge::RVNGInputStream& rInput,
+ OdtGenerator& rGenerator, utl::MediaDescriptor&) override;
+ virtual void doRegisterHandlers(OdtGenerator& rGenerator) override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx
new file mode 100644
index 0000000000..518c5556bb
--- /dev/null
+++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx
@@ -0,0 +1,233 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+
+#include <osl/diagnose.h>
+
+#include <com/sun/star/awt/XWindow.hpp>
+#include <com/sun/star/io/XInputStream.hpp>
+#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
+#include <com/sun/star/uno/Reference.h>
+#include <cppuhelper/supportsservice.hxx>
+
+#include <DocumentHandler.hxx>
+#include <WPXSvInputStream.hxx>
+
+#include <sfx2/passwd.hxx>
+#include <ucbhelper/content.hxx>
+#include <vcl/svapp.hxx>
+#include <xmloff/xmlimp.hxx>
+
+#include <libwpd/libwpd.h>
+#include <libwpg/libwpg.h>
+
+#include "WordPerfectImportFilter.hxx"
+
+using com::sun::star::uno::Reference;
+
+using com::sun::star::awt::XWindow;
+using com::sun::star::document::XImporter;
+using com::sun::star::io::XInputStream;
+using com::sun::star::xml::sax::XFastDocumentHandler;
+
+using writerperfect::DocumentHandler;
+using writerperfect::WPXSvInputStream;
+
+static bool handleEmbeddedWPGObject(const librevenge::RVNGBinaryData& data,
+ OdfDocumentHandler* pHandler, const OdfStreamType streamType)
+{
+ OdgGenerator exporter;
+ exporter.addDocumentHandler(pHandler, streamType);
+
+ libwpg::WPGFileFormat fileFormat = libwpg::WPG_AUTODETECT;
+
+ if (!libwpg::WPGraphics::isSupported(data.getDataStream()))
+ fileFormat = libwpg::WPG_WPG1;
+
+ return libwpg::WPGraphics::parse(data.getDataStream(), &exporter, fileFormat);
+}
+
+static bool handleEmbeddedWPGImage(const librevenge::RVNGBinaryData& input,
+ librevenge::RVNGBinaryData& output)
+{
+ libwpg::WPGFileFormat fileFormat = libwpg::WPG_AUTODETECT;
+
+ if (!libwpg::WPGraphics::isSupported(input.getDataStream()))
+ fileFormat = libwpg::WPG_WPG1;
+
+ librevenge::RVNGStringVector svgOutput;
+ librevenge::RVNGSVGDrawingGenerator aSVGGenerator(svgOutput, "");
+
+ if (!libwpg::WPGraphics::parse(input.getDataStream(), &aSVGGenerator, fileFormat))
+ return false;
+
+ if (svgOutput.empty())
+ return false;
+
+ assert(1 == svgOutput.size());
+
+ output.clear();
+ output.append(reinterpret_cast<const unsigned char*>(svgOutput[0].cstr()), svgOutput[0].size());
+ return true;
+}
+
+bool WordPerfectImportFilter::importImpl(
+ const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor)
+{
+ Reference<XInputStream> xInputStream;
+ Reference<XWindow> xDialogParent;
+ for (const auto& rValue : aDescriptor)
+ {
+ if (rValue.Name == "InputStream")
+ rValue.Value >>= xInputStream;
+ else if (rValue.Name == "ParentWindow")
+ rValue.Value >>= xDialogParent;
+ }
+ if (!xInputStream.is())
+ {
+ OSL_ASSERT(false);
+ return false;
+ }
+
+ WPXSvInputStream input(xInputStream);
+
+ OString aUtf8Passwd;
+
+ libwpd::WPDConfidence confidence = libwpd::WPDocument::isFileFormatSupported(&input);
+
+ if (libwpd::WPD_CONFIDENCE_SUPPORTED_ENCRYPTION == confidence)
+ {
+ int unsuccessfulAttempts = 0;
+ while (true)
+ {
+ SfxPasswordDialog aPasswdDlg(Application::GetFrameWeld(xDialogParent));
+ aPasswdDlg.SetMinLen(0);
+ if (!aPasswdDlg.run())
+ return false;
+ OUString aPasswd = aPasswdDlg.GetPassword();
+ aUtf8Passwd = OUStringToOString(aPasswd, RTL_TEXTENCODING_UTF8);
+ if (libwpd::WPD_PASSWORD_MATCH_OK
+ == libwpd::WPDocument::verifyPassword(&input, aUtf8Passwd.getStr()))
+ break;
+ else
+ unsuccessfulAttempts++;
+ if (unsuccessfulAttempts == 3) // timeout after 3 password attempts
+ return false;
+ }
+ }
+
+ // An XML import service: what we push sax messages to.
+ Reference<XInterface> xInternalFilter
+ = mxContext->getServiceManager()->createInstanceWithContext(
+ "com.sun.star.comp.Writer.XMLOasisImporter", mxContext);
+ assert(xInternalFilter);
+ css::uno::Reference<css::xml::sax::XFastDocumentHandler> xInternalHandler(xInternalFilter,
+ css::uno::UNO_QUERY);
+ assert(xInternalHandler);
+
+ // The XImporter sets up an empty target document for XDocumentHandler to write to.
+ Reference<XImporter> xImporter(xInternalHandler, css::uno::UNO_QUERY);
+ xImporter->setTargetDocument(mxDoc);
+
+ // OO Document Handler: abstract class to handle document SAX messages, concrete implementation here
+ // writes to in-memory target doc
+ DocumentHandler aHandler(
+ new SvXMLLegacyToFastDocHandler(static_cast<SvXMLImport*>(xInternalHandler.get())));
+
+ OdtGenerator collector;
+ collector.addDocumentHandler(&aHandler, ODF_FLAT_XML);
+ collector.registerEmbeddedObjectHandler("image/x-wpg", &handleEmbeddedWPGObject);
+ collector.registerEmbeddedImageHandler("image/x-wpg", &handleEmbeddedWPGImage);
+ return libwpd::WPD_OK
+ == libwpd::WPDocument::parse(&input, &collector,
+ aUtf8Passwd.isEmpty() ? nullptr : aUtf8Passwd.getStr());
+}
+
+sal_Bool SAL_CALL
+WordPerfectImportFilter::filter(const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor)
+{
+ return importImpl(aDescriptor);
+}
+void SAL_CALL WordPerfectImportFilter::cancel() {}
+
+// XImporter
+void SAL_CALL
+WordPerfectImportFilter::setTargetDocument(const Reference<css::lang::XComponent>& xDoc)
+{
+ mxDoc = xDoc;
+}
+
+// XExtendedFilterDetection
+OUString SAL_CALL
+WordPerfectImportFilter::detect(css::uno::Sequence<css::beans::PropertyValue>& Descriptor)
+{
+ sal_Int32 nLength = Descriptor.getLength();
+ sal_Int32 location = nLength;
+ Reference<XInputStream> xInputStream;
+ for (sal_Int32 i = 0; i < nLength; i++)
+ {
+ if (Descriptor[i].Name == "TypeName")
+ location = i;
+ else if (Descriptor[i].Name == "InputStream")
+ Descriptor[i].Value >>= xInputStream;
+ }
+
+ if (!xInputStream.is())
+ return OUString();
+
+ WPXSvInputStream input(xInputStream);
+
+ OUString sTypeName;
+ libwpd::WPDConfidence confidence = libwpd::WPDocument::isFileFormatSupported(&input);
+ if (confidence == libwpd::WPD_CONFIDENCE_EXCELLENT
+ || confidence == libwpd::WPD_CONFIDENCE_SUPPORTED_ENCRYPTION)
+ {
+ if (location == nLength)
+ {
+ Descriptor.realloc(nLength + 1);
+ Descriptor.getArray()[location].Name = "TypeName";
+ }
+
+ sTypeName = "writer_WordPerfect_Document";
+ Descriptor.getArray()[location].Value <<= sTypeName;
+ }
+
+ return sTypeName;
+}
+
+// XInitialization
+void SAL_CALL
+WordPerfectImportFilter::initialize(const css::uno::Sequence<css::uno::Any>& /*aArguments*/)
+{
+}
+
+// XServiceInfo
+OUString SAL_CALL WordPerfectImportFilter::getImplementationName()
+{
+ return "com.sun.star.comp.Writer.WordPerfectImportFilter";
+}
+
+sal_Bool SAL_CALL WordPerfectImportFilter::supportsService(const OUString& rServiceName)
+{
+ return cppu::supportsService(this, rServiceName);
+}
+
+css::uno::Sequence<OUString> SAL_CALL WordPerfectImportFilter::getSupportedServiceNames()
+{
+ return { "com.sun.star.document.ImportFilter", "com.sun.star.document.ExtendedTypeDetection" };
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface*
+com_sun_star_comp_Writer_WordPerfectImportFilter_get_implementation(
+ css::uno::XComponentContext* const context, const css::uno::Sequence<css::uno::Any>&)
+{
+ return cppu::acquire(new WordPerfectImportFilter(context));
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/WordPerfectImportFilter.hxx b/writerperfect/source/writer/WordPerfectImportFilter.hxx
new file mode 100644
index 0000000000..92a90699d8
--- /dev/null
+++ b/writerperfect/source/writer/WordPerfectImportFilter.hxx
@@ -0,0 +1,63 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+/* "This product is not manufactured, approved, or supported by
+ * Corel Corporation or Corel Corporation Limited."
+ */
+#pragma once
+
+#include <com/sun/star/document/XFilter.hpp>
+#include <com/sun/star/document/XImporter.hpp>
+#include <com/sun/star/document/XExtendedFilterDetection.hpp>
+#include <com/sun/star/lang/XInitialization.hpp>
+#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
+#include <cppuhelper/implbase.hxx>
+#include <utility>
+
+/* This component will be instantiated for both import or export. Whether it calls
+ * setSourceDocument or setTargetDocument determines which Impl function the filter
+ * member calls */
+class WordPerfectImportFilter
+ : public cppu::WeakImplHelper<css::document::XFilter, css::document::XImporter,
+ css::document::XExtendedFilterDetection,
+ css::lang::XInitialization, css::lang::XServiceInfo>
+{
+ css::uno::Reference<css::uno::XComponentContext> mxContext;
+ css::uno::Reference<css::lang::XComponent> mxDoc;
+
+ /// @throws css::uno::RuntimeException
+ bool importImpl(const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor);
+
+public:
+ explicit WordPerfectImportFilter(css::uno::Reference<css::uno::XComponentContext> xContext)
+ : mxContext(std::move(xContext))
+ {
+ }
+
+ // XFilter
+ virtual sal_Bool SAL_CALL
+ filter(const css::uno::Sequence<css::beans::PropertyValue>& aDescriptor) override;
+ virtual void SAL_CALL cancel() override;
+
+ // XImporter
+ virtual void SAL_CALL
+ setTargetDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override;
+
+ //XExtendedFilterDetection
+ virtual OUString SAL_CALL
+ detect(css::uno::Sequence<css::beans::PropertyValue>& Descriptor) override;
+
+ // XInitialization
+ virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& aArguments) override;
+
+ // XServiceInfo
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() override;
+};
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLBase64ImportContext.cxx b/writerperfect/source/writer/exp/XMLBase64ImportContext.cxx
new file mode 100644
index 0000000000..a7780e2d57
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLBase64ImportContext.cxx
@@ -0,0 +1,65 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "XMLBase64ImportContext.hxx"
+
+#include <comphelper/base64.hxx>
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLBase64ImportContext::XMLBase64ImportContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+void XMLBase64ImportContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+}
+
+void XMLBase64ImportContext::endElement(const OUString& /*rName*/)
+{
+ m_aBinaryData.append(static_cast<const unsigned char*>(m_aStream.GetData()),
+ m_aStream.GetSize());
+}
+
+void XMLBase64ImportContext::characters(const OUString& rChars)
+{
+ OUString aTrimmedChars(rChars.trim());
+
+ if (aTrimmedChars.isEmpty())
+ return;
+
+ OUString aChars;
+ if (!m_aBase64CharsLeft.isEmpty())
+ {
+ aChars = m_aBase64CharsLeft + aTrimmedChars;
+ m_aBase64CharsLeft.clear();
+ }
+ else
+ aChars = aTrimmedChars;
+
+ uno::Sequence<sal_Int8> aBuffer((aChars.getLength() / 4) * 3);
+ const sal_Int32 nCharsDecoded = comphelper::Base64::decodeSomeChars(aBuffer, aChars);
+ m_aStream.WriteBytes(aBuffer.getArray(), aBuffer.getLength());
+ if (nCharsDecoded != aChars.getLength())
+ m_aBase64CharsLeft = aChars.copy(nCharsDecoded);
+}
+
+const librevenge::RVNGBinaryData& XMLBase64ImportContext::getBinaryData() const
+{
+ return m_aBinaryData;
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLBase64ImportContext.hxx b/writerperfect/source/writer/exp/XMLBase64ImportContext.hxx
new file mode 100644
index 0000000000..59558746f1
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLBase64ImportContext.hxx
@@ -0,0 +1,42 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge/RVNGBinaryData.h>
+
+#include <tools/stream.hxx>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <office:binary-data>.
+class XMLBase64ImportContext : public XMLImportContext
+{
+public:
+ XMLBase64ImportContext(XMLImport& rImport);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+
+ const librevenge::RVNGBinaryData& getBinaryData() const;
+
+private:
+ librevenge::RVNGBinaryData m_aBinaryData;
+ SvMemoryStream m_aStream;
+ OUString m_aBase64CharsLeft;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx b/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx
new file mode 100644
index 0000000000..cdc08c50b6
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLFootnoteImportContext.cxx
@@ -0,0 +1,126 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "XMLFootnoteImportContext.hxx"
+
+#include "xmlimp.hxx"
+#include "xmltext.hxx"
+
+#include <sal/log.hxx>
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Handler for <text:note-citation>.
+class XMLTextNoteCitationContext : public XMLImportContext
+{
+public:
+ XMLTextNoteCitationContext(XMLImport& rImport, librevenge::RVNGPropertyList& rProperties);
+
+ void SAL_CALL characters(const OUString& rCharacters) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ librevenge::RVNGPropertyList& m_rProperties;
+ OUString m_aCharacters;
+};
+}
+
+XMLTextNoteCitationContext::XMLTextNoteCitationContext(XMLImport& rImport,
+ librevenge::RVNGPropertyList& rProperties)
+ : XMLImportContext(rImport)
+ , m_rProperties(rProperties)
+{
+}
+
+void XMLTextNoteCitationContext::endElement(const OUString& /*rName*/)
+{
+ m_rProperties.insert("librevenge:number", m_aCharacters.toUtf8().getStr());
+}
+
+void XMLTextNoteCitationContext::characters(const OUString& rCharacters)
+{
+ m_aCharacters += rCharacters;
+}
+
+namespace
+{
+/// Handler for <text:note-body>.
+class XMLFootnoteBodyImportContext : public XMLImportContext
+{
+public:
+ XMLFootnoteBodyImportContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rProperties);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ const librevenge::RVNGPropertyList& m_rProperties;
+};
+}
+
+XMLFootnoteBodyImportContext::XMLFootnoteBodyImportContext(
+ XMLImport& rImport, const librevenge::RVNGPropertyList& rProperties)
+ : XMLImportContext(rImport)
+ , m_rProperties(rProperties)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLFootnoteBodyImportContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateTextChildContext(GetImport(), rName);
+}
+
+void XMLFootnoteBodyImportContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ GetImport().GetGenerator().openFootnote(m_rProperties);
+}
+
+void XMLFootnoteBodyImportContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeFootnote();
+}
+
+XMLFootnoteImportContext::XMLFootnoteImportContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLFootnoteImportContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "text:note-citation")
+ return new XMLTextNoteCitationContext(GetImport(), m_aProperties);
+ if (rName == "text:note-body")
+ return new XMLFootnoteBodyImportContext(GetImport(), m_aProperties);
+ SAL_WARN("writerperfect", "XMLFootnoteImportContext::CreateChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+void XMLFootnoteImportContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+}
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx b/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx
new file mode 100644
index 0000000000..50011d3885
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx
@@ -0,0 +1,40 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge/librevenge.h>
+
+#include <rtl/ref.hxx>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <text:note>.
+class XMLFootnoteImportContext : public XMLImportContext
+{
+public:
+ XMLFootnoteImportContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ librevenge::RVNGPropertyList m_aProperties;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLSectionContext.cxx b/writerperfect/source/writer/exp/XMLSectionContext.cxx
new file mode 100644
index 0000000000..839400e52a
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLSectionContext.cxx
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "XMLSectionContext.hxx"
+
+#include "xmlimp.hxx"
+#include "xmltext.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLSectionContext::XMLSectionContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLSectionContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateTextChildContext(GetImport(), rName);
+}
+
+void XMLSectionContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ GetImport().GetGenerator().openSection(librevenge::RVNGPropertyList());
+}
+
+void XMLSectionContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeSection();
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLSectionContext.hxx b/writerperfect/source/writer/exp/XMLSectionContext.hxx
new file mode 100644
index 0000000000..6a1f1e58a7
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLSectionContext.hxx
@@ -0,0 +1,33 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <text:section>.
+class XMLSectionContext : public XMLImportContext
+{
+public:
+ XMLSectionContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLTextFrameContext.cxx b/writerperfect/source/writer/exp/XMLTextFrameContext.cxx
new file mode 100644
index 0000000000..4c6ca118ef
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextFrameContext.cxx
@@ -0,0 +1,171 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "XMLTextFrameContext.hxx"
+
+#include "XMLBase64ImportContext.hxx"
+#include "txtparai.hxx"
+#include "xmlimp.hxx"
+#include "xmltext.hxx"
+
+#include <sal/log.hxx>
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Handler for <draw:text-box>.
+class XMLTextBoxContext : public XMLImportContext
+{
+public:
+ XMLTextBoxContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+};
+}
+
+XMLTextBoxContext::XMLTextBoxContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTextBoxContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateTextChildContext(GetImport(), rName);
+}
+
+void XMLTextBoxContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ GetImport().GetGenerator().openTextBox(librevenge::RVNGPropertyList());
+}
+
+void XMLTextBoxContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeTextBox();
+}
+
+namespace
+{
+/// Handler for <draw:image>.
+class XMLTextImageContext : public XMLImportContext
+{
+public:
+ XMLTextImageContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ OString m_aMimeType;
+ rtl::Reference<XMLBase64ImportContext> m_xBinaryData;
+};
+}
+
+XMLTextImageContext::XMLTextImageContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTextImageContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "office:binary-data")
+ {
+ m_xBinaryData = new XMLBase64ImportContext(GetImport());
+ return m_xBinaryData;
+ }
+ return nullptr;
+}
+
+void XMLTextImageContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ if (rAttributeName == "loext:mime-type" || rAttributeName == "draw:mime-type")
+ m_aMimeType = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ }
+}
+
+void XMLTextImageContext::endElement(const OUString& /*rName*/)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+
+ aPropertyList.insert("librevenge:mime-type", m_aMimeType.getStr());
+ if (m_xBinaryData.is())
+ aPropertyList.insert("office:binary-data", m_xBinaryData->getBinaryData());
+
+ GetImport().GetGenerator().insertBinaryObject(aPropertyList);
+}
+
+XMLTextFrameContext::XMLTextFrameContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTextFrameContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "draw:image")
+ return new XMLTextImageContext(GetImport());
+ if (rName == "draw:text-box")
+ return new XMLTextBoxContext(GetImport());
+ SAL_WARN("writerperfect", "XMLTextFrameContext::CreateChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+void XMLTextFrameContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+
+ if (rAttributeName == "draw:style-name")
+ FillStyles(rAttributeValue, GetImport().GetAutomaticGraphicStyles(),
+ GetImport().GetGraphicStyles(), aPropertyList);
+ else
+ {
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+ GetImport().GetGenerator().openFrame(aPropertyList);
+}
+
+void XMLTextFrameContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeFrame();
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLTextFrameContext.hxx b/writerperfect/source/writer/exp/XMLTextFrameContext.hxx
new file mode 100644
index 0000000000..9c58849e60
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextFrameContext.hxx
@@ -0,0 +1,38 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <rtl/ref.hxx>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+class XMLBase64ImportContext;
+
+/// Handler for <draw:frame>.
+class XMLTextFrameContext : public XMLImportContext
+{
+public:
+ XMLTextFrameContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLTextListContext.cxx b/writerperfect/source/writer/exp/XMLTextListContext.cxx
new file mode 100644
index 0000000000..8798c9a396
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextListContext.cxx
@@ -0,0 +1,33 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "XMLTextListContext.hxx"
+
+#include "XMLTextListItemContext.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLTextListContext::XMLTextListContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTextListContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "text:list-item")
+ return new XMLTextListItemContext(GetImport());
+ return nullptr;
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLTextListContext.hxx b/writerperfect/source/writer/exp/XMLTextListContext.hxx
new file mode 100644
index 0000000000..8a384d7ba2
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextListContext.hxx
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <text:list>.
+class XMLTextListContext : public XMLImportContext
+{
+public:
+ XMLTextListContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLTextListItemContext.cxx b/writerperfect/source/writer/exp/XMLTextListItemContext.cxx
new file mode 100644
index 0000000000..36f3f2ce63
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextListItemContext.cxx
@@ -0,0 +1,36 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "XMLTextListItemContext.hxx"
+
+#include "XMLTextListContext.hxx"
+#include "txtparai.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLTextListItemContext::XMLTextListItemContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTextListItemContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "text:p" || rName == "text:h")
+ return new XMLParaContext(GetImport());
+ if (rName == "text:list")
+ return new XMLTextListContext(GetImport());
+ return nullptr;
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/XMLTextListItemContext.hxx b/writerperfect/source/writer/exp/XMLTextListItemContext.hxx
new file mode 100644
index 0000000000..2f17194d45
--- /dev/null
+++ b/writerperfect/source/writer/exp/XMLTextListItemContext.hxx
@@ -0,0 +1,29 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <text:list-item>.
+class XMLTextListItemContext : public XMLImportContext
+{
+public:
+ XMLTextListItemContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/txtparai.cxx b/writerperfect/source/writer/exp/txtparai.cxx
new file mode 100644
index 0000000000..101546c39e
--- /dev/null
+++ b/writerperfect/source/writer/exp/txtparai.cxx
@@ -0,0 +1,634 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/config.h>
+
+#include "txtparai.hxx"
+
+#include <string_view>
+
+#include "XMLFootnoteImportContext.hxx"
+#include "XMLTextFrameContext.hxx"
+#include "xmlimp.hxx"
+
+#include <sal/log.hxx>
+
+using namespace com::sun::star;
+
+namespace
+{
+/// Looks for rName in rStyles and fills rPropertyList based on that
+/// (rAutomaticStyles and rNamedStyles are a list of possible parents).
+void FillStyle(const OUString& rName, std::map<OUString, librevenge::RVNGPropertyList>& rStyles,
+ std::map<OUString, librevenge::RVNGPropertyList>& rAutomaticStyles,
+ std::map<OUString, librevenge::RVNGPropertyList>& rNamedStyles,
+ librevenge::RVNGPropertyList& rPropertyList)
+{
+ auto itStyle = rStyles.find(rName);
+ if (itStyle == rStyles.end())
+ return;
+
+ const librevenge::RVNGPropertyList& rStyle = itStyle->second;
+ if (rStyle["style:parent-style-name"])
+ {
+ // The style has a parent.
+ OUString aParent = OStringToOUString(rStyle["style:parent-style-name"]->getStr().cstr(),
+ RTL_TEXTENCODING_UTF8);
+ if (!aParent.isEmpty())
+ writerperfect::exp::FillStyles(aParent, rAutomaticStyles, rNamedStyles, rPropertyList);
+ }
+
+ // Apply properties from named style.
+ librevenge::RVNGPropertyList::Iter itProp(rStyle);
+ for (itProp.rewind(); itProp.next();)
+ {
+ if (std::string_view("style:parent-style-name") != itProp.key())
+ rPropertyList.insert(itProp.key(), itProp()->clone());
+ }
+}
+}
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Handler for <text:sequence>.
+class XMLTextSequenceContext : public XMLImportContext
+{
+public:
+ XMLTextSequenceContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ librevenge::RVNGPropertyList m_aPropertyList;
+};
+}
+
+XMLTextSequenceContext::XMLTextSequenceContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLImportContext(rImport)
+{
+ // Inherit properties from parent.
+ librevenge::RVNGPropertyList::Iter itProp(rPropertyList);
+ for (itProp.rewind(); itProp.next();)
+ m_aPropertyList.insert(itProp.key(), itProp()->clone());
+}
+
+void XMLTextSequenceContext::characters(const OUString& rChars)
+{
+ GetImport().GetGenerator().openSpan(m_aPropertyList);
+
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ GetImport().GetGenerator().insertText(librevenge::RVNGString(sCharU8.getStr()));
+
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Handler for <text:span>.
+class XMLSpanContext : public XMLImportContext
+{
+public:
+ XMLSpanContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ librevenge::RVNGPropertyList m_aPropertyList;
+};
+}
+
+XMLSpanContext::XMLSpanContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLImportContext(rImport)
+{
+ // Inherit properties from parent.
+ librevenge::RVNGPropertyList::Iter itProp(rPropertyList);
+ for (itProp.rewind(); itProp.next();)
+ m_aPropertyList.insert(itProp.key(), itProp()->clone());
+}
+
+rtl::Reference<XMLImportContext> XMLSpanContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateParagraphOrSpanChildContext(GetImport(), rName, m_aPropertyList);
+}
+
+void XMLSpanContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "text:style-name")
+ FillStyles(rAttributeValue, GetImport().GetAutomaticTextStyles(),
+ GetImport().GetTextStyles(), m_aPropertyList);
+ else
+ {
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ m_aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+}
+
+void XMLSpanContext::characters(const OUString& rChars)
+{
+ GetImport().GetGenerator().openSpan(m_aPropertyList);
+
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ GetImport().GetGenerator().insertText(librevenge::RVNGString(sCharU8.getStr()));
+
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Handler for <text:ruby>.
+class XMLRubyContext : public XMLImportContext
+{
+public:
+ XMLRubyContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL endElement(const OUString& rName) override;
+
+ void SetRubyText(const OUString& rRubyText) { m_sRubyText = rRubyText; }
+
+ OUString& GetRubyBase() { return m_sRubyBase; }
+
+private:
+ OUString m_sRubyText;
+ OUString m_sRubyBase;
+ librevenge::RVNGPropertyList m_aPropertyList;
+};
+
+/// Handler for <text:ruby-text>.
+class XMLRubyTextContext : public XMLImportContext
+{
+public:
+ XMLRubyTextContext(XMLImport& rImport, XMLRubyContext& rParent)
+ : XMLImportContext(rImport)
+ , m_rParent(rParent)
+ {
+ }
+
+ void SAL_CALL characters(const OUString& rChars) override { m_rParent.SetRubyText(rChars); }
+
+private:
+ XMLRubyContext& m_rParent;
+};
+
+/// Handler for <text:ruby-base>.
+class XMLRubyBaseContext : public XMLImportContext
+{
+public:
+ XMLRubyBaseContext(XMLImport& rImport, XMLRubyContext& rParent)
+ : XMLImportContext(rImport)
+ , m_rParent(rParent)
+ {
+ }
+
+ void SAL_CALL characters(const OUString& rChars) override { m_rParent.GetRubyBase() += rChars; }
+
+private:
+ XMLRubyContext& m_rParent;
+};
+}
+
+XMLRubyContext::XMLRubyContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLImportContext(rImport)
+{
+ // Inherit properties from parent.
+ librevenge::RVNGPropertyList::Iter itProp(rPropertyList);
+ for (itProp.rewind(); itProp.next();)
+ m_aPropertyList.insert(itProp.key(), itProp()->clone());
+}
+
+rtl::Reference<XMLImportContext> XMLRubyContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "text:ruby-base")
+ return new XMLRubyBaseContext(GetImport(), *this);
+ if (rName == "text:ruby-text")
+ return new XMLRubyTextContext(GetImport(), *this);
+ return nullptr;
+}
+
+void XMLRubyContext::endElement(const OUString& /*rName*/)
+{
+ OString sRubyText = OUStringToOString(m_sRubyText, RTL_TEXTENCODING_UTF8);
+ OString sRubyBase = OUStringToOString(m_sRubyBase, RTL_TEXTENCODING_UTF8);
+ if (sRubyText.getLength())
+ m_aPropertyList.insert("text:ruby-text", sRubyText.getStr());
+ GetImport().GetGenerator().openSpan(m_aPropertyList);
+ GetImport().GetGenerator().insertText(sRubyBase.getStr());
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Base class for contexts that represent a single character only.
+class XMLCharContext : public XMLImportContext
+{
+public:
+ XMLCharContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ const librevenge::RVNGPropertyList& GetPropertyList() const { return m_aPropertyList; }
+
+private:
+ librevenge::RVNGPropertyList m_aPropertyList;
+};
+}
+
+XMLCharContext::XMLCharContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLImportContext(rImport)
+{
+ // Inherit properties from parent.
+ librevenge::RVNGPropertyList::Iter itProp(rPropertyList);
+ for (itProp.rewind(); itProp.next();)
+ m_aPropertyList.insert(itProp.key(), itProp()->clone());
+}
+
+namespace
+{
+/// Handler for <text:line-break>.
+class XMLLineBreakContext : public XMLCharContext
+{
+public:
+ XMLLineBreakContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+};
+}
+
+XMLLineBreakContext::XMLLineBreakContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLCharContext(rImport, rPropertyList)
+{
+}
+
+void XMLLineBreakContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ GetImport().GetGenerator().openSpan(GetPropertyList());
+ GetImport().GetGenerator().insertLineBreak();
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Handler for <text:s>.
+class XMLSpaceContext : public XMLCharContext
+{
+public:
+ XMLSpaceContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+};
+}
+
+XMLSpaceContext::XMLSpaceContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLCharContext(rImport, rPropertyList)
+{
+}
+
+void XMLSpaceContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ GetImport().GetGenerator().openSpan(GetPropertyList());
+ GetImport().GetGenerator().insertSpace();
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Handler for <text:tab>.
+class XMLTabContext : public XMLCharContext
+{
+public:
+ XMLTabContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+};
+}
+
+XMLTabContext::XMLTabContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLCharContext(rImport, rPropertyList)
+{
+}
+
+void XMLTabContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ GetImport().GetGenerator().openSpan(GetPropertyList());
+ GetImport().GetGenerator().insertTab();
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Handler for <draw:a>.
+class XMLTextFrameHyperlinkContext : public XMLImportContext
+{
+public:
+ XMLTextFrameHyperlinkContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList);
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ librevenge::RVNGPropertyList m_aPropertyList;
+ PopupState m_ePopupState = PopupState::NONE;
+};
+}
+
+XMLTextFrameHyperlinkContext::XMLTextFrameHyperlinkContext(
+ XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLImportContext(rImport)
+{
+ // Inherit properties from parent.
+ librevenge::RVNGPropertyList::Iter itProp(rPropertyList);
+ for (itProp.rewind(); itProp.next();)
+ m_aPropertyList.insert(itProp.key(), itProp()->clone());
+}
+
+rtl::Reference<XMLImportContext> XMLTextFrameHyperlinkContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateParagraphOrSpanChildContext(GetImport(), rName, m_aPropertyList);
+}
+
+void XMLTextFrameHyperlinkContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "text:style-name")
+ // This affects the nested span's properties.
+ FillStyles(rAttributeValue, GetImport().GetAutomaticTextStyles(),
+ GetImport().GetTextStyles(), m_aPropertyList);
+ else
+ {
+ if (rAttributeName == "xlink:href")
+ {
+ m_ePopupState = GetImport().FillPopupData(rAttributeValue, aPropertyList);
+ if (m_ePopupState != PopupState::NotConsumed)
+ continue;
+ }
+
+ // This affects the link's properties.
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+
+ if (m_ePopupState != PopupState::Ignore)
+ GetImport().GetGenerator().openLink(aPropertyList);
+}
+
+void XMLTextFrameHyperlinkContext::endElement(const OUString& /*rName*/)
+{
+ if (m_ePopupState != PopupState::Ignore)
+ GetImport().GetGenerator().closeLink();
+}
+
+void XMLTextFrameHyperlinkContext::characters(const OUString& rChars)
+{
+ GetImport().GetGenerator().openSpan(m_aPropertyList);
+
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ GetImport().GetGenerator().insertText(librevenge::RVNGString(sCharU8.getStr()));
+
+ GetImport().GetGenerator().closeSpan();
+}
+
+namespace
+{
+/// Handler for <text:a>.
+class XMLHyperlinkContext : public XMLImportContext
+{
+public:
+ XMLHyperlinkContext(XMLImport& rImport, const librevenge::RVNGPropertyList& rPropertyList);
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ librevenge::RVNGPropertyList m_aPropertyList;
+ PopupState m_ePopupState = PopupState::NONE;
+};
+}
+
+XMLHyperlinkContext::XMLHyperlinkContext(XMLImport& rImport,
+ const librevenge::RVNGPropertyList& rPropertyList)
+ : XMLImportContext(rImport)
+{
+ // Inherit properties from parent.
+ librevenge::RVNGPropertyList::Iter itProp(rPropertyList);
+ for (itProp.rewind(); itProp.next();)
+ m_aPropertyList.insert(itProp.key(), itProp()->clone());
+}
+
+rtl::Reference<XMLImportContext> XMLHyperlinkContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateParagraphOrSpanChildContext(GetImport(), rName, m_aPropertyList);
+}
+
+void XMLHyperlinkContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "text:style-name")
+ // This affects the nested span's properties.
+ FillStyles(rAttributeValue, GetImport().GetAutomaticTextStyles(),
+ GetImport().GetTextStyles(), m_aPropertyList);
+ else
+ {
+ if (rAttributeName == "xlink:href")
+ {
+ m_ePopupState = GetImport().FillPopupData(rAttributeValue, aPropertyList);
+ if (m_ePopupState != PopupState::NotConsumed)
+ continue;
+ }
+
+ // This affects the link's properties.
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+
+ if (m_ePopupState != PopupState::Ignore)
+ GetImport().GetGenerator().openLink(aPropertyList);
+}
+
+void XMLHyperlinkContext::endElement(const OUString& /*rName*/)
+{
+ if (m_ePopupState != PopupState::Ignore)
+ GetImport().GetGenerator().closeLink();
+}
+
+void XMLHyperlinkContext::characters(const OUString& rChars)
+{
+ GetImport().GetGenerator().openSpan(m_aPropertyList);
+
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ GetImport().GetGenerator().insertText(librevenge::RVNGString(sCharU8.getStr()));
+
+ GetImport().GetGenerator().closeSpan();
+}
+
+XMLParaContext::XMLParaContext(XMLImport& rImport, bool bTopLevel)
+ : XMLImportContext(rImport)
+ , m_bTopLevel(bTopLevel)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLParaContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "text:a")
+ return new XMLHyperlinkContext(GetImport(), m_aTextPropertyList);
+ if (rName == "draw:a")
+ return new XMLTextFrameHyperlinkContext(GetImport(), m_aTextPropertyList);
+ if (rName == "text:ruby")
+ return new XMLRubyContext(GetImport(), m_aTextPropertyList);
+ return CreateParagraphOrSpanChildContext(GetImport(), rName, m_aTextPropertyList);
+}
+
+void XMLParaContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "text:style-name")
+ {
+ m_aStyleName = rAttributeValue;
+ FillStyles(m_aStyleName, GetImport().GetAutomaticParagraphStyles(),
+ GetImport().GetParagraphStyles(), aPropertyList);
+ FillStyles(m_aStyleName, GetImport().GetAutomaticTextStyles(),
+ GetImport().GetTextStyles(), m_aTextPropertyList);
+ if (m_bTopLevel)
+ GetImport().HandlePageSpan(aPropertyList);
+ }
+ else
+ {
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+
+ GetImport().GetGenerator().openParagraph(aPropertyList);
+}
+
+void XMLParaContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeParagraph();
+}
+
+void XMLParaContext::characters(const OUString& rChars)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ if (!m_aStyleName.isEmpty())
+ FillStyles(m_aStyleName, GetImport().GetAutomaticTextStyles(), GetImport().GetTextStyles(),
+ aPropertyList);
+ GetImport().GetGenerator().openSpan(aPropertyList);
+
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ GetImport().GetGenerator().insertText(librevenge::RVNGString(sCharU8.getStr()));
+
+ GetImport().GetGenerator().closeSpan();
+}
+
+rtl::Reference<XMLImportContext>
+CreateParagraphOrSpanChildContext(XMLImport& rImport, const OUString& rName,
+ const librevenge::RVNGPropertyList& rTextPropertyList)
+{
+ if (rName == "text:span")
+ return new XMLSpanContext(rImport, rTextPropertyList);
+ if (rName == "text:line-break")
+ return new XMLLineBreakContext(rImport, rTextPropertyList);
+ if (rName == "text:s")
+ return new XMLSpaceContext(rImport, rTextPropertyList);
+ if (rName == "text:tab")
+ return new XMLTabContext(rImport, rTextPropertyList);
+ if (rName == "draw:frame")
+ return new XMLTextFrameContext(rImport);
+ if (rName == "text:sequence")
+ return new XMLTextSequenceContext(rImport, rTextPropertyList);
+ if (rName == "text:note")
+ return new XMLFootnoteImportContext(rImport);
+ SAL_WARN("writerperfect", "CreateParagraphOrSpanChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+void FillStyles(const OUString& rName,
+ std::map<OUString, librevenge::RVNGPropertyList>& rAutomaticStyles,
+ std::map<OUString, librevenge::RVNGPropertyList>& rNamedStyles,
+ librevenge::RVNGPropertyList& rPropertyList)
+{
+ FillStyle(rName, rAutomaticStyles, rAutomaticStyles, rNamedStyles, rPropertyList);
+ FillStyle(rName, rNamedStyles, rAutomaticStyles, rNamedStyles, rPropertyList);
+}
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/txtparai.hxx b/writerperfect/source/writer/exp/txtparai.hxx
new file mode 100644
index 0000000000..e759dc8f5c
--- /dev/null
+++ b/writerperfect/source/writer/exp/txtparai.hxx
@@ -0,0 +1,59 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <map>
+
+#include <librevenge/librevenge.h>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <text:p>/<text:h>.
+class XMLParaContext : public XMLImportContext
+{
+public:
+ XMLParaContext(XMLImport& rImport, bool bTopLevel = false);
+
+ rtl::Reference<XMLImportContext> CreateChildContext(
+ const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ OUString m_aStyleName;
+ /// List of properties spans should inherit from this paragraph.
+ librevenge::RVNGPropertyList m_aTextPropertyList;
+ /// If the context is a direct child of XMLBodyContentContext.
+ /// Only direct child of XMLBodyContentContext has to handle page span.
+ bool m_bTopLevel;
+};
+
+/// Shared child context factory for paragraph and span contexts.
+rtl::Reference<XMLImportContext>
+CreateParagraphOrSpanChildContext(XMLImport& rImport, const OUString& rName,
+ const librevenge::RVNGPropertyList& rTextPropertyList);
+
+/// Looks for rName in rAutomaticStyles (and failing that, in rNamedStyles) and
+/// fills rPropertyList based on that.
+void FillStyles(const OUString& rName,
+ std::map<OUString, librevenge::RVNGPropertyList>& rAutomaticStyles,
+ std::map<OUString, librevenge::RVNGPropertyList>& rNamedStyles,
+ librevenge::RVNGPropertyList& rPropertyList);
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/txtstyli.cxx b/writerperfect/source/writer/exp/txtstyli.cxx
new file mode 100644
index 0000000000..53ac4b4e52
--- /dev/null
+++ b/writerperfect/source/writer/exp/txtstyli.cxx
@@ -0,0 +1,415 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "txtstyli.hxx"
+
+#include "xmlfmt.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Handler for <style:paragraph-properties>.
+class XMLParagraphPropertiesContext : public XMLImportContext
+{
+public:
+ XMLParagraphPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLParagraphPropertiesContext::XMLParagraphPropertiesContext(XMLImport& rImport,
+ XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLParagraphPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ mrStyle.GetParagraphPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:text-properties>.
+class XMLTextPropertiesContext : public XMLImportContext
+{
+public:
+ XMLTextPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLTextPropertiesContext::XMLTextPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLTextPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ mrStyle.GetTextPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:graphic-properties>.
+class XMLGraphicPropertiesContext : public XMLImportContext
+{
+public:
+ XMLGraphicPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLGraphicPropertiesContext::XMLGraphicPropertiesContext(XMLImport& rImport,
+ XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLGraphicPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ mrStyle.GetGraphicPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:page-layout-properties>.
+class XMLPageLayoutPropertiesContext : public XMLImportContext
+{
+public:
+ XMLPageLayoutPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLPageLayoutPropertiesContext::XMLPageLayoutPropertiesContext(XMLImport& rImport,
+ XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLPageLayoutPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ // We only care about writing-mode for now.
+ if (sName != "style:writing-mode")
+ continue;
+
+ mrStyle.GetPageLayoutPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:table-properties>.
+class XMLTablePropertiesContext : public XMLImportContext
+{
+public:
+ XMLTablePropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLTablePropertiesContext::XMLTablePropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLTablePropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ if (sName == "style:rel-width")
+ // Make sure this is passed through as a string, and not parsed as a double.
+ mrStyle.GetTablePropertyList().insert(
+ sName.getStr(), librevenge::RVNGPropertyFactory::newStringProp(sValue.getStr()));
+ else
+ mrStyle.GetTablePropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:table-row-properties>.
+class XMLTableRowPropertiesContext : public XMLImportContext
+{
+public:
+ XMLTableRowPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLTableRowPropertiesContext::XMLTableRowPropertiesContext(XMLImport& rImport,
+ XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLTableRowPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ mrStyle.GetRowPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:table-column-properties>.
+class XMLTableColumnPropertiesContext : public XMLImportContext
+{
+public:
+ XMLTableColumnPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLTableColumnPropertiesContext::XMLTableColumnPropertiesContext(XMLImport& rImport,
+ XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLTableColumnPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ mrStyle.GetColumnPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+namespace
+{
+/// Handler for <style:table-cell-properties>.
+class XMLTableCellPropertiesContext : public XMLImportContext
+{
+public:
+ XMLTableCellPropertiesContext(XMLImport& rImport, XMLStyleContext& rStyle);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLStyleContext& mrStyle;
+};
+}
+
+XMLTableCellPropertiesContext::XMLTableCellPropertiesContext(XMLImport& rImport,
+ XMLStyleContext& rStyle)
+ : XMLImportContext(rImport)
+ , mrStyle(rStyle)
+{
+}
+
+void XMLTableCellPropertiesContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ OString sName = OUStringToOString(xAttribs->getNameByIndex(i), RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(xAttribs->getValueByIndex(i), RTL_TEXTENCODING_UTF8);
+ mrStyle.GetCellPropertyList().insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+XMLStyleContext::XMLStyleContext(XMLImport& rImport, XMLStylesContext& rStyles)
+ : XMLImportContext(rImport)
+ , m_rStyles(rStyles)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLStyleContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "style:paragraph-properties")
+ return new XMLParagraphPropertiesContext(GetImport(), *this);
+ if (rName == "style:text-properties")
+ return new XMLTextPropertiesContext(GetImport(), *this);
+ if (rName == "style:table-cell-properties")
+ return new XMLTableCellPropertiesContext(GetImport(), *this);
+ if (rName == "style:table-column-properties")
+ return new XMLTableColumnPropertiesContext(GetImport(), *this);
+ if (rName == "style:table-row-properties")
+ return new XMLTableRowPropertiesContext(GetImport(), *this);
+ if (rName == "style:table-properties")
+ return new XMLTablePropertiesContext(GetImport(), *this);
+ if (rName == "style:graphic-properties")
+ return new XMLGraphicPropertiesContext(GetImport(), *this);
+ if (rName == "style:page-layout-properties")
+ return new XMLPageLayoutPropertiesContext(GetImport(), *this);
+ return nullptr;
+}
+
+void XMLStyleContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "style:name")
+ m_aName = rAttributeValue;
+ else if (rAttributeName == "style:family")
+ m_aFamily = rAttributeValue;
+
+ // Remember properties of the style itself, e.g. parent name.
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ m_aTextPropertyList.insert(sName.getStr(), sValue.getStr());
+ m_aParagraphPropertyList.insert(sName.getStr(), sValue.getStr());
+ m_aGraphicPropertyList.insert(sName.getStr(), sValue.getStr());
+ m_aPageLayoutPropertyList.insert(sName.getStr(), sValue.getStr());
+ m_aMasterPagePropertyList.insert(sName.getStr(), sValue.getStr());
+ m_aTablePropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+}
+
+void XMLStyleContext::endElement(const OUString& rName)
+{
+ if (m_aName.isEmpty())
+ return;
+
+ if (m_aFamily == "text" || m_aFamily == "paragraph")
+ m_rStyles.GetCurrentTextStyles()[m_aName] = m_aTextPropertyList;
+ if (m_aFamily == "paragraph")
+ m_rStyles.GetCurrentParagraphStyles()[m_aName] = m_aParagraphPropertyList;
+ else if (m_aFamily == "table-cell")
+ m_rStyles.GetCurrentCellStyles()[m_aName] = m_aCellPropertyList;
+ else if (m_aFamily == "table-column")
+ m_rStyles.GetCurrentColumnStyles()[m_aName] = m_aColumnPropertyList;
+ else if (m_aFamily == "table-row")
+ m_rStyles.GetCurrentRowStyles()[m_aName] = m_aRowPropertyList;
+ else if (m_aFamily == "table")
+ m_rStyles.GetCurrentTableStyles()[m_aName] = m_aTablePropertyList;
+ else if (m_aFamily == "graphic")
+ m_rStyles.GetCurrentGraphicStyles()[m_aName] = m_aGraphicPropertyList;
+ else if (rName == "style:page-layout")
+ m_rStyles.GetCurrentPageLayouts()[m_aName] = m_aPageLayoutPropertyList;
+ else if (rName == "style:master-page")
+ m_rStyles.GetCurrentMasterStyles()[m_aName] = m_aMasterPagePropertyList;
+}
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetTextPropertyList() { return m_aTextPropertyList; }
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetParagraphPropertyList()
+{
+ return m_aParagraphPropertyList;
+}
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetCellPropertyList() { return m_aCellPropertyList; }
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetColumnPropertyList()
+{
+ return m_aColumnPropertyList;
+}
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetRowPropertyList() { return m_aRowPropertyList; }
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetTablePropertyList()
+{
+ return m_aTablePropertyList;
+}
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetGraphicPropertyList()
+{
+ return m_aGraphicPropertyList;
+}
+
+librevenge::RVNGPropertyList& XMLStyleContext::GetPageLayoutPropertyList()
+{
+ return m_aPageLayoutPropertyList;
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/txtstyli.hxx b/writerperfect/source/writer/exp/txtstyli.hxx
new file mode 100644
index 0000000000..9247619bca
--- /dev/null
+++ b/writerperfect/source/writer/exp/txtstyli.hxx
@@ -0,0 +1,60 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge/librevenge.h>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+class XMLStylesContext;
+
+/// Handler for <style:style>.
+class XMLStyleContext : public XMLImportContext
+{
+public:
+ XMLStyleContext(XMLImport& rImport, XMLStylesContext& rStyles);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+ librevenge::RVNGPropertyList& GetTextPropertyList();
+ librevenge::RVNGPropertyList& GetParagraphPropertyList();
+ librevenge::RVNGPropertyList& GetCellPropertyList();
+ librevenge::RVNGPropertyList& GetColumnPropertyList();
+ librevenge::RVNGPropertyList& GetRowPropertyList();
+ librevenge::RVNGPropertyList& GetTablePropertyList();
+ librevenge::RVNGPropertyList& GetGraphicPropertyList();
+ librevenge::RVNGPropertyList& GetPageLayoutPropertyList();
+
+private:
+ OUString m_aName;
+ OUString m_aFamily;
+ librevenge::RVNGPropertyList m_aTextPropertyList;
+ librevenge::RVNGPropertyList m_aParagraphPropertyList;
+ librevenge::RVNGPropertyList m_aCellPropertyList;
+ librevenge::RVNGPropertyList m_aColumnPropertyList;
+ librevenge::RVNGPropertyList m_aRowPropertyList;
+ librevenge::RVNGPropertyList m_aTablePropertyList;
+ librevenge::RVNGPropertyList m_aGraphicPropertyList;
+ librevenge::RVNGPropertyList m_aPageLayoutPropertyList;
+ librevenge::RVNGPropertyList m_aMasterPagePropertyList;
+ XMLStylesContext& m_rStyles;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlfmt.cxx b/writerperfect/source/writer/exp/xmlfmt.cxx
new file mode 100644
index 0000000000..4ac70b85a3
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlfmt.cxx
@@ -0,0 +1,295 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "xmlfmt.hxx"
+
+#include "XMLBase64ImportContext.hxx"
+#include "txtstyli.hxx"
+#include "xmlimp.hxx"
+
+#include <sal/log.hxx>
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLStylesContext::XMLStylesContext(XMLImport& rImport, StyleType eType)
+ : XMLImportContext(rImport)
+ , m_rParagraphStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticParagraphStyles()
+ : GetImport().GetParagraphStyles())
+ , m_rTextStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticTextStyles()
+ : GetImport().GetTextStyles())
+ , m_rCellStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticCellStyles()
+ : GetImport().GetCellStyles())
+ , m_rColumnStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticColumnStyles()
+ : GetImport().GetColumnStyles())
+ , m_rRowStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticRowStyles()
+ : GetImport().GetRowStyles())
+ , m_rTableStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticTableStyles()
+ : GetImport().GetTableStyles())
+ , m_rGraphicStyles(eType == StyleType_AUTOMATIC ? GetImport().GetAutomaticGraphicStyles()
+ : GetImport().GetGraphicStyles())
+ , m_rPageLayouts(GetImport().GetPageLayouts())
+ , m_rMasterStyles(GetImport().GetMasterStyles())
+{
+}
+
+rtl::Reference<XMLImportContext> XMLStylesContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "style:style" || rName == "style:page-layout" || rName == "style:master-page")
+ return new XMLStyleContext(GetImport(), *this);
+ return nullptr;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentParagraphStyles()
+{
+ return m_rParagraphStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentTextStyles()
+{
+ return m_rTextStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentCellStyles()
+{
+ return m_rCellStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentColumnStyles()
+{
+ return m_rColumnStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentRowStyles()
+{
+ return m_rRowStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentTableStyles()
+{
+ return m_rTableStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentGraphicStyles()
+{
+ return m_rGraphicStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentPageLayouts()
+{
+ return m_rPageLayouts;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLStylesContext::GetCurrentMasterStyles()
+{
+ return m_rMasterStyles;
+}
+
+namespace
+{
+/// Handler for <style:font-face>.
+class XMLFontFaceContext : public XMLImportContext
+{
+public:
+ XMLFontFaceContext(XMLImport& rImport);
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ OUString const& GetName() const { return maName; }
+
+private:
+ OUString maName;
+};
+
+/// Handler for <svg:font-face-src>.
+class XMLFontFaceSrcContext : public XMLImportContext
+{
+public:
+ XMLFontFaceSrcContext(XMLImport& rImport, XMLFontFaceContext& rFontFace);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLFontFaceContext& mrFontFace;
+};
+
+/// Handler for <svg:font-face-uri>.
+class XMLFontFaceUriContext : public XMLImportContext
+{
+public:
+ XMLFontFaceUriContext(XMLImport& rImport, XMLFontFaceContext const& rFontFace);
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ librevenge::RVNGPropertyList& GetPropertyList() { return maPropertyList; }
+
+private:
+ librevenge::RVNGPropertyList maPropertyList;
+ rtl::Reference<XMLBase64ImportContext> mxBinaryData;
+};
+
+/// Handler for <svg:font-face-format>.
+class XMLFontFaceFormatContext : public XMLImportContext
+{
+public:
+ XMLFontFaceFormatContext(XMLImport& rImport, XMLFontFaceUriContext& rFontFaceUri);
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ XMLFontFaceUriContext& mrFontFaceUri;
+};
+}
+
+XMLFontFaceFormatContext::XMLFontFaceFormatContext(XMLImport& rImport,
+ XMLFontFaceUriContext& rFontFaceUri)
+ : XMLImportContext(rImport)
+ , mrFontFaceUri(rFontFaceUri)
+{
+}
+
+void XMLFontFaceFormatContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "svg:string")
+ {
+ OString aAttributeValueU8 = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ mrFontFaceUri.GetPropertyList().insert("librevenge:mime-type",
+ aAttributeValueU8.getStr());
+ }
+ }
+}
+
+XMLFontFaceUriContext::XMLFontFaceUriContext(XMLImport& rImport,
+ XMLFontFaceContext const& rFontFace)
+ : XMLImportContext(rImport)
+{
+ OString aNameU8 = OUStringToOString(rFontFace.GetName(), RTL_TEXTENCODING_UTF8);
+ maPropertyList.insert("librevenge:name", aNameU8.getStr());
+}
+
+void XMLFontFaceUriContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "loext:font-style")
+ {
+ OString aAttributeValueU8 = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ maPropertyList.insert("librevenge:font-style", aAttributeValueU8.getStr());
+ }
+ else if (rAttributeName == "loext:font-weight")
+ {
+ OString aAttributeValueU8 = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ maPropertyList.insert("librevenge:font-weight", aAttributeValueU8.getStr());
+ }
+ }
+}
+
+void XMLFontFaceUriContext::endElement(const OUString& /*rName*/)
+{
+ if (mxBinaryData.is())
+ maPropertyList.insert("office:binary-data", mxBinaryData->getBinaryData());
+ GetImport().GetGenerator().defineEmbeddedFont(maPropertyList);
+}
+
+rtl::Reference<XMLImportContext> XMLFontFaceUriContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "office:binary-data")
+ {
+ mxBinaryData = new XMLBase64ImportContext(GetImport());
+ return mxBinaryData;
+ }
+ if (rName == "svg:font-face-format")
+ return new XMLFontFaceFormatContext(GetImport(), *this);
+
+ SAL_WARN("writerperfect", "XMLFontFaceUriContext::CreateChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+XMLFontFaceSrcContext::XMLFontFaceSrcContext(XMLImport& rImport, XMLFontFaceContext& rFontFace)
+ : XMLImportContext(rImport)
+ , mrFontFace(rFontFace)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLFontFaceSrcContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "svg:font-face-uri")
+ return new XMLFontFaceUriContext(GetImport(), mrFontFace);
+ SAL_WARN("writerperfect", "XMLFontFaceSrcContext::CreateChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+XMLFontFaceContext::XMLFontFaceContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+void XMLFontFaceContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+ if (rAttributeName == "style:name")
+ maName = rAttributeValue;
+ }
+}
+
+rtl::Reference<XMLImportContext> XMLFontFaceContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "svg:font-face-src")
+ return new XMLFontFaceSrcContext(GetImport(), *this);
+ SAL_WARN("writerperfect", "XMLFontFaceContext::CreateChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+XMLFontFaceDeclsContext::XMLFontFaceDeclsContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLFontFaceDeclsContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "style:font-face")
+ return new XMLFontFaceContext(GetImport());
+ return nullptr;
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlfmt.hxx b/writerperfect/source/writer/exp/xmlfmt.hxx
new file mode 100644
index 0000000000..22849be7e5
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlfmt.hxx
@@ -0,0 +1,73 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <map>
+
+#include "xmlictxt.hxx"
+
+namespace librevenge
+{
+class RVNGPropertyList;
+}
+
+namespace writerperfect::exp
+{
+/// Handler for <office:automatic-styles>/<office:styles>.
+class XMLStylesContext : public XMLImportContext
+{
+public:
+ enum StyleType
+ {
+ StyleType_NONE,
+ StyleType_AUTOMATIC
+ };
+ XMLStylesContext(XMLImport& rImport, StyleType eType);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentParagraphStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentTextStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentCellStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentColumnStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentRowStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentTableStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentGraphicStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentPageLayouts();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCurrentMasterStyles();
+
+private:
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rParagraphStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rTextStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rCellStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rColumnStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rRowStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rTableStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rGraphicStyles;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rPageLayouts;
+ std::map<OUString, librevenge::RVNGPropertyList>& m_rMasterStyles;
+};
+
+/// Handler for <office:font-face-decls>.
+class XMLFontFaceDeclsContext : public XMLImportContext
+{
+public:
+ XMLFontFaceDeclsContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlictxt.cxx b/writerperfect/source/writer/exp/xmlictxt.cxx
new file mode 100644
index 0000000000..ebfe58402f
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlictxt.cxx
@@ -0,0 +1,56 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "xmlictxt.hxx"
+
+#include "xmlimp.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLImportContext::XMLImportContext(XMLImport& rImport)
+ : mrImport(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLImportContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ return mrImport.CreateContext(rName, xAttribs);
+}
+
+void XMLImportContext::startDocument() {}
+
+void XMLImportContext::endDocument() {}
+
+void XMLImportContext::startElement(
+ const OUString& /*rName*/,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+}
+
+void XMLImportContext::endElement(const OUString& /*rName*/) {}
+
+void XMLImportContext::characters(const OUString& /*rChars*/) {}
+
+void XMLImportContext::ignorableWhitespace(const OUString& /*rWhitespaces*/) {}
+
+void XMLImportContext::processingInstruction(const OUString& /*rTarget*/, const OUString& /*rData*/)
+{
+}
+
+void XMLImportContext::setDocumentLocator(
+ const css::uno::Reference<css::xml::sax::XLocator>& /*xLocator*/)
+{
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlictxt.hxx b/writerperfect/source/writer/exp/xmlictxt.hxx
new file mode 100644
index 0000000000..dc05449d35
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlictxt.hxx
@@ -0,0 +1,51 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+
+#include <cppuhelper/implbase.hxx>
+#include <rtl/ref.hxx>
+
+namespace writerperfect::exp
+{
+class XMLImport;
+
+/// Base class for a handler of a single XML element during ODF -> librevenge conversion.
+class XMLImportContext : public cppu::WeakImplHelper<css::xml::sax::XDocumentHandler>
+{
+public:
+ XMLImportContext(XMLImport& rImport);
+ XMLImport& GetImport() { return mrImport; }
+
+ virtual rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs);
+
+ // XDocumentHandler
+ void SAL_CALL startDocument() override;
+ void SAL_CALL endDocument() override;
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+ void SAL_CALL ignorableWhitespace(const OUString& rWhitespaces) override;
+ void SAL_CALL processingInstruction(const OUString& rTarget, const OUString& rData) override;
+ void SAL_CALL
+ setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator>& xLocator) override;
+
+private:
+ XMLImport& mrImport;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlimp.cxx b/writerperfect/source/writer/exp/xmlimp.cxx
new file mode 100644
index 0000000000..3790a4318a
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlimp.cxx
@@ -0,0 +1,621 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/config.h>
+
+#include "xmlimp.hxx"
+
+#include <string_view>
+
+#include <initializer_list>
+#include <unordered_map>
+
+#include <com/sun/star/svg/XSVGWriter.hpp>
+#include <com/sun/star/uri/UriReferenceFactory.hpp>
+#include <com/sun/star/xml/sax/InputSource.hpp>
+#include <com/sun/star/xml/sax/Parser.hpp>
+#include <com/sun/star/xml/sax/Writer.hpp>
+#include <comphelper/propertyvalue.hxx>
+#include <rtl/uri.hxx>
+#include <tools/gen.hxx>
+#include <tools/stream.hxx>
+#include <tools/urlobj.hxx>
+#include <unotools/streamwrap.hxx>
+#include <comphelper/diagnose_ex.hxx>
+
+#include "xmlfmt.hxx"
+#include "xmlictxt.hxx"
+#include "xmlmetai.hxx"
+#include "xmltext.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Looks up mime type for a given image extension.
+OUString GetMimeType(const OUString& rExtension)
+{
+ static const std::unordered_map<OUString, OUString> vMimeTypes = {
+ { "gif", "image/gif" },
+ { "jpg", "image/jpeg" },
+ { "png", "image/png" },
+ { "svg", "image/svg+xml" },
+ };
+
+ auto it = vMimeTypes.find(rExtension);
+ return it == vMimeTypes.end() ? OUString() : it->second;
+}
+
+/// Determines the base directory for cover images, XMP metadata, popup images.
+OUString FindMediaDir(const OUString& rDocumentBaseURL,
+ const uno::Sequence<beans::PropertyValue>& rFilterData)
+{
+ OUString aMediaDir;
+
+ // See if filter data contains a media directory explicitly.
+ auto pProp = std::find_if(
+ rFilterData.begin(), rFilterData.end(),
+ [](const beans::PropertyValue& rProp) { return rProp.Name == "RVNGMediaDir"; });
+ if (pProp != rFilterData.end())
+ pProp->Value >>= aMediaDir;
+
+ if (!aMediaDir.isEmpty())
+ return aMediaDir + "/";
+
+ // Not set explicitly, try to pick it up from the base directory.
+ INetURLObject aURL(rDocumentBaseURL);
+ try
+ {
+ aMediaDir = rtl::Uri::convertRelToAbs(rDocumentBaseURL, aURL.GetBase()) + "/";
+ }
+ catch (const rtl::MalformedUriException&)
+ {
+ DBG_UNHANDLED_EXCEPTION("writerperfect");
+ }
+ return aMediaDir;
+}
+
+/// Picks up a cover image from the base directory.
+OUString FindCoverImage(const OUString& rDocumentBaseURL, OUString& rMimeType,
+ const uno::Sequence<beans::PropertyValue>& rFilterData)
+{
+ OUString aRet;
+
+ // See if filter data contains a cover image explicitly.
+ auto pProp = std::find_if(
+ rFilterData.begin(), rFilterData.end(),
+ [](const beans::PropertyValue& rProp) { return rProp.Name == "RVNGCoverImage"; });
+ if (pProp != rFilterData.end())
+ pProp->Value >>= aRet;
+
+ if (!aRet.isEmpty())
+ {
+ INetURLObject aRetURL(aRet);
+ rMimeType = GetMimeType(aRetURL.GetFileExtension());
+ return aRet;
+ }
+
+ // Not set explicitly, try to pick it up from the base directory.
+ if (rDocumentBaseURL.isEmpty())
+ return aRet;
+
+ static const std::initializer_list<std::u16string_view> vExtensions
+ = { u"gif", u"jpg", u"png", u"svg" };
+
+ OUString aMediaDir = FindMediaDir(rDocumentBaseURL, rFilterData);
+ for (const auto& rExtension : vExtensions)
+ {
+ aRet = aMediaDir + "cover." + rExtension;
+ if (!aRet.isEmpty())
+ {
+ SvFileStream aStream(aRet, StreamMode::READ);
+ if (aStream.IsOpen())
+ {
+ rMimeType = GetMimeType(OUString(rExtension));
+ // File exists.
+ return aRet;
+ }
+
+ aRet.clear();
+ }
+ }
+
+ return aRet;
+}
+
+/// Picks up XMP metadata from the base directory.
+void FindXMPMetadata(const uno::Reference<uno::XComponentContext>& xContext,
+ const OUString& rDocumentBaseURL,
+ const uno::Sequence<beans::PropertyValue>& rFilterData,
+ librevenge::RVNGPropertyList& rMetaData)
+{
+ // See if filter data contains metadata explicitly.
+ OUString aValue;
+ for (const auto& rProp : rFilterData)
+ {
+ if (rProp.Name == "RVNGIdentifier")
+ {
+ rProp.Value >>= aValue;
+ if (!aValue.isEmpty())
+ rMetaData.insert("dc:identifier", aValue.toUtf8().getStr());
+ }
+ else if (rProp.Name == "RVNGTitle")
+ {
+ rProp.Value >>= aValue;
+ if (!aValue.isEmpty())
+ rMetaData.insert("dc:title", aValue.toUtf8().getStr());
+ }
+ else if (rProp.Name == "RVNGInitialCreator")
+ {
+ rProp.Value >>= aValue;
+ if (!aValue.isEmpty())
+ rMetaData.insert("meta:initial-creator", aValue.toUtf8().getStr());
+ }
+ else if (rProp.Name == "RVNGLanguage")
+ {
+ rProp.Value >>= aValue;
+ if (!aValue.isEmpty())
+ rMetaData.insert("dc:language", aValue.toUtf8().getStr());
+ }
+ else if (rProp.Name == "RVNGDate")
+ {
+ rProp.Value >>= aValue;
+ if (!aValue.isEmpty())
+ rMetaData.insert("dc:date", aValue.toUtf8().getStr());
+ }
+ }
+
+ // If not set explicitly, try to pick it up from the base directory.
+ if (rDocumentBaseURL.isEmpty())
+ return;
+
+ OUString aMediaDir = FindMediaDir(rDocumentBaseURL, rFilterData);
+ OUString aURL = aMediaDir + "metadata.xmp";
+ SvFileStream aStream(aURL, StreamMode::READ);
+ if (!aStream.IsOpen())
+ return;
+
+ xml::sax::InputSource aInputSource;
+ uno::Reference<io::XInputStream> xStream(new utl::OStreamWrapper(aStream));
+ aInputSource.aInputStream = xStream;
+ uno::Reference<xml::sax::XParser> xParser = xml::sax::Parser::create(xContext);
+ rtl::Reference<XMPParser> xXMP(new XMPParser(rMetaData));
+ xParser->setDocumentHandler(xXMP);
+ try
+ {
+ xParser->parseStream(aInputSource);
+ }
+ catch (const uno::Exception&)
+ {
+ DBG_UNHANDLED_EXCEPTION("writerperfect", "parseStream() failed");
+ return;
+ }
+}
+
+/// Handler for <office:body>.
+class XMLBodyContext : public XMLImportContext
+{
+public:
+ XMLBodyContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/) override;
+};
+}
+
+XMLBodyContext::XMLBodyContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext>
+XMLBodyContext::CreateChildContext(const OUString& rName,
+ const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "office:text")
+ return new XMLBodyContentContext(GetImport());
+ return nullptr;
+}
+
+namespace
+{
+/// Handler for <office:document>.
+class XMLOfficeDocContext : public XMLImportContext
+{
+public:
+ XMLOfficeDocContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/) override;
+
+ // Handles metafile for a single page.
+ void HandleFixedLayoutPage(const FixedLayoutPage& rPage, bool bFirst);
+};
+}
+
+XMLOfficeDocContext::XMLOfficeDocContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLOfficeDocContext::CreateChildContext(
+ const OUString& rName, const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "office:meta")
+ return new XMLMetaDocumentContext(GetImport());
+ if (rName == "office:automatic-styles")
+ return new XMLStylesContext(GetImport(), XMLStylesContext::StyleType_AUTOMATIC);
+ if (rName == "office:styles")
+ return new XMLStylesContext(GetImport(), XMLStylesContext::StyleType_NONE);
+ if (rName == "office:master-styles")
+ return new XMLStylesContext(GetImport(), XMLStylesContext::StyleType_NONE);
+ if (rName == "office:font-face-decls")
+ return new XMLFontFaceDeclsContext(GetImport());
+ if (rName == "office:body")
+ {
+ if (GetImport().GetPageMetafiles().empty())
+ return new XMLBodyContext(GetImport());
+
+ // Ignore text from doc model in the fixed layout case, instead
+ // insert the page metafiles.
+ bool bFirst = true;
+ for (const auto& rPage : GetImport().GetPageMetafiles())
+ {
+ HandleFixedLayoutPage(rPage, bFirst);
+ if (bFirst)
+ bFirst = false;
+ }
+ }
+ return nullptr;
+}
+
+void XMLOfficeDocContext::HandleFixedLayoutPage(const FixedLayoutPage& rPage, bool bFirst)
+{
+ uno::Reference<uno::XComponentContext> xCtx = GetImport().GetComponentContext();
+ uno::Reference<xml::sax::XWriter> xSaxWriter = xml::sax::Writer::create(xCtx);
+ if (!xSaxWriter.is())
+ return;
+
+ // [-loplugin:redundantfcast] false positive:
+ uno::Sequence<uno::Any> aArguments = { uno::Any(uno::Sequence<beans::PropertyValue>(
+ { comphelper::makePropertyValue("DTDString", false) })) };
+ uno::Reference<svg::XSVGWriter> xSVGWriter(
+ xCtx->getServiceManager()->createInstanceWithArgumentsAndContext(
+ "com.sun.star.svg.SVGWriter", aArguments, xCtx),
+ uno::UNO_QUERY);
+ if (!xSVGWriter.is())
+ return;
+
+ SvMemoryStream aMemoryStream;
+ xSaxWriter->setOutputStream(new utl::OStreamWrapper(aMemoryStream));
+
+ xSVGWriter->write(xSaxWriter, rPage.aMetafile);
+
+ // Have all the info, invoke the generator.
+ librevenge::RVNGPropertyList aPageProperties;
+ // Pixel -> inch.
+ double fWidth = rPage.aCssPixels.getWidth();
+ fWidth /= 96;
+ aPageProperties.insert("fo:page-width", fWidth);
+ double fHeight = rPage.aCssPixels.getHeight();
+ fHeight /= 96;
+ aPageProperties.insert("fo:page-height", fHeight);
+
+ if (!rPage.aChapterNames.empty())
+ {
+ // Name of chapters starting on this page.
+ librevenge::RVNGPropertyListVector aChapterNames;
+ for (const auto& rName : rPage.aChapterNames)
+ {
+ librevenge::RVNGPropertyList aChapter;
+ aChapter.insert("librevenge:name", rName.toUtf8().getStr());
+ aChapterNames.append(aChapter);
+ }
+ aPageProperties.insert("librevenge:chapter-names", aChapterNames);
+ }
+
+ GetImport().GetGenerator().openPageSpan(aPageProperties);
+ librevenge::RVNGPropertyList aParagraphProperties;
+ if (!bFirst)
+ // All pages except the first one needs a page break before the page
+ // metafile.
+ aParagraphProperties.insert("fo:break-before", "page");
+ GetImport().GetGenerator().openParagraph(aParagraphProperties);
+ librevenge::RVNGPropertyList aImageProperties;
+ aImageProperties.insert("librevenge:mime-type", "image/svg+xml");
+ librevenge::RVNGBinaryData aBinaryData;
+ aBinaryData.append(static_cast<const unsigned char*>(aMemoryStream.GetData()),
+ aMemoryStream.GetSize());
+ aImageProperties.insert("office:binary-data", aBinaryData);
+ GetImport().GetGenerator().insertBinaryObject(aImageProperties);
+ GetImport().GetGenerator().closeParagraph();
+ GetImport().GetGenerator().closePageSpan();
+}
+
+XMLImport::XMLImport(const uno::Reference<uno::XComponentContext>& xContext,
+ librevenge::RVNGTextInterface& rGenerator, const OUString& rURL,
+ const uno::Sequence<beans::PropertyValue>& rDescriptor,
+ const std::vector<FixedLayoutPage>& rPageMetafiles)
+ : mrGenerator(rGenerator)
+ , mxContext(xContext)
+ , mbIsInPageSpan(false)
+ , mrPageMetafiles(rPageMetafiles)
+{
+ uno::Sequence<beans::PropertyValue> aFilterData;
+ auto pDescriptor = std::find_if(
+ rDescriptor.begin(), rDescriptor.end(),
+ [](const beans::PropertyValue& rProp) { return rProp.Name == "FilterData"; });
+ if (pDescriptor != rDescriptor.end())
+ pDescriptor->Value >>= aFilterData;
+
+ maMediaDir = FindMediaDir(rURL, aFilterData);
+
+ OUString aMimeType;
+ OUString aCoverImage = FindCoverImage(rURL, aMimeType, aFilterData);
+ if (!aCoverImage.isEmpty())
+ {
+ librevenge::RVNGBinaryData aBinaryData;
+ SvFileStream aStream(aCoverImage, StreamMode::READ);
+ SvMemoryStream aMemoryStream;
+ aMemoryStream.WriteStream(aStream);
+ aBinaryData.append(static_cast<const unsigned char*>(aMemoryStream.GetData()),
+ aMemoryStream.GetSize());
+ librevenge::RVNGPropertyList aCoverImageProperties;
+ aCoverImageProperties.insert("office:binary-data", aBinaryData);
+ aCoverImageProperties.insert("librevenge:mime-type", aMimeType.toUtf8().getStr());
+ maCoverImages.append(aCoverImageProperties);
+ }
+
+ FindXMPMetadata(mxContext, rURL, aFilterData, maMetaData);
+
+ mxUriReferenceFactory = uri::UriReferenceFactory::create(mxContext);
+}
+
+const librevenge::RVNGPropertyListVector& XMLImport::GetCoverImages() const
+{
+ return maCoverImages;
+}
+
+const librevenge::RVNGPropertyList& XMLImport::GetMetaData() const { return maMetaData; }
+
+namespace
+{
+/// Finds out if a file URL exists.
+bool FileURLExists(const OUString& rURL)
+{
+ SvFileStream aStream(rURL, StreamMode::READ);
+ return aStream.IsOpen();
+}
+}
+
+PopupState XMLImport::FillPopupData(const OUString& rURL, librevenge::RVNGPropertyList& rPropList)
+{
+ uno::Reference<uri::XUriReference> xUriRef;
+ try
+ {
+ xUriRef = mxUriReferenceFactory->parse(rURL);
+ }
+ catch (const uno::Exception&)
+ {
+ DBG_UNHANDLED_EXCEPTION("writerperfect", "XUriReference::parse() failed");
+ }
+ bool bAbsolute = true;
+ if (xUriRef.is())
+ bAbsolute = xUriRef->isAbsolute();
+ if (bAbsolute)
+ return PopupState::NotConsumed;
+
+ // Default case: relative URL, popup data was in the same directory as the
+ // document at insertion time.
+ OUString aAbs = maMediaDir + rURL;
+ if (!FileURLExists(aAbs))
+ // Fallback case: relative URL, popup data was in the default media
+ // directory at insertion time.
+ aAbs = maMediaDir + "../" + rURL;
+
+ if (!FileURLExists(aAbs))
+ // Relative link, but points to non-existing file: don't emit that to
+ // librevenge, since it will be invalid anyway.
+ return PopupState::Ignore;
+
+ SvFileStream aStream(aAbs, StreamMode::READ);
+ librevenge::RVNGBinaryData aBinaryData;
+ SvMemoryStream aMemoryStream;
+ aMemoryStream.WriteStream(aStream);
+ aBinaryData.append(static_cast<const unsigned char*>(aMemoryStream.GetData()),
+ aMemoryStream.GetSize());
+ rPropList.insert("office:binary-data", aBinaryData);
+
+ INetURLObject aAbsURL(aAbs);
+ OUString aMimeType = GetMimeType(aAbsURL.GetFileExtension());
+ rPropList.insert("librevenge:mime-type", aMimeType.toUtf8().getStr());
+
+ return PopupState::Consumed;
+}
+
+const std::vector<FixedLayoutPage>& XMLImport::GetPageMetafiles() const { return mrPageMetafiles; }
+
+const uno::Reference<uno::XComponentContext>& XMLImport::GetComponentContext() const
+{
+ return mxContext;
+}
+
+rtl::Reference<XMLImportContext>
+XMLImport::CreateContext(std::u16string_view rName,
+ const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == u"office:document")
+ return new XMLOfficeDocContext(*this);
+ return nullptr;
+}
+
+librevenge::RVNGTextInterface& XMLImport::GetGenerator() const { return mrGenerator; }
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticTextStyles()
+{
+ return maAutomaticTextStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticParagraphStyles()
+{
+ return maAutomaticParagraphStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticCellStyles()
+{
+ return maAutomaticCellStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticColumnStyles()
+{
+ return maAutomaticColumnStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticRowStyles()
+{
+ return maAutomaticRowStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticTableStyles()
+{
+ return maAutomaticTableStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetAutomaticGraphicStyles()
+{
+ return maAutomaticGraphicStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetTextStyles()
+{
+ return maTextStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetParagraphStyles()
+{
+ return maParagraphStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetCellStyles()
+{
+ return maCellStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetColumnStyles()
+{
+ return maColumnStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetRowStyles() { return maRowStyles; }
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetTableStyles()
+{
+ return maTableStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetGraphicStyles()
+{
+ return maGraphicStyles;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetPageLayouts()
+{
+ return maPageLayouts;
+}
+
+std::map<OUString, librevenge::RVNGPropertyList>& XMLImport::GetMasterStyles()
+{
+ return maMasterStyles;
+}
+
+void XMLImport::startDocument() { mrGenerator.startDocument(librevenge::RVNGPropertyList()); }
+
+void XMLImport::endDocument() { mrGenerator.endDocument(); }
+
+void XMLImport::startElement(const OUString& rName,
+ const uno::Reference<xml::sax::XAttributeList>& xAttribs)
+{
+ rtl::Reference<XMLImportContext> xContext;
+ if (!maContexts.empty())
+ {
+ if (maContexts.top().is())
+ xContext = maContexts.top()->CreateChildContext(rName, xAttribs);
+ }
+ else
+ xContext = CreateContext(rName, xAttribs);
+
+ if (xContext.is())
+ xContext->startElement(rName, xAttribs);
+
+ maContexts.push(xContext);
+}
+
+void XMLImport::endElement(const OUString& rName)
+{
+ if (maContexts.empty())
+ return;
+
+ if (maContexts.top().is())
+ maContexts.top()->endElement(rName);
+
+ maContexts.pop();
+}
+
+void XMLImport::characters(const OUString& rChars)
+{
+ if (maContexts.top().is())
+ maContexts.top()->characters(rChars);
+}
+
+void XMLImport::ignorableWhitespace(const OUString& /*rWhitespaces*/) {}
+
+void XMLImport::processingInstruction(const OUString& /*rTarget*/, const OUString& /*rData*/) {}
+
+void XMLImport::setDocumentLocator(const uno::Reference<xml::sax::XLocator>& /*xLocator*/) {}
+
+void XMLImport::HandlePageSpan(const librevenge::RVNGPropertyList& rPropertyList)
+{
+ OUString sMasterPageName;
+ OUString sLayoutName;
+
+ if (rPropertyList["style:master-page-name"])
+ sMasterPageName = OStringToOUString(
+ rPropertyList["style:master-page-name"]->getStr().cstr(), RTL_TEXTENCODING_UTF8);
+ else if (!GetIsInPageSpan())
+ sMasterPageName = "Standard";
+
+ if (sMasterPageName.getLength())
+ {
+ librevenge::RVNGPropertyList& rMasterPage = GetMasterStyles()[sMasterPageName];
+ if (rMasterPage["style:page-layout-name"])
+ {
+ sLayoutName = OStringToOUString(rMasterPage["style:page-layout-name"]->getStr().cstr(),
+ RTL_TEXTENCODING_UTF8);
+ }
+ }
+
+ if (sLayoutName.getLength())
+ {
+ librevenge::RVNGPropertyList& rPageLayout = GetPageLayouts()[sLayoutName];
+
+ if (GetIsInPageSpan())
+ GetGenerator().closePageSpan();
+
+ GetGenerator().openPageSpan(rPageLayout);
+ mbIsInPageSpan = true;
+ }
+}
+
+} // namespace writerperfect
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx
new file mode 100644
index 0000000000..fd2882371e
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlimp.hxx
@@ -0,0 +1,149 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <map>
+#include <stack>
+#include <vector>
+
+#include <librevenge/librevenge.h>
+
+#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+
+#include <cppuhelper/implbase.hxx>
+#include <rtl/ref.hxx>
+#include <tools/gen.hxx>
+
+#include "xmlictxt.hxx"
+
+namespace com::sun::star
+{
+namespace beans
+{
+struct PropertyValue;
+}
+namespace uno
+{
+class XComponentContext;
+}
+namespace uri
+{
+class XUriReferenceFactory;
+}
+}
+
+namespace writerperfect::exp
+{
+class XMLImportContext;
+
+/// Contains info about a fixed-layout page.
+struct FixedLayoutPage
+{
+ css::uno::Sequence<sal_Int8> aMetafile;
+ Size aCssPixels;
+ std::vector<OUString> aChapterNames;
+};
+
+/// States describing the result of a link -> popup conversion.
+enum class PopupState
+{
+ /// Conversion did not happen yet.
+ NONE,
+ /// The relative link was converted to a popup.
+ Consumed,
+ /// The absolute link was not handled.
+ NotConsumed,
+ /// The relative link is invalid and should be ignored.
+ Ignore
+};
+
+/// ODT export feeds this class to make librevenge calls.
+class XMLImport : public cppu::WeakImplHelper<css::xml::sax::XDocumentHandler>
+{
+ librevenge::RVNGTextInterface& mrGenerator;
+ std::stack<rtl::Reference<XMLImportContext>> maContexts;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticTextStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maTextStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticParagraphStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maParagraphStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticCellStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maCellStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticColumnStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maColumnStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticRowStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maRowStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticTableStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maTableStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maAutomaticGraphicStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maGraphicStyles;
+ std::map<OUString, librevenge::RVNGPropertyList> maPageLayouts;
+ std::map<OUString, librevenge::RVNGPropertyList> maMasterStyles;
+ librevenge::RVNGPropertyListVector maCoverImages;
+ /// Author, date, etc -- overwrites what would be from the document out of the box.
+ librevenge::RVNGPropertyList maMetaData;
+ const css::uno::Reference<css::uno::XComponentContext>& mxContext;
+ css::uno::Reference<css::uri::XUriReferenceFactory> mxUriReferenceFactory;
+ OUString maMediaDir;
+ bool mbIsInPageSpan;
+ const std::vector<FixedLayoutPage>& mrPageMetafiles;
+
+public:
+ XMLImport(const css::uno::Reference<css::uno::XComponentContext>& xContext,
+ librevenge::RVNGTextInterface& rGenerator, const OUString& rURL,
+ const css::uno::Sequence<css::beans::PropertyValue>& rDescriptor,
+ const std::vector<FixedLayoutPage>& rPageMetafiles);
+
+ rtl::Reference<XMLImportContext>
+ CreateContext(std::u16string_view rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs);
+
+ librevenge::RVNGTextInterface& GetGenerator() const;
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticTextStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticParagraphStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticCellStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticColumnStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticRowStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticTableStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetAutomaticGraphicStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetTextStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetParagraphStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetCellStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetColumnStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetRowStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetTableStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetGraphicStyles();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetPageLayouts();
+ std::map<OUString, librevenge::RVNGPropertyList>& GetMasterStyles();
+ const librevenge::RVNGPropertyListVector& GetCoverImages() const;
+ const librevenge::RVNGPropertyList& GetMetaData() const;
+ PopupState FillPopupData(const OUString& rURL, librevenge::RVNGPropertyList& rPropList);
+ const std::vector<FixedLayoutPage>& GetPageMetafiles() const;
+ const css::uno::Reference<css::uno::XComponentContext>& GetComponentContext() const;
+
+ bool GetIsInPageSpan() const { return mbIsInPageSpan; }
+ void HandlePageSpan(const librevenge::RVNGPropertyList& rPropertyList);
+
+ // XDocumentHandler
+ void SAL_CALL startDocument() override;
+ void SAL_CALL endDocument() override;
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+ void SAL_CALL characters(const OUString& rChars) override;
+ void SAL_CALL ignorableWhitespace(const OUString& rWhitespaces) override;
+ void SAL_CALL processingInstruction(const OUString& rTarget, const OUString& rData) override;
+ void SAL_CALL
+ setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator>& xLocator) override;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlmetai.cxx b/writerperfect/source/writer/exp/xmlmetai.cxx
new file mode 100644
index 0000000000..2e42f740f4
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlmetai.cxx
@@ -0,0 +1,285 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "xmlmetai.hxx"
+
+#include "xmlimp.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Handler for <dc:title>.
+class XMLDcTitleContext : public XMLImportContext
+{
+public:
+ XMLDcTitleContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta);
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ XMLMetaDocumentContext& mrMeta;
+};
+}
+
+XMLDcTitleContext::XMLDcTitleContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta)
+ : XMLImportContext(rImport)
+ , mrMeta(rMeta)
+{
+}
+
+void XMLDcTitleContext::characters(const OUString& rChars)
+{
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ if (!mrMeta.GetPropertyList()["dc:title"])
+ mrMeta.GetPropertyList().insert("dc:title", librevenge::RVNGString(sCharU8.getStr()));
+}
+
+namespace
+{
+/// Handler for <dc:language>.
+class XMLDcLanguageContext : public XMLImportContext
+{
+public:
+ XMLDcLanguageContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta);
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ XMLMetaDocumentContext& mrMeta;
+};
+}
+
+XMLDcLanguageContext::XMLDcLanguageContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta)
+ : XMLImportContext(rImport)
+ , mrMeta(rMeta)
+{
+}
+
+void XMLDcLanguageContext::characters(const OUString& rChars)
+{
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ if (!mrMeta.GetPropertyList()["dc:language"])
+ mrMeta.GetPropertyList().insert("dc:language", librevenge::RVNGString(sCharU8.getStr()));
+}
+
+namespace
+{
+/// Handler for <dc:date>.
+class XMLDcDateContext : public XMLImportContext
+{
+public:
+ XMLDcDateContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta);
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ XMLMetaDocumentContext& mrMeta;
+};
+}
+
+XMLDcDateContext::XMLDcDateContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta)
+ : XMLImportContext(rImport)
+ , mrMeta(rMeta)
+{
+}
+
+void XMLDcDateContext::characters(const OUString& rChars)
+{
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ if (!mrMeta.GetPropertyList()["dc:date"])
+ mrMeta.GetPropertyList().insert("dc:date", librevenge::RVNGString(sCharU8.getStr()));
+}
+
+namespace
+{
+/// Handler for <meta:generator>.
+class XMLMetaGeneratorContext : public XMLImportContext
+{
+public:
+ XMLMetaGeneratorContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta);
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ XMLMetaDocumentContext& mrMeta;
+};
+}
+
+XMLMetaGeneratorContext::XMLMetaGeneratorContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta)
+ : XMLImportContext(rImport)
+ , mrMeta(rMeta)
+{
+}
+
+void XMLMetaGeneratorContext::characters(const OUString& rChars)
+{
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ mrMeta.GetPropertyList().insert("meta:generator", librevenge::RVNGString(sCharU8.getStr()));
+}
+
+namespace
+{
+/// Handler for <meta:initial-creator>.
+class XMLMetaInitialCreatorContext : public XMLImportContext
+{
+public:
+ XMLMetaInitialCreatorContext(XMLImport& rImport, XMLMetaDocumentContext& rMeta);
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+private:
+ XMLMetaDocumentContext& mrMeta;
+};
+}
+
+XMLMetaInitialCreatorContext::XMLMetaInitialCreatorContext(XMLImport& rImport,
+ XMLMetaDocumentContext& rMeta)
+ : XMLImportContext(rImport)
+ , mrMeta(rMeta)
+{
+}
+
+void XMLMetaInitialCreatorContext::characters(const OUString& rChars)
+{
+ OString sCharU8 = OUStringToOString(rChars, RTL_TEXTENCODING_UTF8);
+ if (!mrMeta.GetPropertyList()["meta:initial-creator"])
+ mrMeta.GetPropertyList().insert("meta:initial-creator",
+ librevenge::RVNGString(sCharU8.getStr()));
+}
+
+XMLMetaDocumentContext::XMLMetaDocumentContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+ librevenge::RVNGPropertyList::Iter it(GetImport().GetMetaData());
+ for (it.rewind(); it.next();)
+ m_aPropertyList.insert(it.key(), it()->clone());
+ m_aPropertyList.insert("librevenge:cover-images", GetImport().GetCoverImages());
+}
+
+rtl::Reference<XMLImportContext> XMLMetaDocumentContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "dc:title")
+ return new XMLDcTitleContext(GetImport(), *this);
+ if (rName == "dc:language")
+ return new XMLDcLanguageContext(GetImport(), *this);
+ if (rName == "dc:date")
+ return new XMLDcDateContext(GetImport(), *this);
+ if (rName == "meta:generator")
+ return new XMLMetaGeneratorContext(GetImport(), *this);
+ if (rName == "meta:initial-creator")
+ return new XMLMetaInitialCreatorContext(GetImport(), *this);
+ return nullptr;
+}
+
+void XMLMetaDocumentContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().setDocumentMetaData(m_aPropertyList);
+}
+
+XMPParser::XMPParser(librevenge::RVNGPropertyList& rMetaData)
+ : mrMetaData(rMetaData)
+{
+}
+
+XMPParser::~XMPParser() = default;
+
+void XMPParser::startDocument() {}
+
+void XMPParser::endDocument()
+{
+ if (!mrMetaData["dc:identifier"] && !m_aIdentifier.isEmpty())
+ mrMetaData.insert("dc:identifier", m_aIdentifier.toUtf8().getStr());
+ if (!mrMetaData["dc:title"] && !m_aTitle.isEmpty())
+ mrMetaData.insert("dc:title", m_aTitle.toUtf8().getStr());
+ if (!mrMetaData["meta:initial-creator"] && !m_aCreator.isEmpty())
+ mrMetaData.insert("meta:initial-creator", m_aCreator.toUtf8().getStr());
+ if (!mrMetaData["dc:language"] && !m_aLanguage.isEmpty())
+ mrMetaData.insert("dc:language", m_aLanguage.toUtf8().getStr());
+ if (!mrMetaData["dc:date"] && !m_aDate.isEmpty())
+ mrMetaData.insert("dc:date", m_aDate.toUtf8().getStr());
+}
+
+void XMPParser::startElement(const OUString& rName,
+ const uno::Reference<xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "dc:identifier")
+ m_bInIdentifier = true;
+ else if (rName == "dc:title")
+ m_bInTitle = true;
+ else if (rName == "dc:creator")
+ m_bInCreator = true;
+ else if (rName == "dc:language")
+ m_bInLanguage = true;
+ else if (rName == "dc:date")
+ m_bInDate = true;
+ else if (rName == "rdf:li")
+ {
+ if (m_bInTitle)
+ m_bInTitleItem = true;
+ else if (m_bInCreator)
+ m_bInCreatorItem = true;
+ else if (m_bInLanguage)
+ m_bInLanguageItem = true;
+ else if (m_bInDate)
+ m_bInDateItem = true;
+ }
+}
+
+void XMPParser::endElement(const OUString& rName)
+{
+ if (rName == "dc:identifier")
+ m_bInIdentifier = false;
+ else if (rName == "dc:title")
+ m_bInTitle = false;
+ else if (rName == "dc:creator")
+ m_bInCreator = false;
+ else if (rName == "dc:language")
+ m_bInLanguage = false;
+ else if (rName == "dc:date")
+ m_bInDate = false;
+ else if (rName == "rdf:li")
+ {
+ if (m_bInTitle)
+ m_bInTitleItem = false;
+ else if (m_bInCreator)
+ m_bInCreatorItem = false;
+ else if (m_bInLanguage)
+ m_bInLanguageItem = false;
+ else if (m_bInDate)
+ m_bInDateItem = false;
+ }
+}
+
+void XMPParser::characters(const OUString& rChars)
+{
+ if (m_bInIdentifier)
+ m_aIdentifier += rChars;
+ else if (m_bInTitleItem)
+ m_aTitle += rChars;
+ else if (m_bInCreatorItem)
+ m_aCreator += rChars;
+ else if (m_bInLanguageItem)
+ m_aLanguage += rChars;
+ else if (m_bInDateItem)
+ m_aDate += rChars;
+}
+
+void XMPParser::ignorableWhitespace(const OUString& /*rWhitespace*/) {}
+
+void XMPParser::processingInstruction(const OUString& /*rTarget*/, const OUString& /*rData*/) {}
+
+void XMPParser::setDocumentLocator(const uno::Reference<xml::sax::XLocator>& /*xLocator*/) {}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmlmetai.hxx b/writerperfect/source/writer/exp/xmlmetai.hxx
new file mode 100644
index 0000000000..f87ddff24f
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmlmetai.hxx
@@ -0,0 +1,83 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge/librevenge.h>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <office:meta>.
+class XMLMetaDocumentContext : public XMLImportContext
+{
+public:
+ XMLMetaDocumentContext(XMLImport& rImport);
+
+ librevenge::RVNGPropertyList& GetPropertyList() { return m_aPropertyList; }
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ librevenge::RVNGPropertyList m_aPropertyList;
+};
+
+/// Parses an XMP file.
+class XMPParser : public cppu::WeakImplHelper<css::xml::sax::XDocumentHandler>
+{
+public:
+ explicit XMPParser(librevenge::RVNGPropertyList& rMetaData);
+ ~XMPParser() override;
+
+ // XDocumentHandler
+ void SAL_CALL startDocument() override;
+
+ void SAL_CALL endDocument() override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL endElement(const OUString& rName) override;
+
+ void SAL_CALL characters(const OUString& rChars) override;
+
+ void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces) override;
+
+ void SAL_CALL processingInstruction(const OUString& aTarget, const OUString& aData) override;
+
+ void SAL_CALL
+ setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator>& xLocator) override;
+
+private:
+ librevenge::RVNGPropertyList& mrMetaData;
+ bool m_bInIdentifier = false;
+ OUString m_aIdentifier;
+ bool m_bInTitle = false;
+ bool m_bInTitleItem = false;
+ OUString m_aTitle;
+ bool m_bInCreator = false;
+ bool m_bInCreatorItem = false;
+ OUString m_aCreator;
+ bool m_bInLanguage = false;
+ bool m_bInLanguageItem = false;
+ OUString m_aLanguage;
+ bool m_bInDate = false;
+ bool m_bInDateItem = false;
+ OUString m_aDate;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmltbli.cxx b/writerperfect/source/writer/exp/xmltbli.cxx
new file mode 100644
index 0000000000..0e5818f0b1
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmltbli.cxx
@@ -0,0 +1,254 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "xmltbli.hxx"
+
+#include "txtparai.hxx"
+#include "xmlimp.hxx"
+#include "xmltext.hxx"
+
+#include <sal/log.hxx>
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+namespace
+{
+/// Handler for <table:table-row>.
+class XMLTableRowContext : public XMLImportContext
+{
+public:
+ XMLTableRowContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ int GetColumn() const;
+ void SetColumn(int nColumn);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ int m_nColumn = 0;
+};
+
+/// Handler for <table:cell>.
+class XMLTableCellContext : public XMLImportContext
+{
+public:
+ XMLTableCellContext(XMLImport& rImport, XMLTableRowContext& rRow);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ XMLTableRowContext& m_rRow;
+};
+}
+
+XMLTableCellContext::XMLTableCellContext(XMLImport& rImport, XMLTableRowContext& rRow)
+ : XMLImportContext(rImport)
+ , m_rRow(rRow)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTableCellContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateTextChildContext(GetImport(), rName);
+}
+
+void XMLTableCellContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+
+ if (rAttributeName == "table:style-name")
+ FillStyles(rAttributeValue, GetImport().GetAutomaticCellStyles(),
+ GetImport().GetCellStyles(), aPropertyList);
+ else
+ {
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+ aPropertyList.insert("librevenge:column", m_rRow.GetColumn());
+ GetImport().GetGenerator().openTableCell(aPropertyList);
+ m_rRow.SetColumn(m_rRow.GetColumn() + 1);
+}
+
+void XMLTableCellContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeTableCell();
+}
+
+namespace
+{
+/// Handler for <table:table-column>.
+class XMLTableColumnContext : public XMLImportContext
+{
+public:
+ XMLTableColumnContext(XMLImport& rImport, librevenge::RVNGPropertyListVector& rColumns);
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+private:
+ librevenge::RVNGPropertyListVector& m_rColumns;
+};
+}
+
+XMLTableColumnContext::XMLTableColumnContext(XMLImport& rImport,
+ librevenge::RVNGPropertyListVector& rColumns)
+ : XMLImportContext(rImport)
+ , m_rColumns(rColumns)
+{
+}
+
+void XMLTableColumnContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+
+ if (rAttributeName == "table:style-name")
+ FillStyles(rAttributeValue, GetImport().GetAutomaticColumnStyles(),
+ GetImport().GetColumnStyles(), aPropertyList);
+ }
+ m_rColumns.append(aPropertyList);
+}
+
+XMLTableRowContext::XMLTableRowContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTableRowContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "table:table-cell")
+ return new XMLTableCellContext(GetImport(), *this);
+ if (rName == "table:covered-table-cell")
+ {
+ ++m_nColumn;
+ GetImport().GetGenerator().insertCoveredTableCell(librevenge::RVNGPropertyList());
+ }
+ else
+ SAL_WARN("writerperfect", "XMLTableRowContext::CreateChildContext: unhandled " << rName);
+ return nullptr;
+}
+
+void XMLTableRowContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ librevenge::RVNGPropertyList aPropertyList;
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+
+ if (rAttributeName == "table:style-name")
+ FillStyles(rAttributeValue, GetImport().GetAutomaticRowStyles(),
+ GetImport().GetRowStyles(), aPropertyList);
+ }
+ GetImport().GetGenerator().openTableRow(aPropertyList);
+}
+
+void XMLTableRowContext::endElement(const OUString& /*rName*/)
+{
+ GetImport().GetGenerator().closeTableRow();
+}
+
+int XMLTableRowContext::GetColumn() const { return m_nColumn; }
+
+void XMLTableRowContext::SetColumn(int nColumn) { m_nColumn = nColumn; }
+
+XMLTableContext::XMLTableContext(XMLImport& rImport, bool bTopLevel)
+ : XMLImportContext(rImport)
+ , m_bTopLevel(bTopLevel)
+{
+}
+
+rtl::Reference<XMLImportContext> XMLTableContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ if (rName == "table:table-column")
+ // Make sure columns are parsed before we open the table.
+ return new XMLTableColumnContext(GetImport(), m_aColumns);
+
+ if (!m_bTableOpened)
+ {
+ if (!m_aColumns.empty())
+ m_aPropertyList.insert("librevenge:table-columns", m_aColumns);
+ GetImport().GetGenerator().openTable(m_aPropertyList);
+ m_bTableOpened = true;
+ }
+
+ if (rName == "table:table-row")
+ return new XMLTableRowContext(GetImport());
+
+ SAL_WARN("writerperfect", "XMLTableContext::CreateChildContext: unhandled " << rName);
+
+ return nullptr;
+}
+
+void XMLTableContext::startElement(
+ const OUString& /*rName*/, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
+{
+ for (sal_Int16 i = 0; i < xAttribs->getLength(); ++i)
+ {
+ const OUString& rAttributeName = xAttribs->getNameByIndex(i);
+ const OUString& rAttributeValue = xAttribs->getValueByIndex(i);
+
+ if (rAttributeName == "table:style-name")
+ {
+ FillStyles(rAttributeValue, GetImport().GetAutomaticTableStyles(),
+ GetImport().GetTableStyles(), m_aPropertyList);
+ if (m_bTopLevel)
+ GetImport().HandlePageSpan(m_aPropertyList);
+ }
+ else
+ {
+ OString sName = OUStringToOString(rAttributeName, RTL_TEXTENCODING_UTF8);
+ OString sValue = OUStringToOString(rAttributeValue, RTL_TEXTENCODING_UTF8);
+ m_aPropertyList.insert(sName.getStr(), sValue.getStr());
+ }
+ }
+}
+
+void XMLTableContext::endElement(const OUString& /*rName*/)
+{
+ if (m_bTableOpened)
+ {
+ GetImport().GetGenerator().closeTable();
+ }
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmltbli.hxx b/writerperfect/source/writer/exp/xmltbli.hxx
new file mode 100644
index 0000000000..c1b33f498a
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmltbli.hxx
@@ -0,0 +1,44 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include <librevenge/librevenge.h>
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <table:table>.
+class XMLTableContext : public XMLImportContext
+{
+public:
+ XMLTableContext(XMLImport& rImport, bool bTopLevel = false);
+
+ rtl::Reference<XMLImportContext>
+ CreateChildContext(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+
+ void SAL_CALL
+ startElement(const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+
+private:
+ bool m_bTableOpened = false;
+ /// If the context is a direct child of XMLBodyContentContext.
+ /// Only direct child of XMLBodyContentContext has to handle page span.
+ bool m_bTopLevel;
+ librevenge::RVNGPropertyList m_aPropertyList;
+ librevenge::RVNGPropertyListVector m_aColumns;
+};
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmltext.cxx b/writerperfect/source/writer/exp/xmltext.cxx
new file mode 100644
index 0000000000..933cf43e18
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmltext.cxx
@@ -0,0 +1,55 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include "xmltext.hxx"
+
+#include "txtparai.hxx"
+#include "xmltbli.hxx"
+#include "XMLSectionContext.hxx"
+#include "XMLTextListContext.hxx"
+#include "xmlimp.hxx"
+
+using namespace com::sun::star;
+
+namespace writerperfect::exp
+{
+XMLBodyContentContext::XMLBodyContentContext(XMLImport& rImport)
+ : XMLImportContext(rImport)
+{
+}
+
+void XMLBodyContentContext::endElement(const OUString& /*rName*/)
+{
+ if (GetImport().GetIsInPageSpan())
+ GetImport().GetGenerator().closePageSpan();
+}
+
+rtl::Reference<XMLImportContext> XMLBodyContentContext::CreateChildContext(
+ const OUString& rName, const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/)
+{
+ return CreateTextChildContext(GetImport(), rName, true);
+}
+
+rtl::Reference<XMLImportContext> CreateTextChildContext(XMLImport& rImport,
+ std::u16string_view rName, bool bTopLevel)
+{
+ if (rName == u"text:p" || rName == u"text:h")
+ return new XMLParaContext(rImport, bTopLevel);
+ if (rName == u"text:section")
+ return new XMLSectionContext(rImport);
+ if (rName == u"table:table")
+ return new XMLTableContext(rImport, bTopLevel);
+ if (rName == u"text:list")
+ return new XMLTextListContext(rImport);
+ return nullptr;
+}
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/exp/xmltext.hxx b/writerperfect/source/writer/exp/xmltext.hxx
new file mode 100644
index 0000000000..50188acfed
--- /dev/null
+++ b/writerperfect/source/writer/exp/xmltext.hxx
@@ -0,0 +1,34 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#pragma once
+
+#include "xmlictxt.hxx"
+
+namespace writerperfect::exp
+{
+/// Handler for <office:text>.
+class XMLBodyContentContext : public XMLImportContext
+{
+public:
+ XMLBodyContentContext(XMLImport& rImport);
+
+ rtl::Reference<XMLImportContext> CreateChildContext(
+ const OUString& rName,
+ const css::uno::Reference<css::xml::sax::XAttributeList>& /*xAttribs*/) override;
+ void SAL_CALL endElement(const OUString& rName) override;
+};
+
+/// Context factory for body text, section, table cell, etc.
+rtl::Reference<XMLImportContext>
+CreateTextChildContext(XMLImport& rImport, std::u16string_view rName, bool bTopLevel = false);
+
+} // namespace writerperfect::exp
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerperfect/source/writer/wpftwriter.component b/writerperfect/source/writer/wpftwriter.component
new file mode 100644
index 0000000000..176d48750c
--- /dev/null
+++ b/writerperfect/source/writer/wpftwriter.component
@@ -0,0 +1,72 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+-->
+<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
+ xmlns="http://openoffice.org/2010/uno-components">
+ <implementation name="com.sun.star.comp.Writer.AbiWordImportFilter"
+ constructor="com_sun_star_comp_Writer_AbiWordImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <optional/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Writer.MSWorksImportFilter"
+ constructor="com_sun_star_comp_Writer_MSWorksImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <optional/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Writer.MWAWImportFilter"
+ constructor="com_sun_star_comp_Writer_MWAWImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <optional/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Writer.WordPerfectImportFilter"
+ constructor="com_sun_star_comp_Writer_WordPerfectImportFilter_get_implementation">
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <service name="com.sun.star.document.ImportFilter"/>
+ <optional/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Writer.EBookImportFilter"
+ constructor="org_libreoffice_comp_Writer_EBookImportFilter_get_implementation">
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <service name="com.sun.star.document.ImportFilter"/>
+ <optional/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Writer.PagesImportFilter"
+ constructor="org_libreoffice_comp_Writer_PagesImportFilter_get_implementation">
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ <service name="com.sun.star.document.ImportFilter"/>
+ <optional/>
+ </implementation>
+ <implementation name="org.libreoffice.comp.Writer.StarOfficeWriterImportFilter"
+ constructor="org_libreoffice_comp_Writer_StarOfficeWriterImportFilter_get_implementation">
+ <service name="com.sun.star.document.ImportFilter"/>
+ <service name="com.sun.star.document.ExtendedTypeDetection"/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Writer.EPUBExportFilter"
+ constructor="com_sun_star_comp_Writer_EPUBExportFilter_get_implementation">
+ <service name="com.sun.star.document.ExportFilter"/>
+ <optional/>
+ </implementation>
+ <implementation name="com.sun.star.comp.Writer.EPUBExportUIComponent"
+ constructor="com_sun_star_comp_Writer_EPUBExportUIComponent_get_implementation">
+ <service name="com.sun.star.ui.dialogs.FilterOptionsDialog"/>
+ <optional/>
+ </implementation>
+</component>
diff --git a/writerperfect/source/writer/wpftwriter.component.extended b/writerperfect/source/writer/wpftwriter.component.extended
new file mode 100644
index 0000000000..577d05e96d
--- /dev/null
+++ b/writerperfect/source/writer/wpftwriter.component.extended
@@ -0,0 +1,8 @@
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+com.sun.star.comp.Writer.EPUBExportFilter
+com.sun.star.comp.Writer.EPUBExportUIComponent
diff --git a/writerperfect/source/writer/wpftwriter.component.extended2 b/writerperfect/source/writer/wpftwriter.component.extended2
new file mode 100644
index 0000000000..91cd0e0463
--- /dev/null
+++ b/writerperfect/source/writer/wpftwriter.component.extended2
@@ -0,0 +1,12 @@
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+com.sun.star.comp.Writer.AbiWordImportFilter
+com.sun.star.comp.Writer.MSWorksImportFilter
+com.sun.star.comp.Writer.MWAWImportFilter
+com.sun.star.comp.Writer.WordPerfectImportFilter
+org.libreoffice.comp.Writer.EBookImportFilter
+org.libreoffice.comp.Writer.PagesImportFilter
diff --git a/writerperfect/uiconfig/ui/exportepub.ui b/writerperfect/uiconfig/ui/exportepub.ui
new file mode 100644
index 0000000000..97c789ff56
--- /dev/null
+++ b/writerperfect/uiconfig/ui/exportepub.ui
@@ -0,0 +1,538 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.1 -->
+<interface domain="wpt">
+ <requires lib="gtk+" version="3.20"/>
+ <object class="GtkDialog" id="EpubDialog">
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="title" translatable="yes" context="exportepub|EpubDialog">EPUB Export</property>
+ <property name="resizable">False</property>
+ <property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
+ <property name="type_hint">dialog</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">12</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="ok">
+ <property name="label" translatable="yes" context="stock">_OK</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use-underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="cancel">
+ <property name="label" translatable="yes" context="stock">_Cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use-underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="help">
+ <property name="label" translatable="yes" context="stock">_Help</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use-underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ <property name="secondary">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="pack_type">end</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <!-- n-columns=1 n-rows=1 -->
+ <object class="GtkGrid">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <child>
+ <object class="GtkFrame" id="general">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <!-- n-columns=1 n-rows=1 -->
+ <object class="GtkGrid" id="grid2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <property name="margin-start">12</property>
+ <property name="margin-top">6</property>
+ <child>
+ <object class="GtkLabel" id="versionft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|versionft">Version:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">versionlb</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="versionlb">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="active">0</property>
+ <items>
+ <item translatable="yes" context="exportepub|epub3">EPUB 3.0</item>
+ <item translatable="yes" context="exportepub|epub2">EPUB 2.0</item>
+ </items>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="splitlb">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="active">0</property>
+ <items>
+ <item translatable="yes" context="exportepub|splitpage">Page break</item>
+ <item translatable="yes" context="exportepub|splitheading">Heading</item>
+ </items>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="splitft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|splitft">Split method:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">splitlb</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="layoutft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|layoutft">Layout method:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">layoutlb</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="layoutlb">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="active">0</property>
+ <items>
+ <item translatable="yes" context="exportepub|layoutreflowable">Reflowable</item>
+ <item translatable="yes" context="exportepub|layoutfixed">Fixed</item>
+ </items>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">2</property>
+ <property name="width">2</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="generalft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|generalft">General</property>
+ <property name="use_underline">True</property>
+ <property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="metadata">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <!-- n-columns=1 n-rows=1 -->
+ <object class="GtkGrid" id="grid3">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <property name="margin-start">12</property>
+ <property name="margin-top">6</property>
+ <child>
+ <object class="GtkLabel" id="identifierft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|identifierft">Identifier:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">identifier</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="titleft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|titleft">Title:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">title</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="authorft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|authorft">Author:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">author</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="dateft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|dateft">Date:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">date</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">4</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="languageft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|languageft">Language:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">language</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="identifier">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="title">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="author">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="language">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">3</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="date">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">4</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="metadataft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|metadataft">Metadata</property>
+ <property name="use_underline">True</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkFrame" id="customize">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="vexpand">True</property>
+ <property name="border_width">6</property>
+ <property name="label_xalign">0</property>
+ <property name="shadow_type">none</property>
+ <child>
+ <!-- n-columns=1 n-rows=1 -->
+ <object class="GtkGrid" id="grid1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="row_spacing">6</property>
+ <property name="column_spacing">12</property>
+ <property name="margin-start">12</property>
+ <property name="margin-top">6</property>
+ <child>
+ <object class="GtkLabel" id="coverimageft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|coverimageft">Cover image:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">coverpath</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="coverpath">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="coverbutton">
+ <property name="label" translatable="yes" context="exportepub|coverbutton">Browse...</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="mediadirft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|mediadirft">Media directory:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">mediadir</property>
+ <property name="xalign">0</property>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkEntry" id="mediadir">
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="hexpand">True</property>
+ <property name="truncate-multiline">True</property>
+ <property name="activates_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">1</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="mediabutton">
+ <property name="label" translatable="yes" context="exportepub|mediabutton">Browse...</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ </object>
+ <packing>
+ <property name="left_attach">2</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <child type="label">
+ <object class="GtkLabel" id="customizeft">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes" context="exportepub|customizeft">Customize</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ </child>
+ </object>
+ <packing>
+ <property name="left_attach">0</property>
+ <property name="top_attach">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-5">ok</action-widget>
+ <action-widget response="-6">cancel</action-widget>
+ <action-widget response="-11">help</action-widget>
+ </action-widgets>
+ </object>
+ <object class="GtkSizeGroup" id="sizegroup1">
+ <widgets>
+ <widget name="versionft"/>
+ <widget name="splitft"/>
+ <widget name="layoutft"/>
+ <widget name="identifierft"/>
+ <widget name="titleft"/>
+ <widget name="authorft"/>
+ <widget name="dateft"/>
+ <widget name="languageft"/>
+ <widget name="coverimageft"/>
+ <widget name="mediadirft"/>
+ </widgets>
+ </object>
+</interface>
diff --git a/writerperfect/uiconfig/ui/wpftencodingdialog.ui b/writerperfect/uiconfig/ui/wpftencodingdialog.ui
new file mode 100644
index 0000000000..cf6da9c698
--- /dev/null
+++ b/writerperfect/uiconfig/ui/wpftencodingdialog.ui
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.22.1 -->
+<interface domain="wpt">
+ <requires lib="gtk+" version="3.20"/>
+ <object class="GtkDialog" id="WPFTEncodingDialog">
+ <property name="can_focus">False</property>
+ <property name="border_width">6</property>
+ <property name="resizable">False</property>
+ <property name="modal">True</property>
+ <property name="default_width">0</property>
+ <property name="default_height">0</property>
+ <property name="type_hint">dialog</property>
+ <child>
+ <placeholder/>
+ </child>
+ <child internal-child="vbox">
+ <object class="GtkBox" id="dialog-vbox1">
+ <property name="can_focus">False</property>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area1">
+ <property name="can_focus">False</property>
+ <property name="layout_style">end</property>
+ <child>
+ <object class="GtkButton" id="ok">
+ <property name="label" translatable="yes" context="stock">_OK</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="has_default">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use-underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkButton" id="cancel">
+ <property name="label" translatable="yes" context="stock">_Cancel</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use-underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">True</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">False</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="halign">start</property>
+ <property name="label" translatable="yes" context="wpftencodingdialog|label">_Character set:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">comboboxtext</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="comboboxtext">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ </child>
+ <action-widgets>
+ <action-widget response="-5">ok</action-widget>
+ <action-widget response="-6">cancel</action-widget>
+ </action-widgets>
+ </object>
+</interface>