From 6e6baf585b7402b98c976ae034131821d0b609a8 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 14 Jun 2003 13:58:24 +0000 Subject: [PATCH] * Ancestors.py (AncestorsReport.__init__): Define Photo and Entry cell styles. svn: r1736 --- src/plugins/Ancestors.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/Ancestors.py b/src/plugins/Ancestors.py index cd6c33226..9e3d31f18 100644 --- a/src/plugins/Ancestors.py +++ b/src/plugins/Ancestors.py @@ -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)