X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42d306a033f27c2164d6692fe8c28d165c9a105b..6b30a44ed0be21bd0cf26f609d4ca50fb8b965c0:/docs/latex/wx/htmlhand.tex?ds=sidebyside diff --git a/docs/latex/wx/htmlhand.tex b/docs/latex/wx/htmlhand.tex index 5017dd593e..de833c17d9 100644 --- a/docs/latex/wx/htmlhand.tex +++ b/docs/latex/wx/htmlhand.tex @@ -1,4 +1,4 @@ -\section{Tag Handlers}\label{handlers} +\subsection{Tag Handlers}\label{handlers} The wxHTML library provides architecture of pluggable {\it tag handlers}. Tag handler is class that understands particular HTML tag (or tags) and is @@ -43,7 +43,7 @@ Then you must define handlers and one module. The handler is derived from \helpref{wxHtmlWinTagHandler}{wxhtmlwintaghandler} (or directly from \helpref{wxHtmlTagHandler}{wxhtmltaghandler}) -You can use set of macros to define the handler (see src/mod\_*.cpp files +You can use set of macros to define the handler (see src/html/m\_*.cpp files for details). Handler definition must start with {\bf TAG\_HANDLER\_BEGIN} macro and end with {\bf TAG\_HANDLER\_END} macro. I strongly recommend to have a look at {\it include/wxhtml/mod\_templ.h} file. Otherwise you won't understand @@ -54,7 +54,7 @@ the structure of macros. See macros reference: Starts handler definition. {\it name} is handler identifier (in fact part of class name), {\it tags} is string containing list of tags supported by this handler (in uppercase). This macro derives new class from -wxHtmlWinTagHandler and implements it's +wxHtmlWinTagHandler and implements it is \helpref{GetSupportedTags}{wxhtmltaghandlergetsupportedtags} method. Example: TAG\_HANDLER\_BEGIN(FONTS, "B,I,U,T") @@ -113,7 +113,6 @@ TAG_HANDLER_END(TITLE) Ends definition of tag handler {\it name}. - \wxheading{Tags Modules} You can use set of 3 macros TAGS\_MODULE\_BEGIN, TAGS\_MODULE\_ADD and