Allow page break to be before or after a paragraph
connium opened this issue · 0 comments
Is your feature request related to a problem? Please describe.
It is not possible to read the page break property from a paragraphs style, so I cannot see, whether a page break is set to a paragraph. Additionally I cannot remove a previously set page break except by assigning a new style to the paragraph.
Describe the solution you'd like
On a paragraphs style it should be possible to set a page break property with a defined set of allowable values, e.g. setPageBreak(PageBreakType.None|Before|After)
.
On a paragraphs style it should be possible to read the current page break property, e.g. getPageBreak(): PageBreakType
.
The page break should default to None
.
Additional context
See fo:break-after and fo:break-before in the OASIS Open Document Format.