#include <tts/tts_htmlparser.h>
Public Member Functions | |
wxTTSSimpleHtmlParser () | |
~wxTTSSimpleHtmlParser () | |
bool | ParseFile (const wxString &filename, const wxString &encoding=wxEmptyString) |
bool | ParseString (const wxString &str) |
void | Clear () |
void | Write (wxOutputStream &stream) |
bool | WriteFile (wxString &filename) |
bool | ParseHtml (wxTTSSimpleHtmlTag *parent) |
wxTTSSimpleHtmlTag * | ParseTagHeader () |
wxTTSSimpleHtmlTag * | ParseTagClose () |
bool | ParseAttributes (wxTTSSimpleHtmlTag *tag) |
wxTTSSimpleHtmlTag * | ParseDirective () |
bool | ParseComment () |
bool | ParseText (wxString &text) |
bool | EatWhitespace () |
bool | EatWhitespace (int &pos) |
bool | ReadString (wxString &str, bool eatIt=FALSE) |
bool | ReadWord (wxString &str, bool eatIt=FALSE) |
bool | ReadNumber (wxString &str, bool eatIt=FALSE) |
bool | ReadLiteral (wxString &str, bool eatIt=FALSE) |
bool | IsDirective () |
bool | IsComment () |
bool | IsString () |
bool | IsWord () |
bool | IsTagClose () |
bool | IsTagStartBracket (int ch) |
bool | IsTagEndBracket (int ch) |
bool | IsWhitespace (int ch) |
bool | IsAlpha (int ch) |
bool | IsWordChar (int ch) |
bool | IsNumeric (int ch) |
bool | Matches (const wxString &tok, bool eatIt=FALSE) |
bool | Eof () const |
bool | Eof (int pos) const |
void | SetPosition (int pos) |
wxTTSSimpleHtmlTag * | GetTopLevelTag () const |
int | GetChar (size_t i) const |
wxTTSSimpleHtmlParser::wxTTSSimpleHtmlParser | ( | ) |
wxTTSSimpleHtmlParser::~wxTTSSimpleHtmlParser | ( | ) |
bool wxTTSSimpleHtmlParser::ParseFile | ( | const wxString & | filename, | |
const wxString & | encoding = wxEmptyString | |||
) |
bool wxTTSSimpleHtmlParser::ParseString | ( | const wxString & | str | ) |
void wxTTSSimpleHtmlParser::Clear | ( | ) |
void wxTTSSimpleHtmlParser::Write | ( | wxOutputStream & | stream | ) |
bool wxTTSSimpleHtmlParser::WriteFile | ( | wxString & | filename | ) |
bool wxTTSSimpleHtmlParser::ParseHtml | ( | wxTTSSimpleHtmlTag * | parent | ) |
wxTTSSimpleHtmlTag * wxTTSSimpleHtmlParser::ParseTagHeader | ( | ) |
wxTTSSimpleHtmlTag * wxTTSSimpleHtmlParser::ParseTagClose | ( | ) |
bool wxTTSSimpleHtmlParser::ParseAttributes | ( | wxTTSSimpleHtmlTag * | tag | ) |
wxTTSSimpleHtmlTag * wxTTSSimpleHtmlParser::ParseDirective | ( | ) |
bool wxTTSSimpleHtmlParser::ParseComment | ( | ) |
bool wxTTSSimpleHtmlParser::ParseText | ( | wxString & | text | ) |
bool wxTTSSimpleHtmlParser::EatWhitespace | ( | ) |
bool wxTTSSimpleHtmlParser::EatWhitespace | ( | int & | pos | ) |
bool wxTTSSimpleHtmlParser::ReadString | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxTTSSimpleHtmlParser::ReadWord | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxTTSSimpleHtmlParser::ReadNumber | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxTTSSimpleHtmlParser::ReadLiteral | ( | wxString & | str, | |
bool | eatIt = FALSE | |||
) |
bool wxTTSSimpleHtmlParser::IsDirective | ( | ) |
bool wxTTSSimpleHtmlParser::IsComment | ( | ) |
bool wxTTSSimpleHtmlParser::IsString | ( | ) |
bool wxTTSSimpleHtmlParser::IsWord | ( | ) |
bool wxTTSSimpleHtmlParser::IsTagClose | ( | ) |
bool wxTTSSimpleHtmlParser::IsTagStartBracket | ( | int | ch | ) |
bool wxTTSSimpleHtmlParser::IsTagEndBracket | ( | int | ch | ) |
bool wxTTSSimpleHtmlParser::IsWhitespace | ( | int | ch | ) |
bool wxTTSSimpleHtmlParser::IsAlpha | ( | int | ch | ) |
bool wxTTSSimpleHtmlParser::IsWordChar | ( | int | ch | ) |
bool wxTTSSimpleHtmlParser::IsNumeric | ( | int | ch | ) |
bool wxTTSSimpleHtmlParser::Matches | ( | const wxString & | tok, | |
bool | eatIt = FALSE | |||
) |
bool wxTTSSimpleHtmlParser::Eof | ( | ) | const [inline] |
bool wxTTSSimpleHtmlParser::Eof | ( | int | pos | ) | const [inline] |
void wxTTSSimpleHtmlParser::SetPosition | ( | int | pos | ) | [inline] |
wxTTSSimpleHtmlTag* wxTTSSimpleHtmlParser::GetTopLevelTag | ( | ) | const [inline] |
int wxTTSSimpleHtmlParser::GetChar | ( | size_t | i | ) | const |