dabo Commit
Revision 5243
Date: 2009-06-03 15:35:56 -0700 (Wed, 03 Jun 2009)
Author: Paul
Trac: http://trac.dabodev.com/changeset/5243
Changed:
U trunk/dabo/lib/reportWriter.py
Log:
Attempted a fix for r1234 to only account for shown objects in band height
calculations.
Fixed a previous fix to keep group properties from being written to the
rfxml twice.
Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py 2009-06-02 17:14:07 UTC (rev 5242)
+++ trunk/dabo/lib/reportWriter.py 2009-06-03 22:35:56 UTC (rev 5243)
@@ -1776,7 +1776,7 @@
for obj in objects:
obj_y = self.getPt(obj.getProp("y"))
obj_ht = obj.getProp("Height")
- if obj_ht is None:
+ if obj_ht is None or obj.getProp("Show") == False:
continue
# object height is fixed.
obj_ht = self.getPt(obj_ht)
@@ -1890,7 +1890,7 @@
self._getXMLDictFromForm(formobj, obj)
break
else:
- if
element != "groups":
+ if
element.lower() != "groups":
newchild = {"name": prop, "cdata": formobj[prop]}
obj["children"].append(newchild)
objects.append(obj)
_______________________________________________
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]