Scribus
Open source desktop publishing at your fingertips
gtParagraphStyle Class Reference
Inheritance diagram for gtParagraphStyle:
Collaboration diagram for gtParagraphStyle:

Public Types

enum  wasSetFlags {
  lineSpacingWasSet = 1, alignmentWasSet = 2, indentWasSet = 4, firstIndentWasSet = 8,
  spaceAboveWasSet = 16, spaceBelowWasSet = 32, tabValueWasSet = 64, fillShadeWasSet = 128,
  dropCapWasSet = 256, dropCapHeightWasSet = 512, adjToBaselineWasSet = 1024, autoLineSpacingWasSet = 2048,
  bulletWasSet = 4096, numWasSet = 8192
}
 

Public Member Functions

int getFlags ()
 
bool isDefaultStyle ()
 
void setDefaultStyle (bool defStyle)
 
double getLineSpacing ()
 
void setLineSpacing (double newLineSpacing)
 
bool getAutoLineSpacing ()
 
void setAutoLineSpacing (bool newALS)
 
int getAlignment ()
 
void setAlignment (Alignment newAlignment)
 
void setAlignment (int newAlignment)
 
double getIndent ()
 
void setIndent (double newIndent)
 
double getFirstLineIndent ()
 
void setFirstLineIndent (double newFirstLineIndent)
 
double getSpaceAbove ()
 
void setSpaceAbove (double newSpaceAbove)
 
double getSpaceBelow ()
 
void setSpaceBelow (double newSpaceBelow)
 
QList< ParagraphStyle::TabRecord > * getTabValues ()
 
void setTabValue (double newTabValue, TabType ttype=LEFT_T)
 
bool hasDropCap ()
 
void setDropCap (bool newDropCap)
 
void setDropCap (int newHeight)
 
int getDropCapHeight ()
 
void setDropCapHeight (int newHeight)
 
bool isAdjToBaseline ()
 
void setAdjToBaseline (bool newAdjToBaseline)
 
void getStyle (gtStyle *style)
 
 gtParagraphStyle (QString name)
 
 gtParagraphStyle (const gtParagraphStyle &p)
 
 gtParagraphStyle (const gtStyle &s)
 
QString target ()
 
bool hasBullet ()
 
void setBullet (bool newBullet, QString str)
 
QString getBullet ()
 
bool hasNum ()
 
void setNum (bool newNum, int format=0, int level=0, int start=1, QString prefix="", QString suffix="")
 
int getNumLevel ()
 
int getNumFormat ()
 
int getNumStart ()
 
QString getNumPrefix ()
 
QString getNumSuffix ()
 
- Public Member Functions inherited from gtStyle
 gtStyle (QString name)
 
 gtStyle (const gtStyle &s)
 
void setFont (gtFont newFont)
 
gtFontgetFont ()
 
QString getName ()
 
void setName (QString newName)
 

Protected Attributes

int flags
 
bool defaultStyle
 
double lineSpacing
 
int alignment
 
double indent
 
double firstLineIndent
 
double spaceAbove
 
double spaceBelow
 
QList< ParagraphStyle::TabRecordtabValues
 
bool dropCap
 
int dropCapHeight
 
bool m_bullet
 Is style using bullet?
 
QString m_bulletStr
 String used as bullet.
 
bool m_numeration
 Is style using numeration?
 
int m_numLevel
 Level in hierarchical numbering.
 
int m_numFormat
 1_2_3, i_ii_ii, a_b_c
 
int m_numStart
 Numeration starts at number.
 
QString m_numPrefix
 Numeration prefix of style.
 
QString m_numSuffix
 Numeration sufffix of style.
 
bool adjToBaseline
 
bool autoLineSpacing
 
bool isVisible
 
- Protected Attributes inherited from gtStyle
QString name
 
gtFont font
 

The documentation for this class was generated from the following files: