Référence de la classe KoListStyleStack

#include <KoListStyleStack.h>

Liste de tous les membres

Fonctions membres publiques

 KoListStyleStack ()
 ~KoListStyleStack ()
void pop ()
void push (const QDomElement &style)
bool hasListStyle () const
 
Renvoie:
true if we're inside a list (i.e. the stack isn't empty)

QDomElement currentListStyle () const
QDomElement currentListStyleProperties () const
QDomElement currentListStyleTextProperties () const
void setInitialLevel (int initialLevel)
int initialLevel () const
 
Renvoie:
initial level

int level () const
 
Renvoie:
current list level


Attributs privés

Q3ValueStack< QDomElement > m_stack
int m_initialLevel


Description détaillée

This class implements the list styles currently active at a given point. Unlike KoStyleStack, this is NOT an inheritance stack. The list-style stack contains one item per list level at any given point. For instance inside <ul><li><ul><li> (in html terms), it will have 2 items.

Auteur:
David Faure <faure@kde.org>

Définition à la ligne 34 du fichier KoListStyleStack.h.


Documentation des contructeurs et destructeur

KoListStyleStack::KoListStyleStack (  ) 

Définition à la ligne 5 du fichier KoListStyleStack.cpp.

KoListStyleStack::~KoListStyleStack (  ) 

Définition à la ligne 10 du fichier KoListStyleStack.cpp.


Documentation des fonctions membres

void KoListStyleStack::pop (  ) 

Removes the style on top of the stack.

Définition à la ligne 14 du fichier KoListStyleStack.cpp.

Références m_stack.

Référencé par KoTextDocument::loadList(), et KoParagStyle::loadStyle().

Voici le graphe d'appel pour cette fonction :

void KoListStyleStack::push ( const QDomElement &  style  ) 

Pushes the new list-style onto the stack.

Définition à la ligne 19 du fichier KoListStyleStack.cpp.

Références m_stack.

Référencé par KoOasisContext::pushListLevelStyle().

Voici le graphe d'appel pour cette fonction :

bool KoListStyleStack::hasListStyle (  )  const [inline]

Renvoie:
true if we're inside a list (i.e. the stack isn't empty)

Définition à la ligne 51 du fichier KoListStyleStack.h.

Références m_stack.

QDomElement KoListStyleStack::currentListStyle (  )  const

Renvoie:
currently applicable list style, i.e. the one on top of the stack Most list-level properties are the attributes of that element.

Définition à la ligne 30 du fichier KoListStyleStack.cpp.

Références m_stack.

Référencé par currentListStyleProperties(), currentListStyleTextProperties(), KoTextDocument::loadList(), KoParagCounter::loadOasis(), et KoParagStyle::loadStyle().

Voici le graphe d'appel pour cette fonction :

QDomElement KoListStyleStack::currentListStyleProperties (  )  const

Renvoie:
the style:list-level-properties for the currently applicable list style. The list-level properties that are only "style" information, like text:min-label-width, text:space-before, and style:font-name are the attributes of that element.

Définition à la ligne 36 du fichier KoListStyleStack.cpp.

Références currentListStyle(), KoDom::namedItemNS(), et KoXmlNS::style.

Référencé par KoTextParag::applyListStyle(), et KoParagCounter::loadOasis().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QDomElement KoListStyleStack::currentListStyleTextProperties (  )  const

Renvoie:
the style:text-properties for the currently applicable list style.

Définition à la ligne 42 du fichier KoListStyleStack.cpp.

Références currentListStyle(), KoDom::namedItemNS(), et KoXmlNS::style.

Référencé par KoParagCounter::loadOasis().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoListStyleStack::setInitialLevel ( int  initialLevel  ) 

Set the initial level of the list, i.e. of item at the bottom of the stack. This is used when a level is explicitly specified in the [un]ordered-list tag (OASIS extension)

Définition à la ligne 24 du fichier KoListStyleStack.cpp.

Références m_initialLevel, et m_stack.

int KoListStyleStack::initialLevel (  )  const [inline]

Renvoie:
initial level

Définition à la ligne 78 du fichier KoListStyleStack.h.

Références m_initialLevel.

int KoListStyleStack::level (  )  const [inline]

Renvoie:
current list level

Définition à la ligne 81 du fichier KoListStyleStack.h.

Références m_initialLevel, et m_stack.

Référencé par KoTextDocument::loadList().

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

Q3ValueStack<QDomElement> KoListStyleStack::m_stack [private]

Définition à la ligne 85 du fichier KoListStyleStack.h.

Référencé par currentListStyle(), hasListStyle(), level(), pop(), push(), et setInitialLevel().

int KoListStyleStack::m_initialLevel [private]

Définition à la ligne 86 du fichier KoListStyleStack.h.

Référencé par initialLevel(), level(), et setInitialLevel().


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