Back to index

scribus-ng  1.3.4.dfsg+svn20071115
paragraphstyle.attrdefs.cxx
Go to the documentation of this file.
00001 /*
00002  For general Scribus (>=1.3.2) copyright and licensing information please refer
00003  to the COPYING file provided with the program. Following this notice may exist
00004  a copyright and/or license notice that predates the release of Scribus 1.3.2
00005  for which a new license (GPL+exception) is in place.
00006  */
00007 /***************************************************************************
00008 *                                                                         *
00009 *   This program is free software; you can redistribute it and/or modify  *
00010 *   it under the terms of the GNU General Public License as published by  *
00011 *   the Free Software Foundation; either version 2 of the License, or     *
00012 *   (at your option) any later version.                                   *
00013 *                                                                         *
00014 ***************************************************************************/
00015 
00016 
00017 //Syntax: ATTRDEF( datatype, gettername, name, defaultvalue)
00018 
00019 ATTRDEF(ParagraphStyle::LineSpacingMode, lineSpacingMode, LineSpacingMode, ParagraphStyle::FixedLineSpacing)
00020 ATTRDEF(double, lineSpacing, LineSpacing, 0.0)
00021 ATTRDEF(ParagraphStyle::AlignmentType, alignment, Alignment, Leftaligned)
00022 ATTRDEF(int, opticalMargins, OpticalMargins, 0)
00023 ATTRDEF(int, hyphenationMode, HyphenationMode, 0)
00024 ATTRDEF(double, minWordTracking, MinWordTracking, 1.0)
00025 //ATTRDEF(double, maxWordTracking, MaxWordTracking, 1.0)
00026 ATTRDEF(double, minGlyphExtension, MinGlyphExtension, 1.0)
00027 ATTRDEF(double, maxGlyphExtension, MaxGlyphExtension, 1.0)
00028 ATTRDEF(double, leftMargin, LeftMargin, 0.0)
00029 ATTRDEF(double, rightMargin, RightMargin, 0.0)
00030 ATTRDEF(double, firstIndent, FirstIndent, 0.0)
00031 ATTRDEF(double, gapBefore, GapBefore, 0.0)
00032 ATTRDEF(double, gapAfter, GapAfter, 0.0)
00033 ATTRDEF(QValueList<TabRecord>, tabValues, TabValues, QValueList<TabRecord>())
00034 ATTRDEF(int, dropCapLines, DropCapLines, 0)
00035 ATTRDEF(bool, hasDropCap, HasDropCap, false)
00036 ATTRDEF(double, dropCapOffset, DropCapOffset, 0.0)
00037 ATTRDEF(bool, useBaselineGrid, UseBaselineGrid, false)
00038 
00039