0001515: GraphViz reports don't register page margins on report_options.xml

svn: r9758
This commit is contained in:
Brian Matherly 2008-01-09 05:23:27 +00:00
parent 21f8c08ace
commit 65adf61947
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-01-08 Brian Matherly <brian@gramps-project.org>
* src/ReportBase/_GraphvizReportDialog.py:
Fix 0001515: GraphViz reports don't register page margins on
report_options.xml
2008-01-08 Brian Matherly <brian@gramps-project.org> 2008-01-08 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorChart.py: * src/plugins/AncestorChart.py:
* src/plugins/DescendChart.py: * src/plugins/DescendChart.py:

View File

@ -886,7 +886,9 @@ class GraphvizReportDialog(ReportDialog):
self.paper_label.set_use_markup(True) self.paper_label.set_use_markup(True)
self.paper_frame = PaperFrame(self.options.handler.get_paper_name(), self.paper_frame = PaperFrame(self.options.handler.get_paper_name(),
self.options.handler.get_orientation()) self.options.handler.get_orientation(),
self.options.handler.get_margins()
)
self.notebook.insert_page(self.paper_frame,self.paper_label,0) self.notebook.insert_page(self.paper_frame,self.paper_label,0)
self.paper_frame.show_all() self.paper_frame.show_all()
@ -945,6 +947,7 @@ class GraphvizReportDialog(ReportDialog):
self.options.handler.set_paper_name(self.paper_frame.get_paper_name()) self.options.handler.set_paper_name(self.paper_frame.get_paper_name())
self.options.handler.set_orientation(self.paper_frame.get_orientation()) self.options.handler.set_orientation(self.paper_frame.get_orientation())
self.options.handler.set_margins(self.paper_frame.get_paper_margins())
# Create the output document. # Create the output document.
self.make_document() self.make_document()