* Ancestors.py (AncestorsReport.__init__): Define Photo and
Entry cell styles. svn: r1736
This commit is contained in:
parent
13ce8ec289
commit
fa7d837011
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user