From 861ca1f5030f2f6b7fbdc3bb3ded3d11130673ed Mon Sep 17 00:00:00 2001 From: Justin Luth Date: Wed, 24 Feb 2021 10:07:08 +0200 Subject: tdf#140572 writerfilter: ignore position in docDefaults Despite the documentation saying that anything in docDefaults should apply everywhere unless it is overridden in a higher priority style, the subscript/superscript setting in docDefaults seems to be ignored. Makes sense in a way, but perhaps document those exceptions? I looked for documentation in both "docDefaults" and "position" and didn't see anything suggesting why it is ignored. Change-Id: If676415b112921e4cb8f7306b8c8ad93a6fd8cde Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111442 Tested-by: Jenkins Reviewed-by: Justin Luth Reviewed-by: Michael Stahl --- writerfilter/source/dmapper/DomainMapper.hxx | 1 + 1 file changed, 1 insertion(+) (limited to 'writerfilter/source/dmapper/DomainMapper.hxx') diff --git a/writerfilter/source/dmapper/DomainMapper.hxx b/writerfilter/source/dmapper/DomainMapper.hxx index d2e08a0041aa..46bbd2b39018 100644 --- a/writerfilter/source/dmapper/DomainMapper.hxx +++ b/writerfilter/source/dmapper/DomainMapper.hxx @@ -112,6 +112,7 @@ public: bool IsInHeaderFooter() const; bool IsInTable() const; + void SetDocDefaultsImport(bool bSet); bool IsStyleSheetImport() const; bool IsInShape() const; -- cgit