.\" This is a wxWidgets manpage page generated from the XML docs .TH wxHtmlEasyPrinting 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxHtmlEasyPrinting \- Simple class for printing HTML .SH DESCRIPTION This class provides very simple interface to printing architecture. It allows you to print HTML documents using only a few commands. .SH NOTE Do not create this class on the stack only. You should create an instance on app startup and use this instance for all printing operations. The reason is that this class stores various settings in it. .SH "PARENTS" wxObject .SH "INCLUDE FILES" wx/html/htmprint.h .SH MEMBERS .SS wxHtmlEasyPrinting (const wxString& name = "Printing"wxWindow* parentWindow = NULL) Constructor. .SS bool PreviewFile (const wxString& htmlfile) Preview HTML file. Returns false in case of error -- call wxPrinter::GetLastError to get detailed information about the kind of the error. .SS bool PreviewText (const wxString& htmltextconst wxString& basepath = wxEmptyString) Preview HTML text (not file!). Returns false in case of error -- call wxPrinter::GetLastError to get detailed information about the kind of the error. .SS bool PrintFile (const wxString& htmlfile) Print HTML file. Returns false in case of error -- call wxPrinter::GetLastError to get detailed information about the kind of the error. .SS bool PrintText (const wxString& htmltextconst wxString& basepath = wxEmptyString) Print HTML text (not file!). Returns false in case of error -- call wxPrinter::GetLastError to get detailed information about the kind of the error. .SS void PageSetup () Display page setup dialog and allows the user to modify settings. .SS void SetFonts (const wxString& normal_faceconst wxString& fixed_faceconst int *sizes = NULL) Sets fonts. See wxHtmlWindow::SetFonts for detailed description. .SS void SetHeader (const wxString& headerint pg = wxPAGE_ALL) Set page header. .SS void SetFooter (const wxString& footerint pg = wxPAGE_ALL) Set page footer. .SS wxPrintData* GetPrintData () Returns pointer to wxPrintData instance used by this class. You can set its parameters (via SetXXXX methods). .SS wxPageSetupDialogData* GetPageSetupData () Returns a pointer to wxPageSetupDialogData instance used by this class. You can set its parameters (via SetXXXX methods). .SH "SEE ALSO" wxObject .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.