2002-01-23 22:10:02 +00:00
|
|
|
\subsection{HTML Printing}\label{printing}
|
1999-07-10 21:17:24 +00:00
|
|
|
|
1999-10-17 13:03:40 +00:00
|
|
|
The wxHTML library provides printing facilities with several levels of complexity.
|
1999-07-10 21:17:24 +00:00
|
|
|
|
1999-10-17 13:03:40 +00:00
|
|
|
The easiest way to print an HTML document is to use
|
1999-10-25 13:46:48 +00:00
|
|
|
\helpref{wxHtmlEasyPrinting class}{wxhtmleasyprinting}. It lets you print HTML documents with only one
|
|
|
|
command and you don't have to worry about deriving from the wxPrintout class at all. It is only a simple wrapper around the
|
2004-05-04 08:27:20 +00:00
|
|
|
\helpref{wxHtmlPrintout}{wxhtmlprintout}, normal wxWidgets printout class.
|
1999-07-10 21:17:24 +00:00
|
|
|
|
1999-10-25 13:46:48 +00:00
|
|
|
And finally there is the low level class \helpref{wxHtmlDCRenderer}{wxhtmldcrenderer} which you can use to
|
|
|
|
render HTML into a rectangular area on any DC. It supports rendering into multiple rectangles with the same
|
|
|
|
width. (The most common use of this is placing one rectangle on each page or printing into two columns.)
|
1999-08-05 22:05:15 +00:00
|
|
|
|