Remove "parse_report_options_frame()" and "parse_other_frames()" from the report interface. They are not used.
svn: r8330
This commit is contained in:
		@@ -1,3 +1,10 @@
 | 
			
		||||
2007-03-27  Brian Matherly  <brian@gramps-project.org>
 | 
			
		||||
	* 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  <brian@gramps-project.org>
 | 
			
		||||
	* src/ReportBase/_ReportOptions.py
 | 
			
		||||
	* src/plugins/DescendChart.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
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user