]> git.saurik.com Git - wxWidgets.git/commitdiff
wxHtmlCell::AdjustPagebreak documented
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 16 Oct 1999 12:28:03 +0000 (12:28 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 16 Oct 1999 12:28:03 +0000 (12:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/htcell.tex

index 58b81d46b15c63e6089f071aa8a6871c98e0bb17..1774f94f8ff09b67fa7e2c1adebe3ffb78075716 100644 (file)
@@ -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}}