lib
KoPageLayout Struct Reference
#include <KoPageLayout.h>
Detailed Description
This structure defines the page layout, including its size in pt, its format (e.g.A4), orientation, unit, margins etc.
Definition at line 160 of file KoPageLayout.h.
Public Member Functions | |
bool | operator== (const KoPageLayout &l) const |
bool | operator!= (const KoPageLayout &l) const |
KOFFICECORE_EXPORT KoGenStyle | saveOasis () const |
KOFFICECORE_EXPORT void | loadOasis (const QDomElement &style) |
Static Public Member Functions | |
static KOFFICECORE_EXPORT KoPageLayout | standardLayout () |
Public Attributes | |
KoFormat | format |
KoOrientation | orientation |
double | ptWidth |
double | ptHeight |
double | ptLeft |
double | ptRight |
double | ptTop |
double | ptBottom |
double | ptPageEdge |
double | ptBindingSide |
Member Function Documentation
KoGenStyle KoPageLayout::saveOasis | ( | ) | const |
void KoPageLayout::loadOasis | ( | const QDomElement & | style | ) |
KoPageLayout KoPageLayout::standardLayout | ( | ) | [static] |
- Returns:
- a page layout with the default page size depending on the locale settings, default margins (2 cm), and portrait orientation.
- Since:
- 1.4
Definition at line 83 of file KoPageLayout.cpp.
Member Data Documentation
KoFormat KoPageLayout::format |
KoOrientation KoPageLayout::orientation |
double KoPageLayout::ptWidth |
double KoPageLayout::ptHeight |
double KoPageLayout::ptLeft |
double KoPageLayout::ptRight |
double KoPageLayout::ptTop |
double KoPageLayout::ptBottom |
The documentation for this struct was generated from the following files: