#include <KoParagraphStyle.h>
Graphe de collaboration de KoParagraphStyle:
Types publics | |
enum | Property { StyleId = QTextFormat::UserProperty+1, FixedLineHeight, MinimumLineHeight, LineSpacing, LineSpacingFromFont, AlignLastLine, WidowThreshold, OrphanThreshold, DropCaps, DropCapsLength, DropCapsLines, DropCapsDistance, FollowDocBaseline, BreakBefore, BreakAfter, HasLeftBorder, HasTopBorder, HasRightBorder, HasBottomBorder, BorderLineWidth, SecondBorderLineWidth, DistanceToSecondBorder, LeftPadding, TopPadding, RightPadding, BottomPadding, LeftBorderWidth, LeftInnerBorderWidth, LeftBorderSpacing, LeftBorderStyle, LeftBorderColor, TopBorderWidth, TopInnerBorderWidth, TopBorderSpacing, TopBorderStyle, TopBorderColor, RightBorderWidth, RightInnerBorderWidth, RightBorderSpacing, RightBorderStyle, RightBorderColor, BottomBorderWidth, BottomInnerBorderWidth, BottomBorderSpacing, BottomBorderStyle, BottomBorderColor } |
enum | BorderStyle { BorderNone, BorderDotted, BorderDashed, BorderSolid, BorderDouble, BorderGroove, BorderRidge, BorderInset, BorderOutset, BorderDashDotPattern, BorderDashDotDotPattern } |
Fonctions membres publiques | |
KoParagraphStyle () | |
KoParagraphStyle (const KoParagraphStyle &orig) | |
Copy constructor. | |
~KoParagraphStyle () | |
void | setLineHeightPercent (int lineHeight) |
int | lineHeightPercent () const |
void | setLineHeightAbsolute (double height) |
double | lineHeightAbsolute () const |
void | setMinimumLineHeight (double height) |
double | minimumLineHeight () const |
void | setLineSpacing (double spacing) |
double | lineSpacing () const |
void | setLineSpacingFromFont (bool on) |
bool | lineSpacingFromFont () const |
void | setAlignLastLine (Qt::Alignment alignment) |
Qt::Alignment | alignLastLine () const |
void | setWidowThreshold (int lines) |
int | widowThreshold () const |
void | setOrphanThreshold (int lines) |
int | orphanThreshold () const |
void | setDropCaps (bool on) |
bool | dropCaps () const |
void | setDropCapsLength (int characters) |
int | dropCapsLength () const |
void | setDropCapsLines (int lines) |
int | dropCapsLines () const |
void | setDropCapsDistance (double distance) |
double | dropCapsDistance () const |
void | setFollowDocBaseline (bool on) |
bool | followDocBaseline () const |
void | setBreakBefore (bool on) |
bool | breakBefore () |
void | setBreakAfter (bool on) |
bool | breakAfter () |
void | setLeftPadding (double padding) |
double | leftPadding () |
void | setTopPadding (double padding) |
double | topPadding () |
void | setRightPadding (double padding) |
double | rightPadding () |
void | setBottomPadding (double padding) |
double | bottomPadding () |
void | setLeftBorderWidth (double width) |
double | leftBorderWidth () |
void | setLeftInnerBorderWidth (double width) |
double | leftInnerBorderWidth () |
void | setLeftBorderSpacing (double width) |
double | leftBorderSpacing () |
void | setLeftBorderStyle (BorderStyle style) |
BorderStyle | leftBorderStyle () |
void | setLeftBorderColor (QColor color) |
QColor | leftBorderColor () |
void | setTopBorderWidth (double width) |
double | topBorderWidth () |
void | setTopInnerBorderWidth (double width) |
double | topInnerBorderWidth () |
void | setTopBorderSpacing (double width) |
double | topBorderSpacing () |
void | setTopBorderStyle (BorderStyle style) |
BorderStyle | topBorderStyle () |
void | setTopBorderColor (QColor color) |
QColor | topBorderColor () |
void | setRightBorderWidth (double width) |
double | rightBorderWidth () |
void | setRightInnerBorderWidth (double width) |
double | rightInnerBorderWidth () |
void | setRightBorderSpacing (double width) |
double | rightBorderSpacing () |
void | setRightBorderStyle (BorderStyle style) |
BorderStyle | rightBorderStyle () |
void | setRightBorderColor (QColor color) |
QColor | rightBorderColor () |
void | setBottomBorderWidth (double width) |
double | bottomBorderWidth () |
void | setBottomInnerBorderWidth (double width) |
double | bottomInnerBorderWidth () |
void | setBottomBorderSpacing (double width) |
double | bottomBorderSpacing () |
void | setBottomBorderStyle (BorderStyle style) |
BorderStyle | bottomBorderStyle () |
void | setBottomBorderColor (QColor color) |
QColor | bottomBorderColor () |
void | setTopMargin (double topMargin) |
duplicated property from QTextBlockFormat | |
double | topMargin () const |
duplicated property from QTextBlockFormat | |
void | setBottomMargin (double margin) |
duplicated property from QTextBlockFormat | |
double | bottomMargin () const |
duplicated property from QTextBlockFormat | |
void | setLeftMargin (double margin) |
duplicated property from QTextBlockFormat | |
double | leftMargin () const |
duplicated property from QTextBlockFormat | |
void | setRightMargin (double margin) |
duplicated property from QTextBlockFormat | |
double | rightMargin () const |
duplicated property from QTextBlockFormat | |
void | setAlignment (Qt::Alignment alignment) |
duplicated property from QTextBlockFormat | |
Qt::Alignment | alignment () const |
duplicated property from QTextBlockFormat | |
void | setTextIndent (double margin) |
duplicated property from QTextBlockFormat | |
double | textIndent () const |
duplicated property from QTextBlockFormat | |
void | setIndent (int indent) |
duplicated property from QTextBlockFormat | |
int | indent () const |
duplicated property from QTextBlockFormat | |
void | setNonBreakableLines (bool on) |
duplicated property from QTextBlockFormat | |
bool | nonBreakableLines () const |
duplicated property from QTextBlockFormat | |
void | setParent (KoParagraphStyle *parent) |
set the parent style this one inherits its unset properties from. | |
KoParagraphStyle * | parent () const |
return the parent style | |
void | setNextStyle (int next) |
the 'next' style is the one used when the user creates a new paragrap after this one. | |
int | nextStyle () const |
the 'next' style is the one used when the user creates a new paragrap after this one. | |
const QString & | name () const |
return the name of the style. | |
void | setName (const QString &name) |
set a user-visible name on the style. | |
int | styleId () const |
each style has a unique ID (non persistent) given out by the styleManager | |
void | setStyleId (int id) |
each style has a unique ID (non persistent) given out by the styleManager | |
void | applyStyle (QTextBlockFormat &format) const |
void | applyStyle (QTextBlock &block) const |
KoCharacterStyle * | characterStyle () |
const KoCharacterStyle * | characterStyle () const |
KoListStyle * | listStyle () |
const KoListStyle * | listStyle () const |
void | setListStyle (const KoListStyle &style) |
void | removeListStyle () |
Fonctions membres privées | |
void | setProperty (int key, const QVariant &value) |
void | remove (int key) |
double | propertyDouble (int key) const |
int | propertyInt (int key) const |
bool | propertyBoolean (int key) const |
QColor | propertyColor (int key) const |
QVariant const * | get (int key) const |
Attributs privés | |
QString | m_name |
KoCharacterStyle * | m_charStyle |
KoListStyle * | m_listStyle |
KoParagraphStyle * | m_parent |
int | m_next |
StylePrivate * | m_stylesPrivate |
Définition à la ligne 42 du fichier KoParagraphStyle.h.
StyleId | |
FixedLineHeight | this propery is used to use a non-default line height |
MinimumLineHeight | this property is used to have a minimum line spacing |
LineSpacing | Hard leader height. |
LineSpacingFromFont | if false, use fontsize (in pt) solely, otherwise respect font settings |
AlignLastLine | When the paragraph is justified, what to do with the last word line. |
WidowThreshold | If 'keep together'=false, amount of lines to keep it anyway. |
OrphanThreshold | If 'keep together'=false, amount of lines to keep it anyway. |
DropCaps | defines if a paragraph renders its first char(s) with drop-caps |
DropCapsLength | Number of glyphs to show as drop-caps. |
DropCapsLines | Number of lines that the drop-caps span. |
DropCapsDistance | Distance between drop caps and text. |
FollowDocBaseline | If true the baselines will be aligned with the doc-wide grid. |
BreakBefore | If true, insert a frame break before this paragraph. |
BreakAfter | If true, insert a frame break after this paragraph. |
HasLeftBorder | If true, paint a border on the left. |
HasTopBorder | If true, paint a border on the top. |
HasRightBorder | If true, paint a border on the right. |
HasBottomBorder | If true, paint a border on the bottom. |
BorderLineWidth | Thickness of inner-border. |
SecondBorderLineWidth | Thickness of outer-border. |
DistanceToSecondBorder | Distance between inner and outer border. |
LeftPadding | distance between text and border |
TopPadding | distance between text and border |
RightPadding | distance between text and border |
BottomPadding | distance between text and border |
LeftBorderWidth | The thickness of the border, or 0 if there is no border. |
LeftInnerBorderWidth | In case of style being 'double' the thickness of the inner border line. |
LeftBorderSpacing | In case of style being 'double' the space between the inner and outer border lines. |
LeftBorderStyle | The border style. (see BorderStyle). |
LeftBorderColor | The border Color. |
TopBorderWidth | The thickness of the border, or 0 if there is no border. |
TopInnerBorderWidth | In case of style being 'double' the thickness of the inner border line. |
TopBorderSpacing | In case of style being 'double' the space between the inner and outer border lines. |
TopBorderStyle | The border style. (see BorderStyle). |
TopBorderColor | The border Color. |
RightBorderWidth | The thickness of the border, or 0 if there is no border. |
RightInnerBorderWidth | In case of style being 'double' the thickness of the inner border line. |
RightBorderSpacing | In case of style being 'double' the space between the inner and outer border lines. |
RightBorderStyle | The border style. (see BorderStyle). |
RightBorderColor | The border Color. |
BottomBorderWidth | The thickness of the border, or 0 if there is no border. |
BottomInnerBorderWidth | In case of style being 'double' the thickness of the inner border line. |
BottomBorderSpacing | In case of style being 'double' the space between the inner and outer border lines. |
BottomBorderStyle | The border style. (see BorderStyle). |
BottomBorderColor | The border Color. |
Définition à la ligne 45 du fichier KoParagraphStyle.h.
Définition à la ligne 98 du fichier KoParagraphStyle.h.
KoParagraphStyle::KoParagraphStyle | ( | ) |
Définition à la ligne 29 du fichier KoParagraphStyle.cpp.
Références m_stylesPrivate, et setLineHeightPercent().
Voici le graphe d'appel pour cette fonction :
KoParagraphStyle::KoParagraphStyle | ( | const KoParagraphStyle & | orig | ) |
Copy constructor.
Définition à la ligne 39 du fichier KoParagraphStyle.cpp.
Références KoListStyle::addUser(), StylePrivate::copyMissing(), m_charStyle, m_listStyle, m_name, m_next, m_stylesPrivate, et name().
Voici le graphe d'appel pour cette fonction :
KoParagraphStyle::~KoParagraphStyle | ( | ) |
Définition à la ligne 57 du fichier KoParagraphStyle.cpp.
Références m_charStyle, m_listStyle, m_stylesPrivate, KoListStyle::removeUser(), et KoListStyle::userCount().
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::setLineHeightPercent | ( | int | lineHeight | ) | [inline] |
Sets the line height as a percentage of the highest character on that line. A good typographically correct value would be 120%
Définition à la ligne 126 du fichier KoParagraphStyle.h.
Référencé par KoParagraphStyle().
Voici le graphe d'appel pour cette fonction :
int KoParagraphStyle::lineHeightPercent | ( | ) | const [inline] |
Définition à la ligne 128 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLineHeightAbsolute | ( | double | height | ) | [inline] |
Sets the line height to a specific pt-based height, ignoring the font size.
Définition à la ligne 133 du fichier KoParagraphStyle.h.
double KoParagraphStyle::lineHeightAbsolute | ( | ) | const [inline] |
Définition à la ligne 135 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setMinimumLineHeight | ( | double | height | ) | [inline] |
Sets the line height to have a minimum height in pt.
Définition à la ligne 140 du fichier KoParagraphStyle.h.
double KoParagraphStyle::minimumLineHeight | ( | ) | const [inline] |
Définition à la ligne 141 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLineSpacing | ( | double | spacing | ) | [inline] |
Sets the space between two lines to be a specific height, ignoring the font size.
Définition à la ligne 146 du fichier KoParagraphStyle.h.
double KoParagraphStyle::lineSpacing | ( | ) | const [inline] |
Définition à la ligne 148 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLineSpacingFromFont | ( | bool | on | ) | [inline] |
If set to true the font-encoded height will be used instead of the font-size propery This property influences setLineHeightPercent() behavior. When off (default) a font of 12pt will always have a linespacing of 12pt times the current linespacing percentage. When on the linespacing embedded in the font is used which can differ for various fonts, even if they are the same pt-size.
Définition à la ligne 157 du fichier KoParagraphStyle.h.
bool KoParagraphStyle::lineSpacingFromFont | ( | ) | const [inline] |
Définition à la ligne 161 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setAlignLastLine | ( | Qt::Alignment | alignment | ) | [inline] |
For paragraphs that are justified the last line alignment is specified here. There are only 3 valid options, Left, Center and Justified. (where Left will be right aligned for RTL text).
Définition à la ligne 169 du fichier KoParagraphStyle.h.
Qt::Alignment KoParagraphStyle::alignLastLine | ( | ) | const [inline] |
void KoParagraphStyle::setWidowThreshold | ( | int | lines | ) | [inline] |
Paragraphs that are broken across two frames are normally broken at the bottom of the frame. Using this property we can set the minimum number of lines that should appear in the second frame to avoid really short paragraphs standing alone (also called widows). So, if a 10 line parag is broken in a way that only one line is in the second frame, setting a widowThreshold of 4 will break at 6 lines instead to leave the requested 4 lines.
Définition à la ligne 184 du fichier KoParagraphStyle.h.
int KoParagraphStyle::widowThreshold | ( | ) | const [inline] |
void KoParagraphStyle::setOrphanThreshold | ( | int | lines | ) | [inline] |
Paragraphs that are broken across two frames are normally broken at the bottom of the frame. Using this property we can set the minimum number of lines that should appear in the first frame to avoid really short paragraphs standing alone (also called orphans). So, if a paragraph is broken so only 2 line is left in the first frame setting the orphanThreshold to something greater than 2 will move the whole paragraph to the second frame.
Définition à la ligne 197 du fichier KoParagraphStyle.h.
int KoParagraphStyle::orphanThreshold | ( | ) | const [inline] |
void KoParagraphStyle::setDropCaps | ( | bool | on | ) | [inline] |
If true, make the first character span multiple lines.
Définition à la ligne 208 du fichier KoParagraphStyle.h.
bool KoParagraphStyle::dropCaps | ( | ) | const [inline] |
void KoParagraphStyle::setDropCapsLength | ( | int | characters | ) | [inline] |
Set the number of glyphs to show as drop-caps
Définition à la ligne 219 du fichier KoParagraphStyle.h.
int KoParagraphStyle::dropCapsLength | ( | ) | const [inline] |
set dropCaps Length in characters
Définition à la ligne 224 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setDropCapsLines | ( | int | lines | ) | [inline] |
Set the number of lines that the drop-caps span
Définition à la ligne 231 du fichier KoParagraphStyle.h.
int KoParagraphStyle::dropCapsLines | ( | ) | const [inline] |
set dropCapsLines
Définition à la ligne 236 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setDropCapsDistance | ( | double | distance | ) | [inline] |
set the distance between drop caps and text in pt
Définition à la ligne 243 du fichier KoParagraphStyle.h.
double KoParagraphStyle::dropCapsDistance | ( | ) | const [inline] |
Set dropCaps distance
Définition à la ligne 248 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setFollowDocBaseline | ( | bool | on | ) | [inline] |
If true the baselines will be aligned with the doc-wide grid
Définition à la ligne 252 du fichier KoParagraphStyle.h.
bool KoParagraphStyle::followDocBaseline | ( | ) | const [inline] |
return if baseline alignment is used
Définition à la ligne 257 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBreakBefore | ( | bool | on | ) | [inline] |
Définition à la ligne 259 du fichier KoParagraphStyle.h.
bool KoParagraphStyle::breakBefore | ( | ) | [inline] |
Définition à la ligne 260 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBreakAfter | ( | bool | on | ) | [inline] |
Définition à la ligne 261 du fichier KoParagraphStyle.h.
bool KoParagraphStyle::breakAfter | ( | ) | [inline] |
Définition à la ligne 262 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLeftPadding | ( | double | padding | ) | [inline] |
Définition à la ligne 263 du fichier KoParagraphStyle.h.
double KoParagraphStyle::leftPadding | ( | ) | [inline] |
Définition à la ligne 264 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopPadding | ( | double | padding | ) | [inline] |
Définition à la ligne 265 du fichier KoParagraphStyle.h.
double KoParagraphStyle::topPadding | ( | ) | [inline] |
Définition à la ligne 266 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setRightPadding | ( | double | padding | ) | [inline] |
Définition à la ligne 267 du fichier KoParagraphStyle.h.
double KoParagraphStyle::rightPadding | ( | ) | [inline] |
Définition à la ligne 268 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBottomPadding | ( | double | padding | ) | [inline] |
Définition à la ligne 269 du fichier KoParagraphStyle.h.
double KoParagraphStyle::bottomPadding | ( | ) | [inline] |
Définition à la ligne 270 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLeftBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 272 du fichier KoParagraphStyle.h.
double KoParagraphStyle::leftBorderWidth | ( | ) | [inline] |
Définition à la ligne 273 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLeftInnerBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 274 du fichier KoParagraphStyle.h.
double KoParagraphStyle::leftInnerBorderWidth | ( | ) | [inline] |
Définition à la ligne 275 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLeftBorderSpacing | ( | double | width | ) | [inline] |
Définition à la ligne 276 du fichier KoParagraphStyle.h.
double KoParagraphStyle::leftBorderSpacing | ( | ) | [inline] |
Définition à la ligne 277 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLeftBorderStyle | ( | BorderStyle | style | ) | [inline] |
Définition à la ligne 278 du fichier KoParagraphStyle.h.
BorderStyle KoParagraphStyle::leftBorderStyle | ( | ) | [inline] |
Définition à la ligne 279 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setLeftBorderColor | ( | QColor | color | ) | [inline] |
Définition à la ligne 280 du fichier KoParagraphStyle.h.
QColor KoParagraphStyle::leftBorderColor | ( | ) | [inline] |
Définition à la ligne 281 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 282 du fichier KoParagraphStyle.h.
double KoParagraphStyle::topBorderWidth | ( | ) | [inline] |
Définition à la ligne 283 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopInnerBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 284 du fichier KoParagraphStyle.h.
double KoParagraphStyle::topInnerBorderWidth | ( | ) | [inline] |
Définition à la ligne 285 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopBorderSpacing | ( | double | width | ) | [inline] |
Définition à la ligne 286 du fichier KoParagraphStyle.h.
double KoParagraphStyle::topBorderSpacing | ( | ) | [inline] |
Définition à la ligne 287 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopBorderStyle | ( | BorderStyle | style | ) | [inline] |
Définition à la ligne 288 du fichier KoParagraphStyle.h.
BorderStyle KoParagraphStyle::topBorderStyle | ( | ) | [inline] |
Définition à la ligne 289 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopBorderColor | ( | QColor | color | ) | [inline] |
Définition à la ligne 290 du fichier KoParagraphStyle.h.
QColor KoParagraphStyle::topBorderColor | ( | ) | [inline] |
Définition à la ligne 291 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setRightBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 292 du fichier KoParagraphStyle.h.
double KoParagraphStyle::rightBorderWidth | ( | ) | [inline] |
Définition à la ligne 293 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setRightInnerBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 294 du fichier KoParagraphStyle.h.
double KoParagraphStyle::rightInnerBorderWidth | ( | ) | [inline] |
Définition à la ligne 295 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setRightBorderSpacing | ( | double | width | ) | [inline] |
Définition à la ligne 296 du fichier KoParagraphStyle.h.
double KoParagraphStyle::rightBorderSpacing | ( | ) | [inline] |
Définition à la ligne 297 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setRightBorderStyle | ( | BorderStyle | style | ) | [inline] |
Définition à la ligne 298 du fichier KoParagraphStyle.h.
BorderStyle KoParagraphStyle::rightBorderStyle | ( | ) | [inline] |
Définition à la ligne 299 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setRightBorderColor | ( | QColor | color | ) | [inline] |
Définition à la ligne 300 du fichier KoParagraphStyle.h.
QColor KoParagraphStyle::rightBorderColor | ( | ) | [inline] |
Définition à la ligne 301 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBottomBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 302 du fichier KoParagraphStyle.h.
double KoParagraphStyle::bottomBorderWidth | ( | ) | [inline] |
Définition à la ligne 303 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBottomInnerBorderWidth | ( | double | width | ) | [inline] |
Définition à la ligne 304 du fichier KoParagraphStyle.h.
double KoParagraphStyle::bottomInnerBorderWidth | ( | ) | [inline] |
Définition à la ligne 305 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBottomBorderSpacing | ( | double | width | ) | [inline] |
Définition à la ligne 306 du fichier KoParagraphStyle.h.
double KoParagraphStyle::bottomBorderSpacing | ( | ) | [inline] |
Définition à la ligne 307 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBottomBorderStyle | ( | BorderStyle | style | ) | [inline] |
Définition à la ligne 308 du fichier KoParagraphStyle.h.
BorderStyle KoParagraphStyle::bottomBorderStyle | ( | ) | [inline] |
Définition à la ligne 309 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setBottomBorderColor | ( | QColor | color | ) | [inline] |
Définition à la ligne 310 du fichier KoParagraphStyle.h.
QColor KoParagraphStyle::bottomBorderColor | ( | ) | [inline] |
Définition à la ligne 311 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setTopMargin | ( | double | topMargin | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 316 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager(), TestStyles::testChangeParent(), et TestStyles::testStyleInheritance().
Voici le graphe d'appel pour cette fonction :
double KoParagraphStyle::topMargin | ( | ) | const [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 318 du fichier KoParagraphStyle.h.
Référencé par TestStyles::testChangeParent(), et TestStyles::testStyleInheritance().
void KoParagraphStyle::setBottomMargin | ( | double | margin | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 321 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
double KoParagraphStyle::bottomMargin | ( | ) | const [inline] |
void KoParagraphStyle::setLeftMargin | ( | double | margin | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 325 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
double KoParagraphStyle::leftMargin | ( | ) | const [inline] |
void KoParagraphStyle::setRightMargin | ( | double | margin | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 329 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
double KoParagraphStyle::rightMargin | ( | ) | const [inline] |
void KoParagraphStyle::setAlignment | ( | Qt::Alignment | alignment | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 334 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
Qt::Alignment KoParagraphStyle::alignment | ( | ) | const [inline] |
void KoParagraphStyle::setTextIndent | ( | double | margin | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 342 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
double KoParagraphStyle::textIndent | ( | ) | const [inline] |
void KoParagraphStyle::setIndent | ( | int | indent | ) | [inline] |
duplicated property from QTextBlockFormat
Définition à la ligne 346 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
int KoParagraphStyle::indent | ( | ) | const [inline] |
void KoParagraphStyle::setNonBreakableLines | ( | bool | on | ) | [inline] |
bool KoParagraphStyle::nonBreakableLines | ( | ) | const [inline] |
void KoParagraphStyle::setParent | ( | KoParagraphStyle * | parent | ) |
set the parent style this one inherits its unset properties from.
Définition à la ligne 69 du fichier KoParagraphStyle.cpp.
Références StylePrivate::copyMissing(), m_parent, m_stylesPrivate, parent(), et StylePrivate::removeDuplicates().
Référencé par TestStyles::testChangeParent(), et TestStyles::testStyleInheritance().
Voici le graphe d'appel pour cette fonction :
KoParagraphStyle* KoParagraphStyle::parent | ( | ) | const [inline] |
return the parent style
Définition à la ligne 358 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::alteredStyle(), et setParent().
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::setNextStyle | ( | int | next | ) | [inline] |
the 'next' style is the one used when the user creates a new paragrap after this one.
Définition à la ligne 361 du fichier KoParagraphStyle.h.
int KoParagraphStyle::nextStyle | ( | ) | const [inline] |
the 'next' style is the one used when the user creates a new paragrap after this one.
Définition à la ligne 364 du fichier KoParagraphStyle.h.
const QString& KoParagraphStyle::name | ( | ) | const [inline] |
return the name of the style.
Définition à la ligne 367 du fichier KoParagraphStyle.h.
Référencé par KoParagraphStyle(), et KoStyleManager::paragraphStyle().
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::setName | ( | const QString & | name | ) | [inline] |
set a user-visible name on the style.
Définition à la ligne 370 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::KoStyleManager().
Voici le graphe d'appel pour cette fonction :
int KoParagraphStyle::styleId | ( | ) | const [inline] |
each style has a unique ID (non persistent) given out by the styleManager
Définition à la ligne 373 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::alteredStyle(), et KoStyleManager::paragraphStyle().
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::setStyleId | ( | int | id | ) | [inline] |
each style has a unique ID (non persistent) given out by the styleManager
Définition à la ligne 376 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::add().
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::applyStyle | ( | QTextBlockFormat & | format | ) | const |
Apply this style to a blockFormat by copying all properties from this, and parent styles to the target block format. Note that the character format will not be applied using this method, use the other applyStyle() method for that.
Définition à la ligne 130 du fichier KoParagraphStyle.cpp.
Références BottomBorderColor, BottomBorderSpacing, BottomBorderStyle, BottomBorderWidth, BottomInnerBorderWidth, BottomPadding, BreakAfter, BreakBefore, FixedLineHeight, get(), LeftBorderColor, LeftBorderSpacing, LeftBorderStyle, LeftBorderWidth, LeftInnerBorderWidth, LeftPadding, LineSpacing, LineSpacingFromFont, MinimumLineHeight, RightBorderColor, RightBorderSpacing, RightBorderStyle, RightBorderWidth, RightInnerBorderWidth, RightPadding, StyleId, TopBorderColor, TopBorderSpacing, TopBorderStyle, TopBorderWidth, TopInnerBorderWidth, et TopPadding.
Référencé par applyStyle(), et ChangeFollower::processUpdates().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::applyStyle | ( | QTextBlock & | block | ) | const |
Apply this style to the textBlock by copying all properties from this, parent and the character style (where relevant) to the target block formats.
Définition à la ligne 201 du fichier KoParagraphStyle.cpp.
Références KoListStyle::applyStyle(), KoCharacterStyle::applyStyle(), applyStyle(), m_charStyle, m_listStyle, et KoTextBlockData::setCounterWidth().
Voici le graphe d'appel pour cette fonction :
KoCharacterStyle* KoParagraphStyle::characterStyle | ( | ) | [inline] |
Définition à la ligne 391 du fichier KoParagraphStyle.h.
Référencé par KoStyleManager::add().
Voici le graphe d'appel pour cette fonction :
const KoCharacterStyle* KoParagraphStyle::characterStyle | ( | ) | const [inline] |
Définition à la ligne 392 du fichier KoParagraphStyle.h.
KoListStyle* KoParagraphStyle::listStyle | ( | ) | [inline] |
Définition à la ligne 394 du fichier KoParagraphStyle.h.
const KoListStyle* KoParagraphStyle::listStyle | ( | ) | const [inline] |
Définition à la ligne 395 du fichier KoParagraphStyle.h.
void KoParagraphStyle::setListStyle | ( | const KoListStyle & | style | ) |
Définition à la ligne 221 du fichier KoParagraphStyle.cpp.
Références KoListStyle::addUser(), KoListStyle::apply(), et m_listStyle.
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::removeListStyle | ( | ) |
void KoParagraphStyle::setProperty | ( | int | key, | |
const QVariant & | value | |||
) | [private] |
Définition à la ligne 78 du fichier KoParagraphStyle.cpp.
Références StylePrivate::add(), get(), m_parent, m_stylesPrivate, et StylePrivate::remove().
Voici le graphe d'appel pour cette fonction :
void KoParagraphStyle::remove | ( | int | key | ) | [private] |
Définition à la ligne 89 du fichier KoParagraphStyle.cpp.
Références m_stylesPrivate, et StylePrivate::remove().
Voici le graphe d'appel pour cette fonction :
double KoParagraphStyle::propertyDouble | ( | int | key | ) | const [private] |
Définition à la ligne 100 du fichier KoParagraphStyle.cpp.
Références get().
Voici le graphe d'appel pour cette fonction :
int KoParagraphStyle::propertyInt | ( | int | key | ) | const [private] |
Définition à la ligne 107 du fichier KoParagraphStyle.cpp.
Références get().
Voici le graphe d'appel pour cette fonction :
bool KoParagraphStyle::propertyBoolean | ( | int | key | ) | const [private] |
Définition à la ligne 114 du fichier KoParagraphStyle.cpp.
Références get().
Voici le graphe d'appel pour cette fonction :
QColor KoParagraphStyle::propertyColor | ( | int | key | ) | const [private] |
Définition à la ligne 121 du fichier KoParagraphStyle.cpp.
Références get().
Voici le graphe d'appel pour cette fonction :
QVariant const * KoParagraphStyle::get | ( | int | key | ) | const [private] |
Définition à la ligne 93 du fichier KoParagraphStyle.cpp.
Références get(), StylePrivate::get(), m_parent, et m_stylesPrivate.
Référencé par applyStyle(), get(), propertyBoolean(), propertyColor(), propertyDouble(), propertyInt(), et setProperty().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
QString KoParagraphStyle::m_name [private] |
KoCharacterStyle* KoParagraphStyle::m_charStyle [private] |
Définition à la ligne 411 du fichier KoParagraphStyle.h.
Référencé par applyStyle(), KoParagraphStyle(), et ~KoParagraphStyle().
KoListStyle* KoParagraphStyle::m_listStyle [private] |
Définition à la ligne 412 du fichier KoParagraphStyle.h.
Référencé par applyStyle(), KoParagraphStyle(), removeListStyle(), setListStyle(), et ~KoParagraphStyle().
KoParagraphStyle* KoParagraphStyle::m_parent [private] |
Définition à la ligne 413 du fichier KoParagraphStyle.h.
Référencé par get(), setParent(), et setProperty().
int KoParagraphStyle::m_next [private] |
StylePrivate* KoParagraphStyle::m_stylesPrivate [private] |
Définition à la ligne 415 du fichier KoParagraphStyle.h.
Référencé par get(), KoParagraphStyle(), remove(), setParent(), setProperty(), et ~KoParagraphStyle().