summaryrefslogtreecommitdiff
path: root/writerfilter/README.md
blob: 0c027bf42fd46989ac3fcc702907c3941956d1c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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