0002467: Add christening narration to detailed text reports.

svn: r11629
This commit is contained in:
Brian Matherly
2009-01-15 21:40:25 +00:00
parent 89bf35e342
commit dacbd0df19
3 changed files with 255 additions and 2 deletions

View File

@@ -250,6 +250,11 @@ class DetAncestorReport(Report):
self.endnotes, self.EMPTY_DATE, self.EMPTY_PLACE)
if text:
self.doc.write_text(text)
text = ReportUtils.christened_str(self.database, person, first, self.verbose,
self.endnotes, self.EMPTY_DATE, self.EMPTY_PLACE)
if text:
self.doc.write_text(text)
span = self.calc_age(person)
text = ReportUtils.died_str(self.database, person, first, self.verbose,

View File

@@ -530,6 +530,11 @@ class DetDescendantReport(Report):
self.endnotes, self.EMPTY_DATE,self.EMPTY_PLACE)
if text:
self.doc.write_text(text)
text = ReportUtils.christened_str(self.database, person, first, self.verbose,
self.endnotes, self.EMPTY_DATE, self.EMPTY_PLACE)
if text:
self.doc.write_text(text)
span = self.calc_age(person)
text = ReportUtils.died_str(self.database, person, first, self.verbose,