Inheritance diagram for wx.richtext.RichTextPrinting:
This class provides a simple interface for performing wx.richtext.RichTextBuffer printing and previewing. It uses wx.richtext.RichTextPrintout for layout and rendering.
Constructor. Optionally pass a title to be used in the preview frame and printing wait dialog, and also a parent window for these windows.
Parameters:
Returns:
A convenience function to get the footer text.
Parameters:
Returns:
string
Returns the internal wx.richtext.RichTextHeaderFooterData object.
Returns:
wx.richtext.RichTextHeaderFooterData
A convenience function to get the header text.
Parameters:
Returns:
string
Returns a pointer to the internal page setup data.
Returns:
Returns the parent window to be used for the preview window and printing wait dialog.
Returns:
Returns a pointer to the internal print data.
Returns:
Returns the title of the preview window or printing wait caption.
Returns:
string
Shows a preview window for the given buffer. The function takes its own copy of buffer.
Parameters:
Returns:
bool
Shows a preview window for the given file.
richTextFile can be a text file or XML file, or other file depending on the available file handlers.
Parameters:
Returns:
bool
Prints the given buffer. The function takes its own copy of buffer.
Parameters:
Returns:
bool
Prints the given file.
richTextFile can be a text file or XML file, or other file depending on the available file handlers.
Parameters:
Returns:
bool
A convenience function to set the footer text.
Parameters:
Sets the internal wx.richtext.RichTextHeaderFooterData object.
Parameters:
Sets the wx.richtext.RichTextHeaderFooterData font.
Parameters:
Sets the wx.richtext.RichTextHeaderFooterData text colour.
Parameters:
A convenience function to set the header text.
Parameters:
Sets the page setup data.
Parameters:
Sets the parent window to be used for the preview window and printing wait dialog.
Parameters:
Sets the dimensions to be used for the preview window.
Parameters:
Sets the print data.
Parameters:
Parameters:
Parameters:
Pass True to show the header and footer on the first page.
Parameters:
Pass the title of the preview window or printing wait caption.
Parameters: