wxhtmlprintoutthis class serves as printout class for html documents. derived from include files <wx/html/htmprint.h> members
wxhtmlprintout::wxhtmlprintout
wxhtmlprintout::wxhtmlprintoutwxhtmlprintout(const wxstring& title = "printout") constructor.
wxhtmlprintout::addfilterstatic void addfilter(wxhtmlfilter* filter) adds a filter to the static list of filters for wxhtmlprintout. see wxhtmlfilter for further information.
wxhtmlprintout::setfontsvoid setfonts(const wxstring& normal_face, const wxstring& fixed_face, const int *sizes = null) sets fonts. see wxhtmlwindow::setfonts for detailed description.
wxhtmlprintout::setfootervoid setfooter(const wxstring& footer, int pg = wxpage_all) set page footer. the following macros can be used inside it:
parameters footer
pg
wxhtmlprintout::setheadervoid setheader(const wxstring& header, int pg = wxpage_all) set page header. the following macros can be used inside it:
parameters header
pg
wxhtmlprintout::sethtmlfilevoid sethtmlfile(const wxstring& htmlfile) prepare the class for printing this html file. the file may be located on any virtual file system or it may be normal file.
wxhtmlprintout::sethtmltextvoid sethtmltext(const wxstring& html, const wxstring& basepath = wxemptystring, bool isdir = true) prepare the class for printing this html text. parameters html
basepath
isdir
wxhtmlprintout::setmarginsvoid setmargins(float top = 25.2, float bottom = 25.2, float left = 25.2, float right = 25.2, float spaces = 5) sets margins in millimeters. defaults to 1 inch for margins and 0.5cm for space between text and header and/or footer
|