lib

KoPageLayout Struct Reference

#include <KoPageLayout.h>

List of all members.


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

void KoPageLayout::loadOasis const QDomElement &  style  ) 
 

Load this page layout from OASIS.

Definition at line 60 of file KoPageLayout.cpp.

KoGenStyle KoPageLayout::saveOasis  )  const
 

Save this page layout to OASIS.

Definition at line 47 of file KoPageLayout.cpp.

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
 

Page format.

Definition at line 163 of file KoPageLayout.h.

KoOrientation KoPageLayout::orientation
 

Page orientation.

Definition at line 165 of file KoPageLayout.h.

double KoPageLayout::ptBottom
 

Bottom margin in pt.

Definition at line 178 of file KoPageLayout.h.

double KoPageLayout::ptHeight
 

Page height in pt.

Definition at line 170 of file KoPageLayout.h.

double KoPageLayout::ptLeft
 

Left margin in pt.

Definition at line 172 of file KoPageLayout.h.

double KoPageLayout::ptRight
 

Right margin in pt.

Definition at line 174 of file KoPageLayout.h.

double KoPageLayout::ptTop
 

Top margin in pt.

Definition at line 176 of file KoPageLayout.h.

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:
KDE Home | KDE Accessibility Home | Description of Access Keys