office-gobmx/writerfilter
Mike Kaganski 13d3006737 tdf#152425 Synchronize import and export style names mapping
1. Make the mapping in StyleSheetTable::ConvertStyleName match the
   opposite direction mapping happening in MSWordStyles::GetWWId and
   ww::GetEnglishNameFromSti. Add missing styles, provide comments to
   clarify the process and find respective pool format ids.
2. Instead of appending " (user)" to conflicting style names, which
   is the method used by SwStyleNameMapper to disambiguate API names,
   append " (WW)", which allows to avoid unwanted merging conflicting
   styles.

Change-Id: I47b1c7f570da6e6e21155669fdd1b77de5cc17da
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145349
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-01-12 04:34:27 +00:00
..
documentation
inc sw: read theme from OOXML file and set it to the draw page 2023-01-01 23:35:17 +00:00
qa tdf#152884 import alpha too for schemeClr 2023-01-06 01:19:12 +00:00
source tdf#152425 Synchronize import and export style names mapping 2023-01-12 04:34:27 +00:00
util
CppunitTest_writerfilter_dmapper.mk move password handling from SwModelTestBase to UnoApiTest 2022-11-11 20:09:41 +01:00
CppunitTest_writerfilter_filters_test.mk
CppunitTest_writerfilter_misc.mk
CppunitTest_writerfilter_rtftok.mk move password handling from SwModelTestBase to UnoApiTest 2022-11-11 20:09:41 +01:00
CustomTarget_source.mk tdf#122222: add DOCX import of resolved comments as "done" 2021-04-16 18:41:47 +02:00
IwyuFilter_writerfilter.yaml
Library_writerfilter.mk sw: read theme from OOXML file and set it to the draw page 2023-01-01 23:35:17 +00:00
Makefile
Module_writerfilter.mk
README.md

Import Filters for LibreOffice Writer

The writerfilter module contains import filters for Writer, using its UNO API.

Import filter for DOCX and RTF.

  • Module contents

    • documentation: RNG schema for the OOXML tokenizer, etc.
    • inc: module-global headers (can be included by any files under source)
    • qa: cppunit tests
    • source: the filters themselves
    • util: UNO passive registration config
  • Source contents

    • dmapper: the domain mapper, hiding UNO from the tokenizers, used by DOCX and RTF import
      • The incoming traffic of dmapper can be dumped into an XML file in /tmp in dbgutil builds, start soffice with the SW_DEBUG_WRITERFILTER=1 environment variable if you want that.
    • filter: the UNO filter service implementations, invoked by UNO and calling the dmapper + one of the tokenizers
    • ooxml: the docx tokenizer
    • rtftok: the rtf tokenizer