main logo
Subject: [dabo-dev] dabo Commit 1884
Author: Paul McNett

Posted: 2006/01/31 19:09:17
 
View Entire Thread
New Search


dabo Commit
Revision 1884
Date: 2006-01-31 16:09:18 -0800 (Tue, 31 Jan 2006)
Author: paul

Changed:
U trunk/dabo/lib/datanav/Form.py

Log:
No need to explicitly do the unicode conversion in the report fields, as that is done in the report writer.

Diff:
Modified: trunk/dabo/lib/datanav/Form.py
===================================================================
--- trunk/dabo/lib/datanav/Form.py 2006-01-31 19:58:23 UTC (rev 1883)
+++ trunk/dabo/lib/datanav/Form.py 2006-02-01 00:09:18 UTC (rev 1884)
@@ -739,7 +739,7 @@
rect["x"] = repr(x)
rect["y"] = "0"

- string["expr"] = "unicode(self.Record['%s'])" % col.DataField
+ string["expr"] = "self.Record['%s']" % col.DataField
string["Height"] = repr(col.FontSize)
string["Align"] = textHorAlignment
string["FontSize"] = repr(col.FontSize)
@@ -867,7 +867,7 @@
<width>%(Width)s</width>
<objects>
<paragraph>
- <expr>unicode(self.Record["%(DataField)s"])</expr>
+ <expr>self.Record["%(DataField)s"]</expr>
<fontName>"Helvetica"</fontName>
<fontSize>%(FontSize)s</fontSize>
<align>"%(Alignment)s"</align>
@@ -877,7 +877,7 @@
else:
rfxml += """
<string>
- <expr>unicode(self.Record["%(DataField)s"])</expr>
+ <expr>self.Record["%(DataField)s"]</expr>
<height>%(FontSize)s</height>
<borderWidth>0.25</borderWidth>
<align>"%(Alignment)s"</align>





 
©2006 Paul McNett
<-- Prior Message New Search Next Message -->