+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlDCRenderer):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def SetDC(*args, **kwargs):
+ """SetDC(self, DC dc, int maxwidth)"""
+ return _html.HtmlDCRenderer_SetDC(*args, **kwargs)
+
+ def SetSize(*args, **kwargs):
+ """SetSize(self, int width, int height)"""
+ return _html.HtmlDCRenderer_SetSize(*args, **kwargs)
+
+ def SetHtmlText(*args, **kwargs):
+ """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
+ return _html.HtmlDCRenderer_SetHtmlText(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlDCRenderer_SetFonts(*args, **kwargs)
+
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlDCRenderer_SetStandardFonts(*args, **kwargs)
+
+ def Render(*args, **kwargs):
+ """
+ Render(self, int x, int y, int from=0, int dont_render=False, int maxHeight=INT_MAX,
+ int choices=None, int LCOUNT=0) -> int
+ """
+ return _html.HtmlDCRenderer_Render(*args, **kwargs)
+
+ def GetTotalHeight(*args, **kwargs):
+ """GetTotalHeight(self) -> int"""
+ return _html.HtmlDCRenderer_GetTotalHeight(*args, **kwargs)
+
+
+class HtmlDCRendererPtr(HtmlDCRenderer):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlDCRenderer
+_html.HtmlDCRenderer_swigregister(HtmlDCRendererPtr)
+
+PAGE_ODD = _html.PAGE_ODD
+PAGE_EVEN = _html.PAGE_EVEN
+PAGE_ALL = _html.PAGE_ALL
+class HtmlPrintout(_windows.Printout):
+ """Proxy of C++ HtmlPrintout class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlPrintout instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String title=HtmlPrintoutTitleStr) -> HtmlPrintout"""
+ newobj = _html.new_HtmlPrintout(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def SetHtmlText(*args, **kwargs):
+ """SetHtmlText(self, String html, String basepath=EmptyString, bool isdir=True)"""
+ return _html.HtmlPrintout_SetHtmlText(*args, **kwargs)
+
+ def SetHtmlFile(*args, **kwargs):
+ """SetHtmlFile(self, String htmlfile)"""
+ return _html.HtmlPrintout_SetHtmlFile(*args, **kwargs)
+
+ def SetHeader(*args, **kwargs):
+ """SetHeader(self, String header, int pg=PAGE_ALL)"""
+ return _html.HtmlPrintout_SetHeader(*args, **kwargs)
+
+ def SetFooter(*args, **kwargs):
+ """SetFooter(self, String footer, int pg=PAGE_ALL)"""
+ return _html.HtmlPrintout_SetFooter(*args, **kwargs)
+
+ def SetFonts(*args, **kwargs):
+ """SetFonts(self, String normal_face, String fixed_face, PyObject sizes=None)"""
+ return _html.HtmlPrintout_SetFonts(*args, **kwargs)
+
+ def SetStandardFonts(*args, **kwargs):
+ """SetStandardFonts(self, int size=-1, String normal_face=EmptyString, String fixed_face=EmptyString)"""
+ return _html.HtmlPrintout_SetStandardFonts(*args, **kwargs)
+
+ def SetMargins(*args, **kwargs):
+ """
+ SetMargins(self, float top=25.2, float bottom=25.2, float left=25.2,
+ float right=25.2, float spaces=5)
+ """
+ return _html.HtmlPrintout_SetMargins(*args, **kwargs)
+
+ def AddFilter(*args, **kwargs):
+ """AddFilter(wxHtmlFilter filter)"""
+ return _html.HtmlPrintout_AddFilter(*args, **kwargs)
+
+ AddFilter = staticmethod(AddFilter)
+ def CleanUpStatics(*args, **kwargs):
+ """CleanUpStatics()"""
+ return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
+
+ CleanUpStatics = staticmethod(CleanUpStatics)
+
+class HtmlPrintoutPtr(HtmlPrintout):
+ def __init__(self, this):
+ self.this = this
+ if not hasattr(self,"thisown"): self.thisown = 0
+ self.__class__ = HtmlPrintout
+_html.HtmlPrintout_swigregister(HtmlPrintoutPtr)
+
+def HtmlPrintout_AddFilter(*args, **kwargs):
+ """HtmlPrintout_AddFilter(wxHtmlFilter filter)"""
+ return _html.HtmlPrintout_AddFilter(*args, **kwargs)
+
+def HtmlPrintout_CleanUpStatics(*args, **kwargs):
+ """HtmlPrintout_CleanUpStatics()"""
+ return _html.HtmlPrintout_CleanUpStatics(*args, **kwargs)
+
+class HtmlEasyPrinting(_core.Object):
+ """Proxy of C++ HtmlEasyPrinting class"""
+ def __repr__(self):
+ return "<%s.%s; proxy of C++ wxHtmlEasyPrinting instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
+ def __init__(self, *args, **kwargs):
+ """__init__(self, String name=HtmlPrintingTitleStr, Window parentWindow=None) -> HtmlEasyPrinting"""
+ newobj = _html.new_HtmlEasyPrinting(*args, **kwargs)
+ self.this = newobj.this
+ self.thisown = 1
+ del newobj.thisown
+ def __del__(self, destroy=_html.delete_HtmlEasyPrinting):
+ """__del__(self)"""
+ try:
+ if self.thisown: destroy(self)
+ except: pass
+
+ def PreviewFile(*args, **kwargs):
+ """PreviewFile(self, String htmlfile)"""
+ return _html.HtmlEasyPrinting_PreviewFile(*args, **kwargs)
+
+ def PreviewText(*args, **kwargs):
+ """PreviewText(self, String htmltext, String basepath=EmptyString)"""
+ return _html.HtmlEasyPrinting_PreviewText(*args, **kwargs)
+
+ def PrintFile(*args, **kwargs):
+ """PrintFile(self, String htmlfile)"""
+ return _html.HtmlEasyPrinting_PrintFile(*args, **kwargs)
+
+ def PrintText(*args, **kwargs):
+ """PrintText(self, String htmltext, String basepath=EmptyString)"""
+ return _html.HtmlEasyPrinting_PrintText(*args, **kwargs)
+
+ def PageSetup(*args, **kwargs):
+ """PageSetup(self)"""
+ return _html.HtmlEasyPrinting_PageSetup(*args, **kwargs)
+
+ def SetHeader(*args, **kwargs):
+ """SetHeader(self, String header, int pg=PAGE_ALL)"""
+ return _html.HtmlEasyPrinting_SetHeader(*args, **kwargs)
+
+ def SetFooter(*args, **kwargs):
+ """SetFooter(self, String footer, int pg=PAGE_ALL)"""
+ return _html.HtmlEasyPrinting_SetFooter(*args, **kwargs)