Référence de la classe KoParagStyle

#include <KoParagStyle.h>

Graphe d'héritage de KoParagStyle:

[légende]
Graphe de collaboration de KoParagStyle:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoParagStyle (const QString &name)
 KoParagStyle (const KoParagStyle &rhs)
 ~KoParagStyle ()
void operator= (const KoParagStyle &)
const KoParagLayoutparagLayout () const
KoParagLayoutparagLayout ()
KoParagStylefollowingStyle () const
void setFollowingStyle (KoParagStyle *fst)
void saveStyle (QDomElement &parentElem)
void loadStyle (QDomElement &parentElem, int docVersion=2)
void loadStyle (QDomElement &styleElem, KoOasisContext &context)
 Load the style from OASIS.
QString saveStyle (KoGenStyles &genStyles, int styleType, const QString &parentStyleName, KoSavingContext &context) const
KoParagStyleparentStyle () const
void setParentStyle (KoParagStyle *_style)
int inheritedParagLayoutFlag () const
int inheritedFormatFlag () const
void propagateChanges (int paragLayoutFlag, int formatFlag)
bool isOutline () const
void setOutline (bool b)

Attributs privés

KoParagLayout m_paragLayout
KoParagStylem_followingStyle
KoParagStylem_parentStyle
int m_inheritedParagLayoutFlag
int m_inheritedFormatFlag
bool m_bOutline

Description détaillée

A paragraph style is a combination of a character style and paragraph-layout attributes, all grouped under a name.

Définition à la ligne 54 du fichier KoParagStyle.h.


Documentation des contructeurs et destructeur

KoParagStyle::KoParagStyle ( const QString &  name  ) 

Create a blank style (with default attributes)

Définition à la ligne 48 du fichier KoParagStyle.cpp.

Références m_bOutline, m_followingStyle, m_inheritedFormatFlag, m_inheritedParagLayoutFlag, m_paragLayout, m_parentStyle, et KoParagLayout::style.

KoParagStyle::KoParagStyle ( const KoParagStyle rhs  ) 

Copy another style

Définition à la ligne 61 du fichier KoParagStyle.cpp.

KoParagStyle::~KoParagStyle (  ) 

Définition à la ligne 67 du fichier KoParagStyle.cpp.


Documentation des fonctions membres

void KoParagStyle::operator= ( const KoParagStyle  ) 

Définition à la ligne 71 du fichier KoParagStyle.cpp.

Références m_bOutline, m_followingStyle, m_inheritedFormatFlag, m_inheritedParagLayoutFlag, m_paragLayout, m_parentStyle, et KoParagLayout::style.

const KoParagLayout & KoParagStyle::paragLayout (  )  const

Définition à la ligne 232 du fichier KoParagStyle.cpp.

Références m_paragLayout.

Référencé par KoStyleDialog::apply(), KoTextParag::applyStyle(), KoTextObject::applyStyleCommand(), KoTextParag::copyParagData(), KoTextView::createStyleFromSelection(), KoStyleCollection::numberedStyleForLevel(), KoStyleCollection::outlineStyleForLevel(), KoStyleCollection::printDebug(), propagateChanges(), KoStyleParagTab::save(), KoStyleParagTab::update(), et KoTextView::updateStyleFromSelection().

Voici le graphe d'appel pour cette fonction :

KoParagLayout & KoParagStyle::paragLayout (  ) 

Définition à la ligne 237 du fichier KoParagStyle.cpp.

Références m_paragLayout.

KoParagStyle* KoParagStyle::followingStyle (  )  const [inline]

Définition à la ligne 71 du fichier KoParagStyle.h.

Référencé par KoTextParag::copyParagData(), KoTextObject::doKeyboardAction(), KoStyleCollection::importStyles(), KoStyleCollection::printDebug(), KoStyleCollection::saveOasis(), saveStyle(), et KoStyleDialog::updateGUI().

Voici le graphe d'appel pour cette fonction :

void KoParagStyle::setFollowingStyle ( KoParagStyle fst  ) 

Définition à la ligne 83 du fichier KoParagStyle.cpp.

Références m_followingStyle.

Référencé par KoStyleDialog::addStyle(), KoTextView::createStyleFromSelection(), KoStyleCollection::loadOasisStyles(), et KoStyleDialog::save().

Voici le graphe d'appel pour cette fonction :

void KoParagStyle::saveStyle ( QDomElement &  parentElem  ) 

Saves the name, layout, the following style and the outline bool. Not the format.

Obsolète:
(1.3 format)

Définition à la ligne 88 du fichier KoParagStyle.cpp.

Références KoParagLayout::alignment, KoUserStyle::displayName(), followingStyle(), m_bOutline, m_paragLayout, et KoParagLayout::saveParagLayout().

Référencé par KoStyleCollection::saveOasis().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagStyle::loadStyle ( QDomElement &  parentElem,
int  docVersion = 2 
)

Loads the name, layout and the outline bool. Not the "following style" nor the format. (1.3 format)

Définition à la ligne 103 du fichier KoParagStyle.cpp.

Références KoParagLayout::loadParagLayout(), m_bOutline, KoUserStyle::m_displayName, KoUserStyle::m_name, m_paragLayout, et KoParagLayout::style.

Référencé par KoStyleCollection::loadOasisStyles().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagStyle::loadStyle ( QDomElement &  styleElem,
KoOasisContext context 
)

Load the style from OASIS.

Définition à la ligne 125 du fichier KoParagStyle.cpp.

