void wxHtmlParser::AddTag(const wxHtmlTag& tag) { wxHtmlTagHandler *h; bool inner = false; h = (wxHtmlTagHandler*) m_HandlersHash.Get(tag.GetName()); if (h) { inner = h->HandleTag(tag); if (m_stopParsing) return; } if (!inner) { if (tag.HasEnding()) DoParsing(tag.GetBeginPos(), tag.GetEndPos1()); } }
wxString wxHtmlParser::GetInnerSource(const wxHtmlTag& tag) { return GetSource()->Mid(tag.GetBeginPos(), tag.GetEndPos1() - tag.GetBeginPos()); }