~ubuntu-branches/ubuntu/maverick/scribus-ng/maverick-backports

« back to all changes in this revision

Viewing changes to scribus/styles/paragraphstyle.attrdefs.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Oleksandr Moskalenko
  • Date: 2007-08-11 17:41:51 UTC
  • mfrom: (0.1.1 upstream) (4.1.2 feisty)
  • Revision ID: james.westby@ubuntu.com-20070811174151-tmkgjvjuc0mtk8ul
Tags: 1.3.4.dfsg+svn20071115-1
* Upstream svn update (Closes: #447480, #448949).
* debian/NEWS: Added a note for users wanting stable Scribus to switch to
  the "scribus" package (Closes: #427638).
* debian/watch: Updated the watch regex to properly track sourceforge
  releases for this branch (Closes: #449700).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
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.
 
6
 */
 
7
/***************************************************************************
 
8
*                                                                         *
 
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.                                   *
 
13
*                                                                         *
 
14
***************************************************************************/
 
15
 
 
16
 
 
17
//Syntax: ATTRDEF( datatype, gettername, name, defaultvalue)
 
18
 
 
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)
 
38
 
 
39