Update of /cvsroot/pythonreports/PythonReports/PythonReports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20070
Modified Files:
drivers.py
Log Message:
driver classes have backend name property
Index: drivers.py
===================================================================
RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/drivers.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** drivers.py 1 Nov 2006 11:01:59 -0000 1.1
--- drivers.py 1 Nov 2006 17:37:56 -0000 1.2
***************
*** 6,9 ****
--- 6,10 ----
"""
"""History (most recent first):
+ 01-nov-2006 [als] driver classes have backend name property
11-oct-2006 [als] fix variable name in ImageDriver.resize
05-oct-2006 [als] created
***************
*** 84,87 ****
--- 85,89 ----
"""
+ backend = None # backend name, must be set in child classes
filepath = None # set when loaded from disk file
name = None # name of data block
***************
*** 250,253 ****
--- 252,260 ----
"""
+ backend = None # backend name, must be set in child classes
+ height = None # line height, in points
+ leading = None # distance between baselines of two subsequent rows,
+ # in points
+
def __init__(self, font):
"""Create text driver instance
|