KWPage.h
The Page Manager manages all the pages a document contains and separates all the frames the document ...
Definition KWPageManager.h:33
void setMarginClosestBinding(const double &y)
set width of the margin that is the closest to the binding, i.e.
Definition KWPage.cpp:67
void setPageSide(PageSideEnum ps)
set the pageSide of this page, see the PageSideEnum
Definition KWPage.h:99
PageSideEnum
An enum to define if this is a page that is printed to be a left or a right page.
Definition KWPage.h:33
int pageNumber() const
returns the number of this page as it will be shown to the user.
Definition KWPage.h:102
double bottomMargin() const
return the height of the margin at bottom (in pt);
Definition KWPage.cpp:92
void setPageEdgeMargin(const double &x)
set width of the margin that is the closest to the page edge, i.e.
Definition KWPage.cpp:62
PageSideEnum pageSide() const
Return the pageSide of this page, see the PageSideEnum.
Definition KWPage.h:97
double pageEdgeMargin() const
return width of the margin that is the closest to the page edge, i.e. left for even pages
Definition KWPage.cpp:117
double marginClosestBinding() const
return width of the margin that is the closest to the binding, i.e. right for even pages
Definition KWPage.cpp:122
double offsetInDocument() const
All Pages are in a document-wide coordinate system that simply puts every page under the next page an...
Definition KWPage.cpp:128
TQRect zoomedRect(KoZoomHandler *zoomHandler)
return a TQRect with the size of this page in pixels.
Definition KWPage.cpp:132
const KoRect rect() const
return a KoRect with the (pt) sizes of this page. Margins are ignored for this function.
Definition KWPage.cpp:137
