* src/plugins/BookReport.py (BookReportDialog.__init__): Do not
* src/plugins/FtmStyleDescendants.py (FtmDescendantReport.__init__): * src/plugins/IndivComplete.py (IndivComplete.__init__): Likewise. * src/plugins/IndivSummary.py (IndivSummary.__init__): Likewise. svn: r1859
This commit is contained in:
@@ -823,11 +823,9 @@ class BookReportDialog(Report.ReportDialog):
|
||||
self.book = book
|
||||
self.database = database
|
||||
self.person = person
|
||||
|
||||
self.default_style = TextDoc.StyleSheet()
|
||||
|
||||
for item in self.book.get_item_list():
|
||||
name = item.get_name()
|
||||
item = BookItem(name)
|
||||
style_file = item.get_style_file()
|
||||
make_default_style = item.get_make_default_style()
|
||||
make_default_style(self.default_style)
|
||||
|
||||
@@ -60,7 +60,7 @@ class FtmDescendantReport(Report.Report):
|
||||
self.max_generations = max
|
||||
self.pgbrk = pgbrk
|
||||
self.doc = doc
|
||||
#self.setup()
|
||||
self.setup()
|
||||
self.newpage = newpage
|
||||
if output:
|
||||
self.standalone = 1
|
||||
|
||||
@@ -76,6 +76,7 @@ class IndivComplete(Report.Report):
|
||||
self.database = database
|
||||
self.person = person
|
||||
self.output = output
|
||||
self.setup()
|
||||
self.newpage = newpage
|
||||
if output:
|
||||
self.standalone = 1
|
||||
|
||||
@@ -76,6 +76,7 @@ class IndivSummary(Report.Report):
|
||||
self.database = database
|
||||
self.person = person
|
||||
self.output = output
|
||||
self.setup()
|
||||
if output:
|
||||
self.standalone = 1
|
||||
self.d.open(output)
|
||||
|
||||
Reference in New Issue
Block a user