diff options
author | Justin Luth <justin.luth@collabora.com> | 2023-03-07 07:43:14 -0500 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2023-03-08 12:25:57 +0000 |
commit | 96a502b3756a1c100b40235f50ef2122d5b543f9 (patch) | |
tree | bb18c5e330166f01b79432b9d6c0d2db8cdffafa /testtools | |
parent | bcf0f2b6d87f6be18c417e3537f5cf9b320c4348 (diff) |
tdf#153964 writerfilter compat15: top margin after break split
The problem was that the top margin was being applied
to the new paragraph after the split.
This is absolutely attrocious in MS Word before 2013.
If I am going to be in error, I want to error on the side
of being compliant with compat15, since all other versions
of MS Word are now unsupported.
I think I have the logic of it mostly figured out.
In compat15, the top margin never applies after the break.
In compat14, if the paragraph properties are not applied
to a run before the break, then they can be applied after the break.
make CppunitTest_sw_ooxmlexport18 \
CPPUNIT_TEST_NAME=testTdf153964_topMarginAfterBreak14
make CppunitTest_sw_ooxmlexport18 \
CPPUNIT_TEST_NAME=testTdf153964_topMarginAfterBreak15
Change-Id: I8816b391e898cfea58c2e0dbf01c881f87bbc4c4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148451
Tested-by: Justin Luth <jluth@mail.com>
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'testtools')
0 files changed, 0 insertions, 0 deletions