X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22d6efa851642c6a69174278fc50f712f41e2271..432efcb004c8a7f4997acab1aa044c78226c36bb:/docs/latex/wx/httaghnd.tex diff --git a/docs/latex/wx/httaghnd.tex b/docs/latex/wx/httaghnd.tex index 12e1a0cfb3..0056d355a6 100644 --- a/docs/latex/wx/httaghnd.tex +++ b/docs/latex/wx/httaghnd.tex @@ -7,7 +7,11 @@ \wxheading{Derived from} -wxObject +\helpref{wxObject}{wxobject} + +\wxheading{Include files} + + \wxheading{See Also} @@ -29,13 +33,6 @@ it can't be accessed by user but can be accessed from derived classes. Constructor. -\membersection{wxHtmlTagHandler::SetParser}\label{wxhtmltaghandlersetparser} - -\func{virtual void}{SetParser}{\param{wxHtmlParser }{*parser}} - -Assigns {\it parser} to this handler. Each {\bf instance} of handler -is guaranteed to be called only from the parser. - \membersection{wxHtmlTagHandler::GetSupportedTags}\label{wxhtmltaghandlergetsupportedtags} \func{virtual wxString}{GetSupportedTags}{\void} @@ -48,13 +45,13 @@ are delimited by ','. Example : {\tt "I,B,FONT,P" } \func{virtual bool}{HandleTag}{\param{const wxHtmlTag\& }{tag}} This is the core method of each handler. It is called each time -one of supported tags is detected. {\it tag} contains all neccessary +one of supported tags is detected. {\it tag} contains all necessary info (see \helpref{wxHtmlTag}{wxhtmltag} for details). \wxheading{Return value} -TRUE if \helpref{ParseInner}{wxhtmltaghandlerparseinner} was called, -FALSE otherwise. +true if \helpref{ParseInner}{wxhtmltaghandlerparseinner} was called, +false otherwise. \wxheading{Example} @@ -69,14 +66,14 @@ bool MyHandler::HandleTag(const wxHtmlTag& tag) } \end{verbatim} -You shouldn't call ParseInner if the tag is not paired with ending one. +You shouldn't call ParseInner if the tag is not paired with an ending one. \membersection{wxHtmlTagHandler::ParseInner}\label{wxhtmltaghandlerparseinner} \func{void}{ParseInner}{\param{const wxHtmlTag\& }{tag}} This method calls parser's \helpref{DoParsing}{wxhtmlparserdoparsing} method -for the string between this tag and paired ending tag: +for the string between this tag and the paired ending tag: \begin{verbatim} ...Hello, world!... @@ -85,3 +82,10 @@ for the string between this tag and paired ending tag: In this example, a call to ParseInner (with {\it tag} pointing to A tag) will parse 'Hello, world!'. +\membersection{wxHtmlTagHandler::SetParser}\label{wxhtmltaghandlersetparser} + +\func{virtual void}{SetParser}{\param{wxHtmlParser }{*parser}} + +Assigns {\it parser} to this handler. Each {\bf instance} of handler +is guaranteed to be called only from the parser. +