Référence du fichier F:/KPlato/koffice/libs/kofficecore/KoPageLayout.h

#include <KoGenStyles.h>
#include <QStringList>
#include <koffice_export.h>
#include <KoXmlReader.h>

Graphe des dépendances par inclusion de KoPageLayout.h:

Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier :

Aller au code source de ce fichier.

Espaces de nommage

namespace  KoPageFormat

Classes

struct  KoPageLayout
struct  KoHeadFoot
struct  KoColumns
struct  KoKWHeaderFooter

Énumérations

enum  KoFormat {
  PG_DIN_A3 = 0, PG_DIN_A4 = 1, PG_DIN_A5 = 2, PG_US_LETTER = 3,
  PG_US_LEGAL = 4, PG_SCREEN = 5, PG_CUSTOM = 6, PG_DIN_B5 = 7,
  PG_US_EXECUTIVE = 8, PG_DIN_A0 = 9, PG_DIN_A1 = 10, PG_DIN_A2 = 11,
  PG_DIN_A6 = 12, PG_DIN_A7 = 13, PG_DIN_A8 = 14, PG_DIN_A9 = 15,
  PG_DIN_B0 = 16, PG_DIN_B1 = 17, PG_DIN_B10 = 18, PG_DIN_B2 = 19,
  PG_DIN_B3 = 20, PG_DIN_B4 = 21, PG_DIN_B6 = 22, PG_ISO_C5 = 23,
  PG_US_COMM10 = 24, PG_ISO_DL = 25, PG_US_FOLIO = 26, PG_US_LEDGER = 27,
  PG_US_TABLOID = 28, PG_LAST_FORMAT = PG_US_TABLOID
}
 Represents the paper format a document shall be printed on. Plus de détails...
enum  KoOrientation { PG_PORTRAIT = 0, PG_LANDSCAPE = 1 }
enum  KoHFType { HF_SAME = 0, HF_FIRST_EO_DIFF = 1, HF_FIRST_DIFF = 2, HF_EO_DIFF = 3 }
 Header/Footer type. Plus de détails...

Fonctions

int KoPageFormat::printerPageSize (KoFormat format)
 Convert a KoFormat into a KPrinter::PageSize.
double KoPageFormat::width (KoFormat format, KoOrientation orientation)
double KoPageFormat::height (KoFormat format, KoOrientation orientation)
QString KoPageFormat::formatString (KoFormat format)
KoFormat KoPageFormat::formatFromString (const QString &string)
KoFormat KoPageFormat::defaultFormat ()
QString KoPageFormat::name (KoFormat format)
QStringList KoPageFormat::allFormats ()
KoFormat KoPageFormat::guessFormat (double width, double height)


Documentation du type de l'énumération

enum KoFormat

Represents the paper format a document shall be printed on.

For compatibility reasons, and because of screen and custom, this enum doesn't map to QPrinter::PageSize but KoPageFormat::printerPageSize does the conversion.

À faire:
convert DIN to ISO in the names
Valeurs énumérées:
PG_DIN_A3 
PG_DIN_A4 
PG_DIN_A5 
PG_US_LETTER 
PG_US_LEGAL 
PG_SCREEN 
PG_CUSTOM 
PG_DIN_B5 
PG_US_EXECUTIVE 
PG_DIN_A0 
PG_DIN_A1 
PG_DIN_A2 
PG_DIN_A6 
PG_DIN_A7 
PG_DIN_A8 
PG_DIN_A9 
PG_DIN_B0 
PG_DIN_B1 
PG_DIN_B10 
PG_DIN_B2 
PG_DIN_B3 
PG_DIN_B4 
PG_DIN_B6 
PG_ISO_C5 
PG_US_COMM10 
PG_ISO_DL 
PG_US_FOLIO 
PG_US_LEDGER 
PG_US_TABLOID 
PG_LAST_FORMAT 

Définition à la ligne 41 du fichier KoPageLayout.h.

enum KoHFType

Header/Footer type.

Note:
Yes, this should have been a bitfield, but there was only 0, 2, 3 in koffice-1.0. Don't ask why. In the long run this should be replaced with a more flexible repetition/section concept.
Valeurs énumérées:
HF_SAME  0: Header/Footer is the same on all pages
HF_FIRST_EO_DIFF  1: Header/Footer is different on first, even and odd pages (2&3)
HF_FIRST_DIFF  2: Header/Footer for the first page differs
HF_EO_DIFF  3: Header/Footer for even - odd pages are different

Définition à la ligne 151 du fichier KoPageLayout.h.

enum KoOrientation

Represents the orientation of a printed document.

Valeurs énumérées:
PG_PORTRAIT 
PG_LANDSCAPE 

Définition à la ligne 78 du fichier KoPageLayout.h.


Généré le Wed Nov 22 23:41:53 2006 pour KPlato par  doxygen 1.5.1-p1