* src/TextDoc.py (PaperStyle.set_height, PaperStyle.set_width):

Add functions. Needed for setting custom size paper.
* configure.in: Set RELEASE to CVS-<date> string.


svn: r1974
This commit is contained in:
Alex Roitman
2003-08-09 21:08:20 +00:00
parent 84972ea9f2
commit 81a0f157d4
3 changed files with 14 additions and 1 deletions

View File

@@ -151,10 +151,18 @@ class PaperStyle:
"Returns the page height in cm"
return self.height
def set_height(self,height):
"Sets the page height in cm"
self.height = height
def get_width(self):
"Returns the page width in cm"
return self.width
def set_width(self,width):
"Sets the page width in cm"
self.width = width
def get_height_inches(self):
"Returns the page height in inches"
return self.height / 2.54