~ubuntu-branches/ubuntu/precise/koffice/precise

« back to all changes in this revision

Viewing changes to kword/part/KWPage.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-09-21 15:36:35 UTC
  • mfrom: (1.4.1 upstream) (60.2.11 maverick)
  • Revision ID: james.westby@ubuntu.com-20100921153635-6tejqkiro2u21ydi
Tags: 1:2.2.2-0ubuntu3
Add kubuntu_03_fix-crash-on-closing-sqlite-connection-2.2.2.diff and
kubuntu_04_support-large-memo-values-for-msaccess-2.2.2.diff as
recommended by upstream http://kexi-
project.org/wiki/wikiview/index.php@Kexi2.2_Patches.html#sqlite_stab
ility

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* This file is part of the KOffice project
2
 
 * Copyright (C) 2005, 2007-2008 Thomas Zander <zander@kde.org>
 
2
 * Copyright (C) 2005, 2007-2008, 2010 Thomas Zander <zander@kde.org>
3
3
 *
4
4
 * This library is free software; you can redistribute it and/or
5
5
 * modify it under the terms of the GNU Library General Public
23
23
#include "KWPageStyle.h"
24
24
#include "kword_export.h"
25
25
 
26
 
#include <KoPageLayout.h>
27
26
#include <KoText.h>
28
27
#include <QRectF>
29
28
#include <QObject>
66
65
    qreal leftMargin() const;
67
66
    /// return the width of the margin at right (in pt);
68
67
    qreal rightMargin() const;
 
68
    /// return the height of the padding at top (in pt);
 
69
    qreal topPadding() const;
 
70
    /// return the height of the padding at bottom (in pt);
 
71
    qreal bottomPadding() const;
 
72
    /// return the width of the padding at left (in pt);
 
73
    qreal leftPadding() const;
 
74
    /// return the width of the padding at right (in pt);
 
75
    qreal rightPadding() const;
69
76
    /// return width of the margin that is the closest to the page edge, i.e. left for even pages
70
77
    qreal pageEdgeMargin() const;
71
78
    /// return width of the margin that is the closest to the binding, i.e. right for even pages
137
144
     */
138
145
    KoText::Direction directionHint() const;
139
146
 
 
147
    void setAutoGenerated(bool on);
 
148
    bool isAutoGenerated() const;
 
149
 
140
150
    /// returns the previous page.
141
151
    const KWPage previous() const;
142
152
    /// returns the next page.