* Ancestors.py (AncestorsReport.__init__): Define Photo and

Entry cell styles.


svn: r1736
This commit is contained in:
Don Allingham 2003-06-14 13:58:24 +00:00
parent 13ce8ec289
commit fa7d837011

View File

@ -70,9 +70,14 @@ class AncestorsReport (Report.Report):
cell = TextDoc.TableCellStyle ()
cell.set_padding (1) # each side makes 2cm, the size of the photo
table.set_width (100)
doc.add_cell_style ("PaddedCell", cell)
cell = TextDoc.TableCellStyle ()
doc.add_cell_style ("Photo", cell)
cell = TextDoc.TableCellStyle ()
doc.add_cell_style ("Entry", cell)
if output:
self.standalone = 1
self.doc.open(output)