% htmlfilter.tex at 29/Mar/99 18:35:09
%
-
\section{\class{wxHtmlFilter}}\label{wxhtmlfilter}
This class is input filter for \helpref{wxHtmlWindow}{wxhtmlwindow}.
\latexignore{\rtfignore{\wxheading{Members}}}
-
\membersection{wxHtmlFilter::wxHtmlFilter}\label{wxhtmlfilterwxhtmlfilter}
\func{}{wxHtmlFilter}{\void}
\func{bool}{CanRead}{\param{const wxFSFile\& }{file}}
-Returns TRUE if this filter is capable of reading file {\it file}.
+Returns TRUE if this filter is capable of reading file {\it file}.
Example:
\membersection{wxHtmlFilter::ReadFile}\label{wxhtmlfilterreadfile}
-\func{wxString}{ReadFile}{\param{const wxFSFile\& }{file}
+\func{wxString}{ReadFile}{\param{const wxFSFile\& }{file}}
Reads the file and returns string with HTML document.
\begin{verbatim}
wxString MyImgFilter::ReadFile(const wxFSFile& file)
{
- return "<html><body><img src=\"" +
- file.GetLocation() +
+ return "<html><body><img src=\"" +
+ file.GetLocation() +
"\"></body></html>";
}
\end{verbatim}
+