Until now, during docx import the pPrDefault properties have been
directly added to the parentless styles. However, things like
table styles are supposed to over-ride these document defaults, but
not style defaults. Since the docDefaults are merged into the style,
table-styles were unable detect if they could override them.
Exporting doesn't export pPrDefaults well, so the
properties still need to be merged into the style when
round-tripping.
Almost every existing unit test document is a proof test.
It effectively ought to act as a non-functional change.
Plus, this basically reverts 7f697ec27b
so that unit test still covers bug 103961.
Change-Id: I4948299ddd610c07d828f2bd57c58734f1b94c49
Reviewed-on: https://gerrit.libreoffice.org/58203
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
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
debug 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