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

Posted: 2007/12/31 08:57:48
 
View Entire Thread
New Search


dabo Commit
Revision 3848
Date: 2007-12-31 05:57:48 -0800 (Mon, 31 Dec 2007)
Author: Paul
Trac: http://svn.dabodev.com/trac/dabo/changeset/3848

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

Log:
Added some page size examples to the docstring. Thanks Carl for the
suggestion.


Diff:
Modified: trunk/dabo/lib/reportWriter.py
===================================================================
--- trunk/dabo/lib/reportWriter.py 2007-12-28 17:12:01 UTC (rev 3847)
+++ trunk/dabo/lib/reportWriter.py 2007-12-31 13:57:48 UTC (rev 3848)
@@ -401,9 +401,20 @@
Must evaluate to one of 'portrait' or 'landscape'.""")

self.AvailableProps["Size"] = toPropDict(str, "letter",
- """Specifies the page size.""")
+ """Specifies the page size.

+ This is a tuple of (width, heigth) such as:
+ ('8 in', '5.5 in')

+ You may also use, in place of the tuple, some common
+ identifiers such as:
+ 'Letter'
+ 'A4'
+
+ See also the Orientation property, which merely swaps
+ the width and height values. """)
+
+
class Group(ReportObject):
"""Represents report groups."""
def initAvailableProps(self):





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