#include <KoPageLayout.h>
Fonctions membres publiques | |
| bool | operator== (const KoPageLayout &l) const |
| bool | operator!= (const KoPageLayout &l) const |
| KOFFICECORE_EXPORT KoGenStyle | saveOasis () const |
| KOFFICECORE_EXPORT void | loadOasis (const KoXmlElement &style) |
Fonctions membres publiques statiques | |
| static KOFFICECORE_EXPORT KoPageLayout | standardLayout () |
Attributs publics | |
| KoFormat | format |
| KoOrientation | orientation |
| double | ptWidth |
| double | ptHeight |
| double | ptLeft |
| double | ptRight |
| double | ptTop |
| double | ptBottom |
| double | ptPageEdge |
| margin on page edge | |
| double | ptBindingSide |
| margin on page-binding edge | |
Définition à la ligne 162 du fichier KoPageLayout.h.
| bool KoPageLayout::operator== | ( | const KoPageLayout & | l | ) | const [inline] |
Définition à la ligne 186 du fichier KoPageLayout.h.
Références ptBindingSide, ptBottom, ptHeight, ptLeft, ptPageEdge, ptRight, ptTop, et ptWidth.
| bool KoPageLayout::operator!= | ( | const KoPageLayout & | l | ) | const [inline] |
Définition à la ligne 196 du fichier KoPageLayout.h.
| KoGenStyle KoPageLayout::saveOasis | ( | ) | const |
Save this page layout to OASIS.
Définition à la ligne 47 du fichier KoPageLayout.cpp.
Références KoGenStyle::addProperty(), KoGenStyle::addPropertyPt(), orientation, PG_LANDSCAPE, ptBottom, ptHeight, ptLeft, ptRight, ptTop, ptWidth, et KoGenStyle::STYLE_PAGELAYOUT.
Voici le graphe d'appel pour cette fonction :
| void KoPageLayout::loadOasis | ( | const KoXmlElement & | style | ) |
Load this page layout from OASIS
Définition à la ligne 60 du fichier KoPageLayout.cpp.
Références KoXmlNS::fo, format, KoPageFormat::guessFormat(), KoDom::namedItemNS(), orientation, KoUnit::parseValue(), PG_LANDSCAPE, PG_PORTRAIT, POINT_TO_MM, ptBottom, ptHeight, ptLeft, ptRight, ptTop, ptWidth, et KoXmlNS::style.
Voici le graphe d'appel pour cette fonction :
| KoPageLayout KoPageLayout::standardLayout | ( | ) | [static] |
Définition à la ligne 83 du fichier KoPageLayout.cpp.
Références KoPageFormat::defaultFormat(), format, KoPageFormat::height(), MM_TO_POINT, orientation, PG_PORTRAIT, ptBindingSide, ptBottom, ptHeight, ptLeft, ptPageEdge, ptRight, ptTop, ptWidth, et KoPageFormat::width().
Référencé par KoPageLayoutDia::standardLayout().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
Page format
Définition à la ligne 165 du fichier KoPageLayout.h.
Référencé par KoPageLayoutSize::formatChanged(), KoPageLayoutSize::KoPageLayoutSize(), loadOasis(), KoPageLayoutSize::setValues(), KoPageLayoutDia::sizeUpdated(), et standardLayout().
Page orientation
Définition à la ligne 167 du fichier KoPageLayout.h.
Référencé par KoPageLayoutSize::formatChanged(), loadOasis(), KoPageLayoutSize::orientationChanged(), saveOasis(), KoPageLayoutSize::setValues(), KoPageLayoutDia::sizeUpdated(), et standardLayout().
| double KoPageLayout::ptWidth |
Page width in pt
Définition à la ligne 170 du fichier KoPageLayout.h.
Référencé par KoPageLayoutSize::formatChanged(), KoDocument::generatePreview(), KoDocument::KoDocument(), KoPageLayoutColumns::KoPageLayoutColumns(), loadOasis(), KoGuides::moveSelectedBy(), operator==(), KoGuides::paintGuides(), KoPageLayoutSize::queryClose(), saveOasis(), KoPageLayoutSize::setUnit(), KoPageLayoutDia::sizeUpdated(), standardLayout(), KoPagePreview::updateZoomedSize(), et KoPageLayoutSize::widthChanged().
| double KoPageLayout::ptHeight |
Page height in pt
Définition à la ligne 172 du fichier KoPageLayout.h.
Référencé par KoPageLayoutSize::formatChanged(), KoDocument::generatePreview(), KoPageLayoutSize::heightChanged(), KoDocument::KoDocument(), loadOasis(), KoGuides::moveSelectedBy(), operator==(), KoGuides::paintGuides(), KoPageLayoutSize::queryClose(), saveOasis(), KoPageLayoutSize::setUnit(), KoPageLayoutDia::sizeUpdated(), standardLayout(), et KoPagePreview::updateZoomedSize().
| double KoPageLayout::ptLeft |
Left margin in pt
Définition à la ligne 174 du fichier KoPageLayout.h.
Référencé par KoDocument::KoDocument(), KoPageLayoutSize::leftChanged(), loadOasis(), operator==(), KoPageLayoutSize::queryClose(), saveOasis(), KoPageLayoutSize::setEnableBorders(), KoPageLayoutSize::setUnit(), KoPageLayoutDia::sizeUpdated(), standardLayout(), et KoPagePreview::updateZoomedSize().
| double KoPageLayout::ptRight |
Right margin in pt
Définition à la ligne 176 du fichier KoPageLayout.h.
Référencé par KoDocument::KoDocument(), loadOasis(), operator==(), KoPageLayoutSize::queryClose(), KoPageLayoutSize::rightChanged(), saveOasis(), KoPageLayoutSize::setEnableBorders(), KoPageLayoutSize::setUnit(), KoPageLayoutDia::sizeUpdated(), standardLayout(), et KoPagePreview::updateZoomedSize().
| double KoPageLayout::ptTop |
Top margin in pt
Définition à la ligne 178 du fichier KoPageLayout.h.
Référencé par KoDocument::KoDocument(), loadOasis(), operator==(), KoPageLayoutSize::queryClose(), saveOasis(), KoPageLayoutSize::setEnableBorders(), KoPageLayoutSize::setUnit(), KoPageLayoutDia::sizeUpdated(), standardLayout(), KoPageLayoutSize::topChanged(), et KoPagePreview::updateZoomedSize().
| double KoPageLayout::ptBottom |
Bottom margin in pt
Définition à la ligne 180 du fichier KoPageLayout.h.
Référencé par KoPageLayoutSize::bottomChanged(), KoDocument::KoDocument(), loadOasis(), operator==(), KoPageLayoutSize::queryClose(), saveOasis(), KoPageLayoutSize::setEnableBorders(), KoPageLayoutSize::setUnit(), KoPageLayoutDia::sizeUpdated(), standardLayout(), et KoPagePreview::updateZoomedSize().
| double KoPageLayout::ptPageEdge |
margin on page edge
Définition à la ligne 182 du fichier KoPageLayout.h.
Référencé par operator==(), et standardLayout().
| double KoPageLayout::ptBindingSide |
margin on page-binding edge
Définition à la ligne 184 du fichier KoPageLayout.h.
Référencé par operator==(), et standardLayout().
1.5.1-p1