https://bugs.documentfoundation.org/show_bug.cgi?id=60953

--- Comment #25 from Julien Nabet <[email protected]> ---
Created attachment 175876
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175876&action=edit
Result of a test 2

With this patch:
diff --git
a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
index d8e50d2d4991..398dd83d42a2 100644
---
a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
+++
b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
@@ -731,8 +731,7 @@ public class TextRawReportTarget extends
OfficeDocumentReportTarget
         {
             expectedTableRowCount = trc;
         }
-
-        if (isSectionPagebreakBefore(attrs))
+        if (isSectionPagebreakBefore(attrs) || isSectionPagebreakAfter(attrs))
         {
             // force a pagebreak ..
             setPagebreakDefinition(new
PageBreakDefinition(isResetPageNumber()));

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to