2 % automatically generated by HelpGen from
3 % htmlfilter.tex at 29/Mar/99 18:35:09
7 \section{\class{wxHtmlFilter
}}\label{wxhtmlfilter
}
9 This class is input filter for
\helpref{wxHtmlWindow
}{wxhtmlwindow
}.
10 It allows you to read and display files of different file formats.
12 \wxheading{Derived from
}
18 \helpref{Overview
}{filters
}
20 \latexignore{\rtfignore{\wxheading{Members
}}}
23 \membersection{wxHtmlFilter::wxHtmlFilter
}\label{wxhtmlfilterwxhtmlfilter
}
25 \func{}{wxHtmlFilter
}{\void}
29 \membersection{wxHtmlFilter::CanRead
}\label{wxhtmlfiltercanread
}
31 \func{bool
}{CanRead
}{\param{const wxFSFile\&
}{file
}}
33 Returns TRUE if this filter is capable of reading file
{\it file
}.
38 bool MyFilter::CanRead(const wxFSFile& file)
40 return (file.GetMimeType() == "application/x-ugh");
44 \membersection{wxHtmlFilter::ReadFile
}\label{wxhtmlfilterreadfile
}
46 \func{wxString
}{ReadFile
}{\param{const wxFSFile\&
}{file
}}
49 Reads the file and returns string with HTML
document.
54 wxString MyImgFilter::ReadFile(const wxFSFile& file)
56 return "<html><body><img src=\"" +