dabo Commit
Revision 7227
Date: 2012-08-21 13:25:00 -0700 (Tue, 21 Aug 2012)
Author: Paul
Trac: http://trac.dabodev.com/changeset/7227

Changed:
U   trunk/dabo/lib/reportWriter.py

Log:
When a page change happened, the completion of the spanning lines and rectangles
weren't going down far enough, resulting in the last record data appearing 
outside
the rectangle. Fixed.



Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2012-08-16 19:38:46 UTC (rev 7226)
+++ trunk/dabo/lib/reportWriter.py      2012-08-21 20:25:00 UTC (rev 7227)
@@ -2446,7 +2446,11 @@
                def endPage():
                        self._currentColumn = 0
                        x = 
self.getPt(self.ReportForm["Page"].getProp("MarginLeft"))
-                       self.drawSpanningObjects((x,y))
+                       y1 = y
+                       if self.being_deferred:
+                               y1 = 
self.getPt(self.ReportForm["PageFooter"].getProp("Height")) \
+                                               + 
self.getPt(self.ReportForm["Page"].getProp("MarginBottom"))
+                       self.drawSpanningObjects((x,y1))
                        for band in ("pageFooter", "pageForeground"):
                                printBand(band)
                        self.Canvas.showPage()



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to