diff --git a/ChangeLog b/ChangeLog index 1f3f81b00..8bd93088d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-03-27 Brian Matherly + * src/ReportBase/_ReportDialog.py + * src/ReportBase/_BareReportDialog.py + * src/plugins/BookReport.py + Remove "parse_report_options_frame()" and "parse_other_frames()" from the + report interface. They are not used. + 2007-03-27 Brian Matherly * src/ReportBase/_ReportOptions.py * src/plugins/DescendChart.py diff --git a/src/ReportBase/_BareReportDialog.py b/src/ReportBase/_BareReportDialog.py index 954a6d57e..d9449b291 100644 --- a/src/ReportBase/_BareReportDialog.py +++ b/src/ReportBase/_BareReportDialog.py @@ -103,7 +103,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow): def init_interface(self): self.extra_menu = None - self.extra_textbox = None self.widgets = [] self.frame_names = [] self.frames = {} @@ -457,24 +456,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow): (style_name,self.selected_style) = self.style_menu.get_value() self.options.handler.set_default_stylesheet_name(style_name) - def parse_report_options_frame(self): - """Parse the report options frame of the dialog. Save the - user selected choices for later use. Note that this routine - retrieves a value from all fields in the frame, regardless of - whether or not they are displayed on the screen. The subclass - will know which ones it has enabled. This is for simplicity - of programming.""" - if self.extra_menu: - self.report_menu = self.extra_menu.get_menu().get_active().get_data("d") - else: - self.report_menu = None - - def parse_other_frames(self): - """Do nothing. This sole purpose of this function is to give - subclass a place to hang a routine to parser any other frames - that are unique to that specific report.""" - pass - #------------------------------------------------------------------------ # # Callback functions from the dialog @@ -495,8 +476,6 @@ class BareReportDialog(ManagedWindow.ManagedWindow): # Preparation self.parse_style_frame() - self.parse_report_options_frame() - self.parse_other_frames() self.parse_user_options() # Save options diff --git a/src/ReportBase/_ReportDialog.py b/src/ReportBase/_ReportDialog.py index f31d44274..5fdf7a257 100644 --- a/src/ReportBase/_ReportDialog.py +++ b/src/ReportBase/_ReportDialog.py @@ -594,8 +594,6 @@ class ReportDialog(BareReportDialog): self.parse_style_frame() self.parse_paper_frame() self.parse_html_frame() - self.parse_report_options_frame() - self.parse_other_frames() self.parse_user_options() # Create the output document. diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 6a3e62aea..b122e9cc8 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -966,7 +966,6 @@ class BookItemDialog(BareReportDialog): # Preparation self.parse_style_frame() - self.parse_report_options_frame() self.parse_user_options() if self.new_person: @@ -1027,8 +1026,6 @@ class BookReportDialog(ReportDialog): def setup_report_options_frame(self): pass def setup_other_frames(self): pass def parse_style_frame(self): pass - def parse_report_options_frame(self): pass - def parse_other_frames(self): pass def doc_uses_tables(self): return 1