2 % automatically generated by HelpGen from
3 % htmlfilter.tex at 29/Mar/99 18:35:09
6 \section{\class{wxHtmlFilter
}}\label{wxhtmlfilter
}
8 This class is the parent class of input filters for
\helpref{wxHtmlWindow
}{wxhtmlwindow
}.
9 It allows you to read and display files of different file formats.
11 \wxheading{Derived from
}
13 \helpref{wxObject
}{wxobject
}
15 \wxheading{Include files
}
21 \helpref{wxHtml
}{librarieslist
}
26 \helpref{Overview
}{filters
}
28 \latexignore{\rtfignore{\wxheading{Members
}}}
30 \membersection{wxHtmlFilter::wxHtmlFilter
}\label{wxhtmlfilterwxhtmlfilter
}
32 \func{}{wxHtmlFilter
}{\void}
36 \membersection{wxHtmlFilter::CanRead
}\label{wxhtmlfiltercanread
}
38 \func{bool
}{CanRead
}{\param{const wxFSFile\&
}{file
}}
40 Returns true if this filter is capable of reading file
{\it file
}.
45 bool MyFilter::CanRead(const wxFSFile& file)
47 return (file.GetMimeType() == "application/x-ugh");
51 \membersection{wxHtmlFilter::ReadFile
}\label{wxhtmlfilterreadfile
}
53 \func{wxString
}{ReadFile
}{\param{const wxFSFile\&
}{file
}}
55 Reads the file and returns string with HTML
document.
60 wxString MyImgFilter::ReadFile(const wxFSFile& file)
62 return "<html><body><img src=\"" +