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

Julien Nabet <serval2...@yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2...@yahoo.fr

--- Comment #23 from Julien Nabet <serval2...@yahoo.fr> ---
Created attachment 175867
  --> https://bugs.documentfoundation.org/attachment.cgi?id=175867&action=edit
Result of a test

Robert:
I tried 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..6888da1d204b 100644
---
a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
+++
b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java
@@ -979,6 +979,12 @@ public class TextRawReportTarget extends
OfficeDocumentReportTarget
             performStyleProcessing(attrs);
         }

+        if (isSectionPagebreakAfter(attrs))
+        {
+            // force a pagebreak ..
+            setPagebreakDefinition(new
PageBreakDefinition(isResetPageNumber()));
+        }
+
         final String namespace =
ReportTargetUtil.getNamespaceFromAttribute(attrs);
         final String elementType =
ReportTargetUtil.getElemenTypeFromAttribute(attrs);
         final AttributeList attrList = buildAttributeList(attrs);

I'm not sure what should be the result of After, could you tell me if the pdf
is ok or not?

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

Reply via email to