KoPageLayout Struct Reference
This structure defines the page layout, including its size in pt, its format (e.g. More...
#include <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 |
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.
Member Function Documentation
|
Save this page layout to OASIS.
Definition at line 47 of file koPageLayout.cpp. References KoGenStyle::addProperty(), KoGenStyle::addPropertyPt(), orientation, ptBottom, ptHeight, ptLeft, ptRight, ptTop, and ptWidth. |
|
Load this page layout from OASIS.
Definition at line 60 of file koPageLayout.cpp. References format, KoDom::namedItemNS(), orientation, KoUnit::parseValue(), ptBottom, ptHeight, ptLeft, ptRight, ptTop, and ptWidth. |
|
Definition at line 83 of file koPageLayout.cpp. References format, orientation, ptBottom, ptHeight, ptLeft, ptRight, ptTop, and ptWidth. Referenced by KoPageLayoutDia::standardLayout(). |
Member Data Documentation
|
Page format.
Definition at line 163 of file koPageLayout.h. Referenced by loadOasis(), and standardLayout(). |
|
Page orientation.
Definition at line 165 of file koPageLayout.h. Referenced by loadOasis(), saveOasis(), and standardLayout(). |
|
Page width in pt.
Definition at line 168 of file koPageLayout.h. Referenced by KoDocument::generatePreview(), KoDocument::KoDocument(), loadOasis(), saveOasis(), KoPagePreview::setPageLayout(), and standardLayout(). |
|
Page height in pt.
Definition at line 170 of file koPageLayout.h. Referenced by KoDocument::generatePreview(), KoDocument::KoDocument(), loadOasis(), saveOasis(), KoPagePreview::setPageLayout(), and standardLayout(). |
|
Left margin in pt.
Definition at line 172 of file koPageLayout.h. Referenced by KoDocument::KoDocument(), loadOasis(), saveOasis(), KoPagePreview::setPageLayout(), and standardLayout(). |
|
Right margin in pt.
Definition at line 174 of file koPageLayout.h. Referenced by KoDocument::KoDocument(), loadOasis(), saveOasis(), KoPagePreview::setPageLayout(), and standardLayout(). |
|
Top margin in pt.
Definition at line 176 of file koPageLayout.h. Referenced by KoDocument::KoDocument(), loadOasis(), saveOasis(), KoPagePreview::setPageLayout(), and standardLayout(). |
|
Bottom margin in pt.
Definition at line 178 of file koPageLayout.h. Referenced by KoDocument::KoDocument(), loadOasis(), saveOasis(), KoPagePreview::setPageLayout(), and standardLayout(). |
The documentation for this struct was generated from the following files: