path: root/desktop/source
diff options
authorJustin Luth <>2017-04-11 21:01:45 +0300
committerJustin Luth <>2017-05-19 13:31:27 +0200
commitcee02e81cd3b55fb46eacf5db5713e8bf4363bcd (patch)
tree8e3bc5eddfc8d6ab18acd8ad278b5ccbc9b4eb27 /desktop/source
parent5859c40d48108f2d0418ae073cf8df65da5b759c (diff)
ooxmlexport: roundtrip tdf#103975's unit tests
MS documentation for splitPgBreakAndParaMark only mentions page breaks, not column breaks. (Always Move Paragraph Mark to Page after a Page Break) This element specifies whether a page break shall automatically complete the line on which it appears, moving the end of the paragraph to a new line on the next page, or if it shall behave as true run-level content within its current paragraph. Typically, a page break defined using the br element is treated as run-level content, which means that although it delimits the end of the page, if there is no content after it within the current paragraph, that the paragraph shall also end on that page. This element, when present with a val attribute value of true (or equivalent), specifies that a page break shall always immediately end the current page, moving the paragraph mark which delimits the end of its parent paragraph to a new line on the next page. Note that this setting only affects the case where there is no run-level content after the page break within the paragraph - if any further run content appears in the paragraph it shall appear on subsequent lines on the next page I borrowed the !footnote code from the if newline ELSE section. It seemed appropriate to take the same precautions here. || bSingleParagraph was added specifically for COLUMN_BREAK. That is obsolete now, so removing. There is a lot of old code here that I have questions about. I tried to change as little as possible, but likely lots of the existing logic is just wrong. Change-Id: Ib988c6623acb2b6152118098b706314bfbfb99e3 Reviewed-on: Tested-by: Jenkins <> Reviewed-by: Justin Luth <>
Diffstat (limited to 'desktop/source')
0 files changed, 0 insertions, 0 deletions