16 from wx.html import HtmlEasyPrinting
22 HtmlEasyPrinting.__init__(self, parentWindow=parent)
25 text = text.replace(
'\t',
' ')
26 text = text.replace(
' ',
' ')
27 text = text.replace(
'\n\n',
'<p>')
28 text = text.replace(
'\n',
'<br>')
32 if not '<html>' in text:
34 HtmlEasyPrinting.PreviewText(self, text)
def __init__(self, parent)
def preview_text(self, text)
def GetHtmlText(self, text)