]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/htprint.tex
Some work on GTK focus handling and events.
[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
13\helpref{wxPrintout}{wxprintout}
14
09397bc6 15
9704b250
VS
16\wxheading{Include files}
17
18<wx/html/htmprint.h>
19
3ce369e6
VS
20\latexignore{\rtfignore{\wxheading{Members}}}
21
09397bc6 22
3ce369e6
VS
23\membersection{wxHtmlPrintout::wxHtmlPrintout}\label{wxhtmlprintoutwxhtmlprintout}
24
25\func{}{wxHtmlPrintout}{\param{const wxString\& }{title = "Printout"}}
26
27Constructor.
28
3ce369e6 29
3ce369e6 30
09397bc6 31\membersection{wxHtmlPrintout::SetFooter}\label{wxhtmlprintoutsetfooter}
3ce369e6 32
09397bc6 33\func{void}{SetFooter}{\param{const wxString\& }{footer}, \param{int }{pg = wxPAGE\_ALL}}
3ce369e6 34
09397bc6 35Sets page footer.
3ce369e6 36
09397bc6 37\wxheading{Parameters}
3ce369e6 38
09397bc6
VS
39\docparam{footer}{HTML text to be used as footer. You can use macros in it:
40\begin{itemize}
41\item @PAGENUM@ is replaced by page number
42\item @PAGESCNT@ is replaced by total number of pages
43\end{itemize}
44}
3ce369e6 45
09397bc6 46\docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.}
3ce369e6 47
3ce369e6 48
3ce369e6
VS
49\membersection{wxHtmlPrintout::SetHeader}\label{wxhtmlprintoutsetheader}
50
51\func{void}{SetHeader}{\param{const wxString\& }{header}, \param{int }{pg = wxPAGE\_ALL}}
52
53Sets page header.
54
55\wxheading{Parameters}
56
57\docparam{header}{HTML text to be used as header. You can use macros in it:
09397bc6 58\begin{itemize}
3ce369e6
VS
59\item @PAGENUM@ is replaced by page number
60\item @PAGESCNT@ is replaced by total number of pages
61\end{itemize}
62}
63
64\docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.}
65
66
09397bc6 67\membersection{wxHtmlPrintout::SetHtmlFile}\label{wxhtmlprintoutsethtmlfile}
3ce369e6 68
09397bc6 69\func{void}{SetHtmlFile}{\param{const wxString\& }{htmlfile}}
3ce369e6 70
09397bc6
VS
71Prepare the class for printing this HTML {\bf file}. The file may be located on
72any virtual file system or it may be normal file.
73
74
75
76\membersection{wxHtmlPrintout::SetHtmlText}\label{wxhtmlprintoutsethtmltext}
77
78\func{void}{SetHtmlText}{\param{const wxString\& }{html}, \param{const wxString\& }{basepath = wxEmptyString}, \param{bool }{isdir = TRUE}}
79
80Prepare the class for printing this HTML text.
3ce369e6
VS
81
82\wxheading{Parameters}
83
09397bc6
VS
84\docparam{html}{HTML text. (NOT file!)}
85
86\docparam{basepath}{base directory (html string would be stored there if it was in
87file). It is used to determine path for loading images, for example.}
88
89\docparam{isdir}{FALSE if basepath is filename, TRUE if it is directory name
90(see \helpref{wxFileSystem}{wxfilesystem} for detailed explanation)}
448af9a4 91
3ce369e6 92
3ce369e6 93
3ce369e6
VS
94\membersection{wxHtmlPrintout::SetMargins}\label{wxhtmlprintoutsetmargins}
95
96\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}}
97
98Sets margins in milimeters. Defaults to 1 inch for margins and 0.5cm for space
99between text and header and/or footer
100