X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22d6efa851642c6a69174278fc50f712f41e2271..00b4a13e0c2f37dae491f3743319321b6ab059ea:/docs/latex/wx/htmlstrt.tex diff --git a/docs/latex/wx/htmlstrt.tex b/docs/latex/wx/htmlstrt.tex index f034cf23f7..726b3223de 100644 --- a/docs/latex/wx/htmlstrt.tex +++ b/docs/latex/wx/htmlstrt.tex @@ -1,4 +1,4 @@ -\membersection{Quick Start}\label{quickstart} +\section{wxHTML quick start}\label{wxhtmlquickstart} \wxheading{Displaying HMTL} @@ -6,7 +6,7 @@ First of all, you must include . Class \helpref{wxHtmlWindow}{wxhtmlwindow} (derived from wxScrolledWindow) is used to display HTML documents. -It has two important methods : \helpref{LoadPage}{wxhtmlwindowloadpage} +It has two important methods: \helpref{LoadPage}{wxhtmlwindowloadpage} and \helpref{SetPage}{wxhtmlwindowsetpage}. LoadPage loads and displays HTML file while SetPage displays directly the passed {\bf string}. See the example: @@ -15,7 +15,7 @@ passed {\bf string}. See the example: mywin -> LoadPage("test.htm"); mywin -> SetPage("" "

Error

" - "Some error occured :-H)" + "Some error occurred :-H)" ""); \end{verbatim} @@ -43,7 +43,7 @@ See the example: html -> SetRelatedStatusBar(0); \end{verbatim} -The first command associates html object with it's parent frame +The first command associates html object with it is parent frame (this points to wxFrame object there) and sets format of title. Page title "Hello, world!" will be displayed as "HTML : Hello, world!" in this example. @@ -56,7 +56,7 @@ browser's messages (such as "Loading..." or "Done" or hypertext links). You can customize wxHtmlWindow by setting font size, font face and borders (space between border of window and displayed HTML). Related functions: -\begin{itemize} +\begin{itemize}\itemsep=0pt \item \helpref{SetFonts}{wxhtmlwindowsetfonts} \item \helpref{SetBorders}{wxhtmlwindowsetborders} \item \helpref{ReadCustomization}{wxhtmlwindowreadcustomization} @@ -64,5 +64,5 @@ borders (space between border of window and displayed HTML). Related functions: \end{itemize} The last two functions are used to store user customization info wxConfig stuff -(for example registry under Windows or dotfile under Unix). +(for example in the registry under Windows, or in a dotfile under Unix).