#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 TQDomElement &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 |
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
◆ loadOasis()
| void KoPageLayout::loadOasis | ( | const TQDomElement & | style | ) |
Load this page layout from OASIS.
Definition at line 60 of file KoPageLayout.cpp.
◆ operator!=()
|
inline |
Definition at line 192 of file KoPageLayout.h.
◆ operator==()
|
inline |
Definition at line 182 of file KoPageLayout.h.
◆ saveOasis()
| KoGenStyle KoPageLayout::saveOasis | ( | ) | const |
Save this page layout to OASIS.
Definition at line 47 of file KoPageLayout.cpp.
◆ 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
◆ format
| KoFormat KoPageLayout::format |
Page format.
Definition at line 163 of file KoPageLayout.h.
◆ orientation
| KoOrientation KoPageLayout::orientation |
Page orientation.
Definition at line 165 of file KoPageLayout.h.
◆ ptBindingSide
| double KoPageLayout::ptBindingSide |
Definition at line 180 of file KoPageLayout.h.
◆ ptBottom
| double KoPageLayout::ptBottom |
Bottom margin in pt.
Definition at line 178 of file KoPageLayout.h.
◆ ptHeight
| double KoPageLayout::ptHeight |
Page height in pt.
Definition at line 170 of file KoPageLayout.h.
◆ ptLeft
| double KoPageLayout::ptLeft |
Left margin in pt.
Definition at line 172 of file KoPageLayout.h.
◆ ptPageEdge
| double KoPageLayout::ptPageEdge |
Definition at line 179 of file KoPageLayout.h.
◆ ptRight
| double KoPageLayout::ptRight |
Right margin in pt.
Definition at line 174 of file KoPageLayout.h.
◆ ptTop
| double KoPageLayout::ptTop |
Top margin in pt.
Definition at line 176 of file KoPageLayout.h.
◆ ptWidth
| double KoPageLayout::ptWidth |
Page width in pt.
Definition at line 168 of file KoPageLayout.h.
The documentation for this struct was generated from the following files:
