2003-08-11 Tim Waugh <twaugh@redhat.com>

* src/docgen/OpenDrawDoc.py: Fixed tag mismatch.  Added report printing
        support.
        * src/Report.py: Report printing support added to Draw-style
        reports.


svn: r1991
This commit is contained in:
Tim Waugh
2003-08-11 17:33:27 +00:00
parent e39157ba94
commit e4c6227dc8
3 changed files with 18 additions and 2 deletions

View File

@@ -1312,7 +1312,8 @@ class DrawReportDialog(ReportDialog):
def make_document(self):
"""Create a document of the type requested by the user."""
self.doc = self.format(self.selected_style,self.paper,self.orien)
if self.print_report.get_active ():
self.doc.print_requested ()
class TemplateParser(handler.ContentHandler):
"""