Références KoOasisLoadingContext::addStyles(), KoParagLayout::counter, KoListStyleStack::currentListStyle(), KoOasisContext::listStyleStack(), KoTextFormat::load(), KoParagCounter::loadOasis(), KoParagLayout::loadOasisParagLayout(), m_bOutline, KoUserStyle::m_displayName, KoCharStyle::m_format, KoUserStyle::m_name, m_paragLayout, KoListStyleStack::pop(), KoOasisContext::pushListLevelStyle(), KoOasisContext::pushOutlineListLevelStyle(), KoStyleStack::restore(), KoStyleStack::save(), KoParagLayout::style, KoXmlNS::style, et KoOasisLoadingContext::styleStack().

Voici le graphe d'appel pour cette fonction :

QString KoParagStyle::saveStyle ( KoGenStyles genStyles,
int  styleType,
const QString &  parentStyleName,
KoSavingContext context 
) const

Save the style to OASIS Don't use, use the method in KoStyleCollection instead

Définition à la ligne 189 du fichier KoParagStyle.cpp.

Références KoGenStyle::addAttribute(), KoParagLayout::counter, KoParagCounter::depth(), KoGenStyles::DontForceNumbering, KoGenStyles::ForceNumbering, KoGenStyles::lookup(), m_bOutline, KoUserStyle::m_displayName, KoCharStyle::m_format, KoUserStyle::m_name, m_paragLayout, KoParagCounter::NUM_NONE, KoParagCounter::numbering(), KoTextFormat::save(), KoParagLayout::saveOasis(), KoParagCounter::saveOasis(), KoParagCounter::style(), KoGenStyle::STYLE_LIST, et KoParagCounter::STYLE_NONE.

Voici le graphe d'appel pour cette fonction :

KoParagStyle* KoParagStyle::parentStyle (  )  const [inline]

Définition à la ligne 87 du fichier KoParagStyle.h.

Référencé par KoStyleDialog::updateGUI().

Voici le graphe d'appel pour cette fonction :

void KoParagStyle::setParentStyle ( KoParagStyle _style  )  [inline]

Définition à la ligne 88 du fichier KoParagStyle.h.

Référencé par KoStyleDialog::save().

Voici le graphe d'appel pour cette fonction :

int KoParagStyle::inheritedParagLayoutFlag (  )  const [inline]

Définition à la ligne 90 du fichier KoParagStyle.h.

int KoParagStyle::inheritedFormatFlag (  )  const [inline]

Définition à la ligne 91 du fichier KoParagStyle.h.

void KoParagStyle::propagateChanges ( int  paragLayoutFlag,
int  formatFlag 
)

Définition à la ligne 242 du fichier KoParagStyle.cpp.

Références KoParagLayout::alignment, KoParagLayout::Alignment, KoParagLayout::All, KoParagLayout::Borders, KoParagLayout::bottomBorder, KoParagLayout::BulletNumber, KoParagLayout::counter, KoParagLayout::joinBorder, KoParagLayout::leftBorder, KoParagLayout::LineSpacing, KoParagLayout::lineSpacingType, KoParagLayout::lineSpacingValue(), m_paragLayout, m_parentStyle, KoParagLayout::margins, KoParagLayout::Margins, paragLayout(), KoParagLayout::rightBorder, KoParagLayout::setLineSpacingValue(), KoParagLayout::setTabList(), KoParagLayout::tabList(), KoParagLayout::Tabulator, et KoParagLayout::topBorder.

Voici le graphe d'appel pour cette fonction :

bool KoParagStyle::isOutline (  )  const [inline]

Définition à la ligne 96 du fichier KoParagStyle.h.

Référencé par KoTextParag::counter(), KoTextView::decreaseNumberingLevel(), KoTextParag::drawLabel(), KoTextView::increaseNumberingLevel(), KoStyleCollection::numberedStyleForLevel(), KoStyleCollection::outlineStyleForLevel(), KoStyleCollection::printDebug(), KoTextParag::saveOasis(), KoTextParag::setCounter(), et KoStyleDialog::updateGUI().

Voici le graphe d'appel pour cette fonction :

void KoParagStyle::setOutline ( bool  b  ) 

Définition à la ligne 280 du fichier KoParagStyle.cpp.

Références m_bOutline.

Référencé par KoStyleDialog::save().

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoParagLayout KoParagStyle::m_paragLayout [private]

Définition à la ligne 100 du fichier KoParagStyle.h.

Référencé par KoParagStyle(), loadStyle(), operator=(), paragLayout(), propagateChanges(), et saveStyle().

KoParagStyle* KoParagStyle::m_followingStyle [private]

Définition à la ligne 101 du fichier KoParagStyle.h.

Référencé par KoParagStyle(), operator=(), et setFollowingStyle().

KoParagStyle* KoParagStyle::m_parentStyle [private]

Définition à la ligne 102 du fichier KoParagStyle.h.

Référencé par KoParagStyle(), operator=(), et propagateChanges().

int KoParagStyle::m_inheritedParagLayoutFlag [private]

Définition à la ligne 103 du fichier KoParagStyle.h.

Référencé par KoParagStyle(), et operator=().

int KoParagStyle::m_inheritedFormatFlag [private]

Définition à la ligne 104 du fichier KoParagStyle.h.

Référencé par KoParagStyle(), et operator=().

bool KoParagStyle::m_bOutline [private]

Définition à la ligne 105 du fichier KoParagStyle.h.

Référencé par KoParagStyle(), loadStyle(), operator=(), saveStyle(), et setOutline().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:47:27 2006 pour KPlato par  doxygen 1.5.1-p1