From bbc7cc696eb3884f2d3f1d99c2e0820f0938be41 Mon Sep 17 00:00:00 2001 From: Alex Roitman Date: Fri, 26 Mar 2004 23:28:55 +0000 Subject: [PATCH] * src/plugins/FtmStyleDescendants.py (_make_default_style, print_children): Add new style for numbering children. svn: r3062 --- ChangeLog | 4 ++++ src/plugins/FtmStyleDescendants.py | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0c0fe2e66..8b05b8c41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2004-01-26 Alex Roitman + * src/plugins/FtmStyleDescendants.py (_make_default_style, + print_children): Add new style for numbering children. + 2004-03-24 Don Allingham * src/gramps_main.py: remove unused functions, fix history * src/FamilyView.py: improve reordering of children diff --git a/src/plugins/FtmStyleDescendants.py b/src/plugins/FtmStyleDescendants.py index e0073c4c3..42bc158f1 100644 --- a/src/plugins/FtmStyleDescendants.py +++ b/src/plugins/FtmStyleDescendants.py @@ -658,13 +658,13 @@ class FtmDescendantReport(Report.Report): self.doc.start_row() self.doc.start_cell('FTD-Normal') - self.doc.start_paragraph('FTD-Details') + self.doc.start_paragraph('FTD-Child-Num') self.doc.write_text("%d." % index) self.doc.end_paragraph() self.doc.end_cell() self.doc.start_cell('FTD-Normal') - self.doc.start_paragraph('FTD-Details') + self.doc.start_paragraph('FTD-Child-Num') self.doc.write_text("%s." % string.lower(Utils.roman(child_index))) self.doc.end_paragraph() self.doc.end_cell() @@ -1395,6 +1395,11 @@ def _make_default_style(default_style): para.set_description(_('The basic style used for the text display.')) default_style.add_style("FTD-Details",para) + para = BaseDoc.ParagraphStyle() + para.set(lmargin=0.0,pad=0.05) + para.set_description(_('The style used for numbering children.')) + default_style.add_style("FTD-Child-Num",para) + para = BaseDoc.ParagraphStyle() para.set(lmargin=1.0,pad=0.25) para.set_description(_('The basic style used for the text display.'))