Update of /cvsroot/pythonreports/PythonReports/PythonReports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25772
Modified Files:
builder.py
Log Message:
support rectangle opacity
Index: builder.py
===================================================================
RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/builder.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** builder.py 6 Dec 2006 16:13:37 -0000 1.4
--- builder.py 7 Dec 2006 13:11:06 -0000 1.5
***************
*** 2,5 ****
--- 2,6 ----
# FIXME: column-based variables are not intelligible
"""History (most recent first):
+ 07-dec-2006 [als] support rectangle opacity
05-dec-2006 [als] fix errors and some warnings reported by pylint
04-nov-2006 [als] Builder: delay text_drivers initialization until run,
***************
*** 834,838 ****
elif _prp_tag == "rectangle":
_attrib["pencolor"] = _element.style["color"]
! _attrib["color"] = _element.style["bgcolor"]
elif _prp_tag == "barcode":
_attrib["stripes"] = ",".join([str(_stripe)
--- 835,840 ----
elif _prp_tag == "rectangle":
_attrib["pencolor"] = _element.style["color"]
! if _template.get("opaque"):
! _attrib["color"] = _element.style["bgcolor"]
elif _prp_tag == "barcode":
_attrib["stripes"] = ",".join([str(_stripe)
|