dabo Commit
Revision 5252
Date: 2009-06-18 13:41:56 -0700 (Thu, 18 Jun 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5252

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

Log:
Fixed a bug that was causing one of my reports to print an initial blank page.

Larry, part of this reverts my change in r5226 which fixed an overprinting 
problem you were having. Could you verify that all is well still? All my
reports are printing fine with this change.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py      2009-06-18 16:17:05 UTC (rev 5251)
+++ trunk/dabo/lib/reportWriter.py      2009-06-18 20:41:56 UTC (rev 5252)
@@ -1638,11 +1638,8 @@
                                        extraHeight = self.getBandHeight(b)
 
                                check = pageFooterOrigin[1] + pfHeight + 
extraHeight
-                               if bandDict.getProp("height") is not None:
-                                       # band height is fixed, won't flow to 
next page. 
-                                       check += bandHeight
 
-                               if y <= check:
+                               if y < check:
                                        if self._currentColumn >= columnCount-1:
                                                endPage()
                                                beginPage()



_______________________________________________
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