27 #ifndef GTPARAGRAPHSTYLE_H
28 #define GTPARAGRAPHSTYLE_H
30 #include "scribusapi.h"
32 #include "sctextstruct.h"
61 double firstLineIndent;
64 QList<ParagraphStyle::TabRecord> tabValues;
82 lineSpacingWasSet = 1,
85 firstIndentWasSet = 8,
86 spaceAboveWasSet = 16,
87 spaceBelowWasSet = 32,
89 fillShadeWasSet = 128,
91 dropCapHeightWasSet = 512,
92 adjToBaselineWasSet = 1024,
93 autoLineSpacingWasSet = 2048,
99 bool isDefaultStyle();
100 void setDefaultStyle(
bool defStyle);
101 double getLineSpacing();
102 void setLineSpacing(
double newLineSpacing);
103 bool getAutoLineSpacing();
104 void setAutoLineSpacing(
bool newALS);
106 void setAlignment(Alignment newAlignment);
107 void setAlignment(
int newAlignment);
109 void setIndent(
double newIndent);
110 double getFirstLineIndent();
111 void setFirstLineIndent(
double newFirstLineIndent);
112 double getSpaceAbove();
113 void setSpaceAbove(
double newSpaceAbove);
114 double getSpaceBelow();
115 void setSpaceBelow(
double newSpaceBelow);
116 QList<ParagraphStyle::TabRecord>* getTabValues();
117 void setTabValue(
double newTabValue, TabType ttype = LEFT_T);
119 void setDropCap(
bool newDropCap);
120 void setDropCap(
int newHeight);
121 int getDropCapHeight();
122 void setDropCapHeight(
int newHeight);
123 bool isAdjToBaseline();
124 void setAdjToBaseline(
bool newAdjToBaseline);
132 void setBullet(
bool newBullet, QString str);
135 void setNum(
bool newNum,
int format=0,
int level=0,
int start = 1, QString prefix =
"", QString suffix =
"");
139 QString getNumPrefix();
140 QString getNumSuffix();
143 #endif // GTPARAGRAPHSTYLE_H
bool m_bullet
Is style using bullet?
Definition: gtparagraphstyle.h:67
QString m_numPrefix
Numeration prefix of style.
Definition: gtparagraphstyle.h:73
int m_numStart
Numeration starts at number.
Definition: gtparagraphstyle.h:72
Definition: gtparagraphstyle.h:51
int m_numFormat
1_2_3, i_ii_ii, a_b_c
Definition: gtparagraphstyle.h:71
bool m_numeration
Is style using numeration?
Definition: gtparagraphstyle.h:69
int m_numLevel
Level in hierarchical numbering.
Definition: gtparagraphstyle.h:70
QString m_numSuffix
Numeration sufffix of style.
Definition: gtparagraphstyle.h:74
QString m_bulletStr
String used as bullet.
Definition: gtparagraphstyle.h:68