From: Václav Slavík Date: Sat, 16 Oct 1999 12:28:03 +0000 (+0000) Subject: wxHtmlCell::AdjustPagebreak documented X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/eb3a4aa9aa38b8b6316605b9fe84b60f42d0b11c?ds=sidebyside wxHtmlCell::AdjustPagebreak documented git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/htcell.tex b/docs/latex/wx/htcell.tex index 58b81d46b1..1774f94f8f 100644 --- a/docs/latex/wx/htcell.tex +++ b/docs/latex/wx/htcell.tex @@ -31,6 +31,24 @@ wxObject Constructor. + +\membersection{wxHtmlCell::AdjustPagebreak}\label{wxhtmlcelladjustpagebreak} + +\func{virtual bool}{AdjustPagebreak}{\param{int * }{pagebreak}} + +This method is used to adjust pagebreak position. The parameter is +variable that contains y-coordinate of page break (= horizontal line that +should not be crossed by words, images etc.). If this cell cannot be divided +into two pieces (each one on another page) then it moves the pagebreak +few pixels up. + +Returns TRUE if pagebreak was modified, FALSE otherwise + +Usage : +\begin{verbatim} +while (container->AdjustPagebreak(&p)) {} +\end{verbatim} + \membersection{wxHtmlCell::SetParent}\label{wxhtmlcellsetparent} \func{void}{SetParent}{\param{wxHtmlContainerCell }{*p}}