]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/htprint.tex
documentation for window ids allocation and wxIdManager (patch 1870570)
[wxWidgets.git] / docs / latex / wx / htprint.tex
CommitLineData
3ce369e6
VS
1%
2% automatically generated by HelpGen from
3% htmprint.h at 17/Oct/99 12:48:02
4%
5
09397bc6 6
3ce369e6
VS
7\section{\class{wxHtmlPrintout}}\label{wxhtmlprintout}
8
09397bc6 9This class serves as printout class for HTML documents.
3ce369e6
VS
10
11\wxheading{Derived from}
12
7376079d
VZ
13\helpref{wxPrintout}{wxprintout}\\
14\helpref{wxObject}{wxobject}
3ce369e6 15
09397bc6 16
9704b250
VS
17\wxheading{Include files}
18
19<wx/html/htmprint.h>
20
a7af285d
VZ
21\wxheading{Library}
22
23\helpref{wxHtml}{librarieslist}
24
3ce369e6
VS
25\latexignore{\rtfignore{\wxheading{Members}}}
26
09397bc6 27
3ce369e6
VS
28\membersection{wxHtmlPrintout::wxHtmlPrintout}\label{wxhtmlprintoutwxhtmlprintout}
29
30\func{}{wxHtmlPrintout}{\param{const wxString\& }{title = "Printout"}}
31
32Constructor.
33
3ce369e6 34
fa10c70c
JS
35\membersection{wxHtmlPrintout::AddFilter}\label{wxhtmlprintoutaddfilter}
36
37\func{static void}{AddFilter}{\param{wxHtmlFilter* }{filter}}
38
39Adds a filter to the static list of filters for wxHtmlPrintout. See \helpref{wxHtmlFilter}{wxhtmlfilter} for
40further information.
41
4eecf115
VS
42\membersection{wxHtmlPrintout::SetFonts}\label{wxhtmlprintoutsetfonts}
43
fbfb8bcc 44\func{void}{SetFonts}{\param{const wxString\& }{normal\_face}, \param{const wxString\& }{fixed\_face}, \param{const int }{*sizes = NULL}}
4eecf115
VS
45
46Sets fonts. See \helpref{wxHtmlWindow::SetFonts}{wxhtmlwindowsetfonts} for
47detailed description.
3ce369e6 48
09397bc6 49\membersection{wxHtmlPrintout::SetFooter}\label{wxhtmlprintoutsetfooter}
3ce369e6 50
09397bc6 51\func{void}{SetFooter}{\param{const wxString\& }{footer}, \param{int }{pg = wxPAGE\_ALL}}
3ce369e6 52
309b26a7
VZ
53Set page footer. The following macros can be used inside it:
54\input htprintmacros.inc
3ce369e6 55
09397bc6 56\wxheading{Parameters}
3ce369e6 57
309b26a7 58\docparam{footer}{HTML text to be used as footer.}
3ce369e6 59
09397bc6 60\docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.}
3ce369e6 61
3ce369e6 62
3ce369e6
VS
63\membersection{wxHtmlPrintout::SetHeader}\label{wxhtmlprintoutsetheader}
64
65\func{void}{SetHeader}{\param{const wxString\& }{header}, \param{int }{pg = wxPAGE\_ALL}}
66
309b26a7
VZ
67Set page header. The following macros can be used inside it:
68\input htprintmacros.inc
3ce369e6
VS
69
70\wxheading{Parameters}
71
309b26a7 72\docparam{header}{HTML text to be used as header.}
3ce369e6
VS
73
74\docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.}
75
76
09397bc6 77\membersection{wxHtmlPrintout::SetHtmlFile}\label{wxhtmlprintoutsethtmlfile}
3ce369e6 78
09397bc6 79\func{void}{SetHtmlFile}{\param{const wxString\& }{htmlfile}}
3ce369e6 80
09397bc6
VS
81Prepare the class for printing this HTML {\bf file}. The file may be located on
82any virtual file system or it may be normal file.
83
84
85
86\membersection{wxHtmlPrintout::SetHtmlText}\label{wxhtmlprintoutsethtmltext}
87
cc81d32f 88\func{void}{SetHtmlText}{\param{const wxString\& }{html}, \param{const wxString\& }{basepath = wxEmptyString}, \param{bool }{isdir = true}}
09397bc6
VS
89
90Prepare the class for printing this HTML text.
3ce369e6
VS
91
92\wxheading{Parameters}
93
09397bc6
VS
94\docparam{html}{HTML text. (NOT file!)}
95
96\docparam{basepath}{base directory (html string would be stored there if it was in
97file). It is used to determine path for loading images, for example.}
98
cc81d32f 99\docparam{isdir}{false if basepath is filename, true if it is directory name
09397bc6 100(see \helpref{wxFileSystem}{wxfilesystem} for detailed explanation)}
448af9a4 101
3ce369e6 102
3ce369e6 103
3ce369e6
VS
104\membersection{wxHtmlPrintout::SetMargins}\label{wxhtmlprintoutsetmargins}
105
106\func{void}{SetMargins}{\param{float }{top = 25.2}, \param{float }{bottom = 25.2}, \param{float }{left = 25.2}, \param{float }{right = 25.2}, \param{float }{spaces = 5}}
107
2edb0bde 108Sets margins in millimeters. Defaults to 1 inch for margins and 0.5cm for space
3ce369e6
VS
109between text and header and/or footer
110