X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ce369e6876c49ad7a101ad222048bd5446b7125..cd72551c2b6cbf67a4a5caf0ba00ba64e41183b2:/docs/latex/wx/htprint.tex diff --git a/docs/latex/wx/htprint.tex b/docs/latex/wx/htprint.tex index a3bb4b60e2..9527dcf687 100644 --- a/docs/latex/wx/htprint.tex +++ b/docs/latex/wx/htprint.tex @@ -13,6 +13,10 @@ This class serves as printout class for HTML documents. \helpref{wxPrintout}{wxprintout} +\wxheading{Include files} + + + \latexignore{\rtfignore{\wxheading{Members}}} @@ -24,31 +28,22 @@ Constructor. -\membersection{wxHtmlPrintout::SetHtmlText}\label{wxhtmlprintoutsethtmltext} +\membersection{wxHtmlPrintout::SetFooter}\label{wxhtmlprintoutsetfooter} -\func{void}{SetHtmlText}{\param{const wxString\& }{html}, \param{const wxString\& }{basepath = wxEmptyString}, \param{bool }{isdir = TRUE}} +\func{void}{SetFooter}{\param{const wxString\& }{footer}, \param{int }{pg = wxPAGE\_ALL}} -Prepare the class for printing this HTML text. +Sets page footer. \wxheading{Parameters} -\docparam{html}{HTML text. (NOT file!)} - -\docparam{basepath}{base directory (html string would be stored there if it was in -file). It is used to determine path for loading images, for example.} - -\docparam{isdir}{FALSE if basepath is filename, TRUE if it is directory name -(see \helpref{wxFileSystem}{wxfilesystem} for detailed explanation)} - - - -\membersection{wxHtmlPrintout::SetHtmlFile}\label{wxhtmlprintoutsethtmlfile} - -\func{void}{SetHtmlFile}{\param{const wxString\& }{htmlfile}} - -Prepare the class for printing this HTML {\bf file}. The file may be located on -any virtual file system or it may be normal file. +\docparam{footer}{HTML text to be used as footer. You can use macros in it: +\begin{itemize} +\item @PAGENUM@ is replaced by page number +\item @PAGESCNT@ is replaced by total number of pages +\end{itemize} +} +\docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.} \membersection{wxHtmlPrintout::SetHeader}\label{wxhtmlprintoutsetheader} @@ -69,22 +64,31 @@ Sets page header. \docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.} -\membersection{wxHtmlPrintout::SetFooter}\label{wxhtmlprintoutsetfooter} +\membersection{wxHtmlPrintout::SetHtmlFile}\label{wxhtmlprintoutsethtmlfile} -\func{void}{SetFooter}{\param{const wxString\& }{footer}, \param{int }{pg = wxPAGE\_ALL}} +\func{void}{SetHtmlFile}{\param{const wxString\& }{htmlfile}} -Sets page footer. +Prepare the class for printing this HTML {\bf file}. The file may be located on +any virtual file system or it may be normal file. + + + +\membersection{wxHtmlPrintout::SetHtmlText}\label{wxhtmlprintoutsethtmltext} + +\func{void}{SetHtmlText}{\param{const wxString\& }{html}, \param{const wxString\& }{basepath = wxEmptyString}, \param{bool }{isdir = TRUE}} + +Prepare the class for printing this HTML text. \wxheading{Parameters} -\docparam{footer}{HTML text to be used as footer. You can use macros in it: -\begin{itemize} -\item @PAGENUM@ is replaced by page number -\item @PAGESCNT@ is replaced by total number of pages -\end{itemize} -} +\docparam{html}{HTML text. (NOT file!)} + +\docparam{basepath}{base directory (html string would be stored there if it was in +file). It is used to determine path for loading images, for example.} + +\docparam{isdir}{FALSE if basepath is filename, TRUE if it is directory name +(see \helpref{wxFileSystem}{wxfilesystem} for detailed explanation)} -\docparam{pg}{one of wxPAGE\_ODD, wxPAGE\_EVEN and wxPAGE\_ALL constants.} \membersection{wxHtmlPrintout::SetMargins}\label{wxhtmlprintoutsetmargins}