X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22d6efa851642c6a69174278fc50f712f41e2271..65afac3fbc6115b899045d767af823fc3abd7322:/docs/latex/wx/htmlcell.tex?ds=sidebyside diff --git a/docs/latex/wx/htmlcell.tex b/docs/latex/wx/htmlcell.tex index b728800910..fbf7777125 100644 --- a/docs/latex/wx/htmlcell.tex +++ b/docs/latex/wx/htmlcell.tex @@ -25,19 +25,19 @@ See \helpref{wxHtmlContainerCell}{wxhtmlcontainercell}, % Bitmap is corrupt! This image shows you cells and containers: -\image{}{contbox.bmp} +\helponly{\image{}{contbox.bmp}} \end{comment} \wxheading{Using Containers in Tag Handler} \helpref{wxHtmlWinParser}{wxhtmlwinparser} provides a user-friendly way -of managing containers. It's based on the idea of opening and closing containers. +of managing containers. It is based on the idea of opening and closing containers. Use \helpref{OpenContainer}{wxhtmlwinparseropencontainer} to open new a container {\it within an already opened container}. This new container is a {\it sub-container} of the old one. (If you want to create a new container with the same depth level you can call {\tt CloseContainer(); OpenContainer();}.) -Use \helpref{CloseContaier}{wxhtmlwinparserclosecontainer} to close the +Use \helpref{CloseContainer}{wxhtmlwinparserclosecontainer} to close the container. This doesn't create a new container with same depth level but it returns "control" to the parent container. @@ -45,9 +45,9 @@ it returns "control" to the parent container. % Bitmap corrupt! See explanation: -\image{}{cont.bmp} +\helponly{\image{}{cont.bmp}} \end{comment} -It's clear there must be same number of calls to +It is clear there must be same number of calls to OpenContainer as to CloseContainer... \wxheading{Example} @@ -70,7 +70,7 @@ m_WParser -> OpenContainer(); % Bitmap corrupt! and here is image of the situation: -\image{}{hello.bmp} +\helponly{\image{}{hello.bmp}} \end{comment} You can see that there was opened container before running the code. We closed