Disable TOC creation in case when field context stack is empty but TOC creation is in progress in textboxes. Before if TOC creation failed because it is already existed, the TOC creation member (mbStartTOC) kept true resulting in broken textbox handling. Textbox and TOC import use the same text append stack but the TOC was not removed from the stack so content have been written into the TOC instead of the textbox, resulting page loss, and because of the broken structure, freezing at further ODT export. Change-Id: If27aa477c49f276d4e538b6e125798d89f0ac423 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150099 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
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:cppunittestssource: the filters themselvesutil: 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
dmappercan be dumped into an XML file in/tmpindbgutilbuilds, start soffice with theSW_DEBUG_WRITERFILTER=1environment variable if you want that.
- The incoming traffic of
filter: the UNO filter service implementations, invoked by UNO and calling the dmapper + one of the tokenizersooxml: the docx tokenizerrtftok: the rtf tokenizer