X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/704a4b7524e05d7bf4d208eb1b30be9989abef4c..5f445b310b239ea4d26996d4384899c66aa833c5:/docs/latex/wx/htmlstrt.tex diff --git a/docs/latex/wx/htmlstrt.tex b/docs/latex/wx/htmlstrt.tex index 15dc1b449c..a8405f36cf 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 2 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: @@ -19,7 +19,7 @@ passed {\bf string}. See the example: ""); \end{verbatim} -I think the difference is quite clear... +I think the difference is quite clear. \wxheading{Displaying Help} @@ -30,9 +30,9 @@ See \helpref{wxHtmlHelpController}{wxhtmlhelpcontroller}. Because wxHtmlWindow is derived from wxScrolledWindow and not from wxFrame, it doesn't have visible frame. But the user usually want to see the title of HTML page displayed somewhere and frame's titlebar is -ideal place for it... +ideal place for it. -wxHtmlWindow provides 2 methods in order to handle this : +wxHtmlWindow provides 2 methods in order to handle this: \helpref{SetRelatedFrame}{wxhtmlwindowsetrelatedframe} and \helpref{SetRelatedStatusBar}{wxhtmlwindowsetrelatedstatusbar}. See the 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).