office-gobmx/test/source
Miklos Vajna 51534ac2b9 tdf#127778 DOCX import: fix unexpected heading on non-first page ...
... when the first page has a heading

Regression from commit 17e51f427b (DOCX
import: first page header should always set default headers as well,
2014-11-21), the problem is around how to split a first + follow page
style on import, and then do the opposite on export.

This is described using a single section in OOXML, but Writer has 2 page
styles for this (unlike in case of the DOC filter). This means the
header margin has to be taken from one of these page styles. The above
commit tweaked the import, so the follow page style has the wanted
header margin, but this leads to incorrect layout.

Fix the problem by tweaking the export instead: it has random access to
the doc model, so it can take the header margin from the first page
style if needed, and then the import side can be reverted, leading to
correct layout.

Also remove some leftover debug code in test/, which was added in commit
5352d45dd4 (convert AnimationImport to
fast-parser APIs, 2020-02-18).

Change-Id: I4bbf7271f3a437e8432399bd1e32e9d24190a501
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94013
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-05-12 09:02:43 +02:00
..
beans
chart
container
diff tdf#130975 replace rtl::math::isNan with std::isnan. 2020-03-14 09:19:00 +01:00
document
drawing
helper clang-tidy modernize-concat-nested-namespace 2020-01-31 18:36:09 +01:00
lang
sheet Fix typo 2020-05-10 23:03:24 +02:00
style
table
text
util
view
bootstrapfixture.cxx test: log the validator cmdline 2020-03-03 13:43:58 +01:00
calc_unoapi_test.cxx
callgrind.cxx
htmltesttools.cxx fix memory leak of xmlDoc objects 2020-05-07 09:52:27 +02:00
isheadless.hxx
screenshot_test.cxx
setupvcl.cxx make some headers private 2020-02-03 20:24:00 +01:00
setupvcl.hxx make some headers private 2020-02-03 20:24:00 +01:00
unoapi_property_testers.cxx
unoapi_test.cxx
vclbootstrapprotector.cxx make some headers private 2020-02-03 20:24:00 +01:00
xmltesttools.cxx tdf#127778 DOCX import: fix unexpected heading on non-first page ... 2020-05-12 09:02:43 +02:00