2
For general Scribus (>=1.3.2) copyright and licensing information please refer
3
to the COPYING file provided with the program. Following this notice may exist
4
a copyright and/or license notice that predates the release of Scribus 1.3.2
5
for which a new license (GPL+exception) is in place.
7
/***************************************************************************
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
14
***************************************************************************/
17
//Syntax: ATTRDEF( datatype, gettername, name, defaultvalue)
19
ATTRDEF(ParagraphStyle::LineSpacingMode, lineSpacingMode, LineSpacingMode, ParagraphStyle::FixedLineSpacing)
20
ATTRDEF(double, lineSpacing, LineSpacing, 0.0)
21
ATTRDEF(ParagraphStyle::AlignmentType, alignment, Alignment, Leftaligned)
22
ATTRDEF(int, opticalMargins, OpticalMargins, 0)
23
ATTRDEF(int, hyphenationMode, HyphenationMode, 0)
24
ATTRDEF(double, minWordTracking, MinWordTracking, 1.0)
25
//ATTRDEF(double, maxWordTracking, MaxWordTracking, 1.0)
26
ATTRDEF(double, minGlyphExtension, MinGlyphExtension, 1.0)
27
ATTRDEF(double, maxGlyphExtension, MaxGlyphExtension, 1.0)
28
ATTRDEF(double, leftMargin, LeftMargin, 0.0)
29
ATTRDEF(double, rightMargin, RightMargin, 0.0)
30
ATTRDEF(double, firstIndent, FirstIndent, 0.0)
31
ATTRDEF(double, gapBefore, GapBefore, 0.0)
32
ATTRDEF(double, gapAfter, GapAfter, 0.0)
33
ATTRDEF(QValueList<TabRecord>, tabValues, TabValues, QValueList<TabRecord>())
34
ATTRDEF(int, dropCapLines, DropCapLines, 0)
35
ATTRDEF(bool, hasDropCap, HasDropCap, false)
36
ATTRDEF(double, dropCapOffset, DropCapOffset, 0.0)
37
ATTRDEF(bool, useBaselineGrid, UseBaselineGrid, false)