.\" This is a wxWidgets manpage page generated from the XML docs .TH wxHtmlFilter 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxHtmlFilter \- .SH DESCRIPTION This class is the parent class of input filters for wxHtmlWindow . It allows you to read and display files of different file formats. .SH "PARENTS" wxObject .SH "INCLUDE FILES" wx/html/htmlfilt.h .SH MEMBERS .SS wxHtmlFilter () Constructor. .SS bool CanRead (const wxFSFile& file) Returns true if this filter is capable of reading file file . Example: bool MyFilter::CanRead(const wxFSFile& file) { return (file.GetMimeType() == "application/x-ugh"); } .SS wxString ReadFile (const wxFSFile& file) Reads the file and returns string with HTML document. Example: wxString MyImgFilter::ReadFile(const wxFSFile& file) { return ""; } .SH "SEE ALSO" wxObject Overview .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.