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

« back to all changes in this revision

Viewing changes to kword/part/KWPageStyle_p.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-27 17:52:57 UTC
  • mfrom: (0.12.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20101027175257-s04zqqk5bs8ckm9o
Tags: 1:2.2.83-0ubuntu1
* Merge with Debian git remaining changes:
 - Add build-deps on librcps-dev, opengtl-dev, libqtgtl-dev, freetds-dev,
   create-resources, libspnav-dev
 - Remove needless build-dep on libwv2-dev
 - koffice-libs recommends create-resources
 - krita recommends pstoedit
 - Keep our patches
* New upstream release 2.3 beta 3
  - Remove debian/patches fixed by upstream
  - Update install files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* This file is part of the KDE project
2
 
 * Copyright (C) 2006-2009 Thomas Zander <zander@kde.org>
 
2
 * Copyright (C) 2006-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
35
35
    QString name;
36
36
    bool mainFrame;
37
37
    qreal headerDistance, footerDistance, footNoteDistance, endNoteDistance;
 
38
    qreal headerMinimumHeight,footerMinimumHeight;
38
39
    KWord::HeaderFooterType headers, footers;
39
40
 
40
41
    qreal footNoteSeparatorLineWidth; ///< width of line; so more like 'thickness'
45
46
    // See parag 16.2 for all the ODF features.
46
47
    KoText::Direction direction;
47
48
    KoShapeBackground *fullPageBackground;
 
49
    QString nextStyleName;
 
50
 
 
51
    // called from the command
 
52
    void copyProperties(KWPageStylePrivate *other) {
 
53
        columns = other->columns;
 
54
        pageLayout = other->pageLayout;
 
55
        //name = other->name;
 
56
        mainFrame = other->mainFrame;
 
57
        headerDistance = other->headerDistance;
 
58
        footerDistance = other->footerDistance;
 
59
        footNoteDistance = other->footNoteDistance;
 
60
        endNoteDistance = other->endNoteDistance;
 
61
        headerMinimumHeight = other->headerMinimumHeight;
 
62
        footerMinimumHeight = other->footerMinimumHeight;
 
63
        headers = other->headers;
 
64
        footers = other->footers;
 
65
        footNoteSeparatorLineWidth = other->footNoteSeparatorLineWidth;
 
66
        footNoteSeparatorLineLength = other->footNoteSeparatorLineLength;
 
67
        footNoteSeparatorLineType = other->footNoteSeparatorLineType;
 
68
        footNoteSeparatorLinePos = other->footNoteSeparatorLinePos;
 
69
        direction = other->direction;
 
70
        fullPageBackground = other->fullPageBackground;
 
71
        nextStyleName = other->nextStyleName;
 
72
    }
48
73
};
49
74
 
50
75
#endif