Package mathbench :: Package lab :: Module notebook :: Class Printer
[hide private]

Class Printer

source code

          object --+        
                   |        
     wx._core.Object --+    
                       |    
wx.html.HtmlEasyPrinting --+
                           |
                          Printer

Small printing class taken from: http://wiki.wxpython.org/Printing

Instance Methods [hide private]
 
__init__(self)
__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting
source code
 
GetHtmlText(self, text)
Simple conversion of text.
source code
 
Print(self, text, doc_name) source code
 
PreviewText(self, text, doc_name)
PreviewText(self, String htmltext, String basepath=EmptyString)
source code

Inherited from wx.html.HtmlEasyPrinting: GetPageSetupData, GetPrintData, PageSetup, PreviewFile, PrintFile, PrintText, SetFonts, SetFooter, SetHeader, SetStandardFonts, __del__, __repr__, __swig_destroy__

Inherited from wx._core.Object: Destroy, GetClassName, IsSameAs

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Properties [hide private]

Inherited from wx.html.HtmlEasyPrinting: PageSetupData, PrintData, thisown

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 
__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting
Overrides: wx.html.HtmlEasyPrinting.__init__
(inherited documentation)

GetHtmlText(self, text)

source code 
Simple conversion of text. Use a more powerful version

PreviewText(self, text, doc_name)

source code 
PreviewText(self, String htmltext, String basepath=EmptyString)
Overrides: wx.html.HtmlEasyPrinting.PreviewText
(inherited documentation)