* src/ReportBase/_PaperMenu.py: rename PaperStyle to PaperSize

* src/docgen/HtmlDoc.py: rename PaperStyle to PaperSize
* src/BaseDoc.py: rename PaperStyle to PaperSize
* src/plugins/Calendar.py: don't use tmargin

svn: r8166
This commit is contained in:
Brian Matherly
2007-02-19 04:13:41 +00:00
parent cd68d34841
commit f53f1abc21
5 changed files with 33 additions and 41 deletions

View File

@ -197,7 +197,7 @@ class Calendar(Report):
self.doc.start_page()
width = self.doc.get_usable_width()
height = self.doc.get_usable_height()
header = self.doc.tmargin
header = 2.54 # one inch
self.draw_rectangle("CAL-Border", 0, 0, width, height)
self.doc.draw_bar("CAL-Title", 0, 0, width, header)
self.doc.draw_line("CAL-Border", 0, header, width, header)