2 % automatically generated by HelpGen from
3 % htmprint.h at 17/Oct/99 12:48:02
7 \section{\class{wxHtmlPrintout
}}\label{wxhtmlprintout
}
9 This class serves as printout class for HTML documents.
11 \wxheading{Derived from
}
13 \helpref{wxPrintout
}{wxprintout
}
16 \wxheading{Include files
}
20 \latexignore{\rtfignore{\wxheading{Members
}}}
23 \membersection{wxHtmlPrintout::wxHtmlPrintout
}\label{wxhtmlprintoutwxhtmlprintout
}
25 \func{}{wxHtmlPrintout
}{\param{const wxString\&
}{title = "Printout"
}}
31 \membersection{wxHtmlPrintout::SetFooter
}\label{wxhtmlprintoutsetfooter
}
33 \func{void
}{SetFooter
}{\param{const wxString\&
}{footer
},
\param{int
}{pg = wxPAGE
\_ALL}}
37 \wxheading{Parameters
}
39 \docparam{footer
}{HTML text to be used as footer. You can use macros in it:
41 \item @PAGENUM@ is replaced by page number
42 \item @PAGESCNT@ is replaced by total number of pages
46 \docparam{pg
}{one of wxPAGE
\_ODD, wxPAGE
\_EVEN and wxPAGE
\_ALL constants.
}
49 \membersection{wxHtmlPrintout::SetHeader
}\label{wxhtmlprintoutsetheader
}
51 \func{void
}{SetHeader
}{\param{const wxString\&
}{header
},
\param{int
}{pg = wxPAGE
\_ALL}}
55 \wxheading{Parameters
}
57 \docparam{header
}{HTML text to be used as header. You can use macros in it:
59 \item @PAGENUM@ is replaced by page number
60 \item @PAGESCNT@ is replaced by total number of pages
64 \docparam{pg
}{one of wxPAGE
\_ODD, wxPAGE
\_EVEN and wxPAGE
\_ALL constants.
}
67 \membersection{wxHtmlPrintout::SetHtmlFile
}\label{wxhtmlprintoutsethtmlfile
}
69 \func{void
}{SetHtmlFile
}{\param{const wxString\&
}{htmlfile
}}
71 Prepare the class for printing this HTML
{\bf file
}. The file may be located on
72 any virtual file system or it may be normal file.
76 \membersection{wxHtmlPrintout::SetHtmlText
}\label{wxhtmlprintoutsethtmltext
}
78 \func{void
}{SetHtmlText
}{\param{const wxString\&
}{html
},
\param{const wxString\&
}{basepath = wxEmptyString
},
\param{bool
}{isdir = TRUE
}}
80 Prepare the class for printing this HTML text.
82 \wxheading{Parameters
}
84 \docparam{html
}{HTML text. (NOT file!)
}
86 \docparam{basepath
}{base directory (html string would be stored there if it was in
87 file). It is used to determine path for loading images, for example.
}
89 \docparam{isdir
}{FALSE if basepath is filename, TRUE if it is directory name
90 (see
\helpref{wxFileSystem
}{wxfilesystem
} for detailed explanation)
}
94 \membersection{wxHtmlPrintout::SetMargins
}\label{wxhtmlprintoutsetmargins
}
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}}
98 Sets margins in milimeters. Defaults to
1 inch for margins and
0.5cm for space
99 between text and header and/or footer