X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/448af9a46eb58ae17616a4d5e76884dc519f5523..78cb09ec439962b53ba75fef814b9a3871412287:/docs/latex/wx/htmlhand.tex diff --git a/docs/latex/wx/htmlhand.tex b/docs/latex/wx/htmlhand.tex index 64417ad473..de833c17d9 100644 --- a/docs/latex/wx/htmlhand.tex +++ b/docs/latex/wx/htmlhand.tex @@ -1,4 +1,4 @@ -\membersection{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