Tag: cws_src680_rpt23fix02
User: tmorgner
Date: 2007-07-26 11:10:40+0000
Modified:
   
dba/reportdesign/java/com/sun/star/report/pentaho/output/text/TextRawReportTarget.java

Log:
 Issue number:  78128
 
 .. and enforce the pagebreak after the group (to trigger the change of the
 master page) just to make sure that the page-header/footer is correct if
 the group has a parent-group. *Now* we've coverd all cases.
 
 

File Changes:

Directory: /dba/reportdesign/java/com/sun/star/report/pentaho/output/text/
==========================================================================

File [changed]: TextRawReportTarget.java
Url: 
http://dba.openoffice.org/source/browse/dba/reportdesign/java/com/sun/star/report/pentaho/output/text/TextRawReportTarget.java?r1=1.2.4.2&r2=1.2.4.3
Delta lines:  +5 -0
-------------------
--- TextRawReportTarget.java    2007-07-26 11:06:15+0000        1.2.4.2
+++ TextRawReportTarget.java    2007-07-26 11:10:37+0000        1.2.4.3
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: TextRawReportTarget.java,v $
  *
- *  $Revision: 1.2.4.2 $
+ *  $Revision: 1.2.4.3 $
  *
- *  last change: $Author: tmorgner $ $Date: 2007/07/26 11:06:15 $
+ *  last change: $Author: tmorgner $ $Date: 2007/07/26 11:10:37 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1098,6 +1098,11 @@
   protected void endGroup(final AttributeMap attrs)
       throws IOException, DataSourceException, ReportProcessingException
   {
+    if (getGroupContext().isGroupWithRepeatingSection())
+    {
+      setPagebreakDefinition(new PageBreakDefinition(isResetPageNumber()));
+    }
+
     super.endGroup(attrs);
     finishSection();
 




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to