diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-08-28 15:32:11 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-10-28 10:37:15 +0100 |
commit | 28dddd4f7e255c74c17c0c6b263303f4567b5678 (patch) | |
tree | b01df5b135d6100df209178ae2af57549ea9ccc3 /dictionaries | |
parent | de1c4863ab993c80d8fea50ce420d568f75bf2e6 (diff) |
tdf#132149 ww8export: respect ginormous paragraphs
This handles the extremely unlikely case where
a single paragraph contains multiple soft-page-breaks
from spanning more than two pages.
But it makes the unit tests I designed look much
better, so I am happy. I think it might help to
make the code slightly more understandable too,
and it convinces me that I am understanding
this section as I write multiple fixes against it.
[Better evidence than all of this is that Michael Stahl
came the the same conclusion from a code read - I just
beat him to it.]
(P.S. It isn't enough to change CurrentPageDesc, because
that is reset from rNode.FindPageDesc on every WriteText.
So the effective pageDesc needs to be kept track of.)
Change-Id: I5852e90571a74f3df4362caf058f7960f413dad3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101545
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'dictionaries')
0 files changed, 0 insertions, 0 deletions