summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/attributeoutputbase.hxx
diff options
context:
space:
mode:
authorAttila Szűcs <szucs.attila3@nisz.hu>2021-02-25 13:29:46 +0100
committerLászló Németh <nemeth@numbertext.org>2021-02-28 12:47:34 +0100
commitd58229d61b8bbf9eb0db841826e361940c7b2a4a (patch)
treed27fbbaac824dffe834e483d3b16a82a9971c10a /sw/source/filter/ww8/attributeoutputbase.hxx
parentf604e1a305bd858bbe424811dc06b611caf8cd2b (diff)
tdf#121666 DOCX export: fix missing page break
When an empty paragraph has both page break and section break, only the section break was exported to DOCX, the page break was not, while MSO needs that to show all page breaks. The DOC and RTF exports were not changed by this fix (not sure if the problem are present with them or not). Co-authored-by: Tibor Nagy (NISZ) Change-Id: I5deac0390666415e36a541c731dda4bc0a2ad6ad Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111543 Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'sw/source/filter/ww8/attributeoutputbase.hxx')
-rw-r--r--sw/source/filter/ww8/attributeoutputbase.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/attributeoutputbase.hxx b/sw/source/filter/ww8/attributeoutputbase.hxx
index 2a54795e05cc..e102b3f7012b 100644
--- a/sw/source/filter/ww8/attributeoutputbase.hxx
+++ b/sw/source/filter/ww8/attributeoutputbase.hxx
@@ -298,7 +298,7 @@ public:
/// Write a section break
/// msword::ColumnBreak or msword::PageBreak
/// bBreakAfter: the break must be scheduled for insertion in the end of current paragraph
- virtual void SectionBreak( sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo* pSectionInfo = nullptr ) = 0;
+ virtual void SectionBreak( sal_uInt8 nC, bool bBreakAfter, const WW8_SepInfo* pSectionInfo = nullptr, bool bExtraPageBreak = false ) = 0;
// preserve page vertical alignment
virtual void TextVerticalAdjustment( const css::drawing::TextVerticalAdjust) {};