KWPageManager.h
const KoPageLayout pageLayout(int pageNumber) const
return the effective pageLayout of pageNumber combining the default and the page specific ones
Definition KWPageManager.cpp:144
void setOnlyAllowAppend(bool appendOnly)
Register if new pages can only be appended after the last one and not somewhere in between.
Definition KWPageManager.h:88
double topOfPage(int pageNumber) const
Return the y-offset in this document of the top of page with pageNumber Note that pageNumber is NOT a...
Definition KWPageManager.cpp:158
KWPage * insertPage(int pageNumber)
Inserts a new page at the specified position in the document.
Definition KWPageManager.cpp:123
KoPoint clipToDocument(const KoPoint &point)
Returns the argument point, with altered coordinats if the point happens to be outside all pages.
Definition KWPageManager.cpp:214
void setStartPage(int startPage)
Set a new startpage for this document, renumbering all pages already added.
Definition KWPageManager.cpp:107
int pageNumber(const KoRect *rect) const
return pageNumber of frame, pagenumbers for a normal document start at 1.
Definition KWPageManager.cpp:71
KWPage * page(int pageNumber) const
return the KWPage of a specific page number. Returns 0 if page does not exist.
Definition KWPageManager.cpp:80
bool onlyAllowAppend()
return if new pages can only be appended after the last one and not somewhere in between.
Definition KWPageManager.h:93
void removePage(int pageNumber)
Remove the page with pageNumber renumbering all pages after pages already added.
Definition KWPageManager.cpp:182
double bottomOfPage(int pageNumber) const
Return the y-offset in this document of the bottom of page with pageNumber Note that pageNumber is NO...
Definition KWPageManager.cpp:161
int lastPageNumber() const
return the highest page number we have in this document.
Definition KWPageManager.cpp:119
