]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/htmlprn.tex
define _HPUX_SOURCE under HP-UX, otherwise many things are not defined in standard...
[wxWidgets.git] / docs / latex / wx / htmlprn.tex
CommitLineData
bd330a69 1\subsection{HTML Printing}\label{printing}
704a4b75 2
3ce369e6 3The wxHTML library provides printing facilities with several levels of complexity.
704a4b75 4
3ce369e6 5The easiest way to print an HTML document is to use
448af9a4
JS
6\helpref{wxHtmlEasyPrinting class}{wxhtmleasyprinting}. It lets you print HTML documents with only one
7command and you don't have to worry about deriving from the wxPrintout class at all. It is only a simple wrapper around the
fc2171bd 8\helpref{wxHtmlPrintout}{wxhtmlprintout}, normal wxWidgets printout class.
704a4b75 9
448af9a4
JS
10And finally there is the low level class \helpref{wxHtmlDCRenderer}{wxhtmldcrenderer} which you can use to
11render HTML into a rectangular area on any DC. It supports rendering into multiple rectangles with the same
12width. (The most common use of this is placing one rectangle on each page or printing into two columns.)
22d6efa8 13