~smartboyhw/ubuntu/raring/calligra/2.6.0-0ubuntu1

« back to all changes in this revision

Viewing changes to libs/kotext/styles/KoSectionStyle.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-08 11:05:31 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20120808110531-43wco1j5sdm8n47s
Tags: 1:2.5.0-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
public:
55
55
    enum Property {
56
56
        StyleId = QTextFormat::UserProperty + 1,
57
 
        TextProgressionDirection
 
57
        TextProgressionDirection,
 
58
        ColumnCount,
 
59
        ColumnData,
 
60
        ColumnGapWidth,
 
61
        SeparatorStyle,
 
62
        SeparatorColor,
 
63
        SeparatorVerticalAlignment,
 
64
        SeparatorWidth,
 
65
        SeparatorHeight
58
66
    };
59
67
 
60
68
    /// Constructor
67
75
    /// creates a clone of this style with the specified parent
68
76
    KoSectionStyle *clone(QObject *parent = 0) const;
69
77
 
70
 
    /**
71
 
     * Return the current columns settings.
72
 
     */
73
 
    KoColumns columns() const;
74
 
    /**
75
 
     * Set the new columns settings
76
 
     */
77
 
    void setColumns(const KoColumns &columns);
78
78
 
79
79
    /// duplicated property from QTextBlockFormat
80
80
    void setLeftMargin(qreal margin);
104
104
    int indent() const;
105
105
#endif
106
106
 
 
107
    void setColumnCount(int columnCount);
 
108
    int columnCount() const;
 
109
 
 
110
    void setColumnGapWidth(qreal columnGapWidth);
 
111
    qreal columnGapWidth() const;
 
112
 
 
113
    void setColumnData(const QList<KoColumns::ColumnDatum> &columnData);
 
114
    QList<KoColumns::ColumnDatum> columnData() const;
 
115
 
 
116
    void setSeparatorStyle(KoColumns::SeparatorStyle separatorStyle);
 
117
    KoColumns::SeparatorStyle separatorStyle() const;
 
118
 
 
119
    void setSeparatorColor(const QColor &separatorColor);
 
120
    QColor separatorColor() const;
 
121
 
 
122
    void setSeparatorVerticalAlignment(KoColumns::SeparatorVerticalAlignment separatorVerticalAlignment);
 
123
    KoColumns::SeparatorVerticalAlignment separatorVerticalAlignment() const;
 
124
 
 
125
    void setSeparatorWidth(qreal separatorWidth);
 
126
    qreal separatorWidth() const;
 
127
 
 
128
    void setSeparatorHeight(int separatorHeight);
 
129
    int separatorHeight() const;
 
130
 
107
131
    /// set the parent style this one inherits its unset properties from.
108
132
    void setParentStyle(KoSectionStyle *parent);
109
133