#include <KoOasisContext.h>
Graphe d'héritage de KoOasisContext:
Fonctions membres publiques | |
KoOasisContext (KoDocument *doc, KoVariableCollection &varColl, KoOasisStyles &styles, KoStore *store) | |
~KoOasisContext () | |
KoVariableCollection & | variableCollection () |
KoListStyleStack & | listStyleStack () |
QString | currentListStyleName () const |
void | setCurrentListStyleName (const QString &s) |
bool | pushListLevelStyle (const QString &listStyleName, int level) |
bool | pushOutlineListLevelStyle (int level) |
Used for outline levels. | |
void | setCursorPosition (KoTextParag *cursorTextParagraph, int cursorTextIndex) |
Set cursor position (set by KoTextParag upon finding the processing instruction). | |
KoTextParag * | cursorTextParagraph () const |
int | cursorTextIndex () const |
Fonctions membres privées | |
bool | pushListLevelStyle (const QString &listStyleName, const QDomElement &fullListStyle, int level) |
| |
Attributs privés | |
KoListStyleStack | m_listStyleStack |
QString | m_currentListStyleName |
KoVariableCollection & | m_varColl |
KoTextParag * | m_cursorTextParagraph |
int | m_cursorTextIndex |
Private * | d |
Définition à la ligne 47 du fichier KoOasisContext.h.
KoOasisContext::KoOasisContext | ( | KoDocument * | doc, | |
KoVariableCollection & | varColl, | |||
KoOasisStyles & | styles, | |||
KoStore * | store | |||
) |
Stores reference to the KoOasisStyles parsed by KoDocument. Make sure that the KoOasisStyles instance outlives this KoOasisContext instance. (This is the case during loaiding, when using the KoOasisStyles given by KoDocument)
doc | KoDocument, needed by some field variables | |
varColl | reference to the collection that creates and stores variables (fields) | |
styles | reference to the KoOasisStyles parsed by KoDocument | |
store | pointer to store, if available, for e.g. loading images. |
Définition à la ligne 28 du fichier KoOasisContext.cpp.
KoOasisContext::~KoOasisContext | ( | ) |
Définition à la ligne 90 du fichier KoOasisContext.cpp.
KoVariableCollection& KoOasisContext::variableCollection | ( | ) | [inline] |
Définition à la ligne 63 du fichier KoOasisContext.h.
Référencé par KoTextParag::loadOasisSpan(), et KoTextDocument::loadOasisText().
Voici le graphe d'appel pour cette fonction :
KoListStyleStack& KoOasisContext::listStyleStack | ( | ) | [inline] |
Définition à la ligne 67 du fichier KoOasisContext.h.
Référencé par KoTextParag::applyListStyle(), KoTextDocument::loadList(), KoParagCounter::loadOasis(), et KoParagStyle::loadStyle().
Voici le graphe d'appel pour cette fonction :
QString KoOasisContext::currentListStyleName | ( | ) | const [inline] |
Définition à la ligne 68 du fichier KoOasisContext.h.
Référencé par KoTextDocument::loadList().
Voici le graphe d'appel pour cette fonction :
void KoOasisContext::setCurrentListStyleName | ( | const QString & | s | ) | [inline] |
Définition à la ligne 69 du fichier KoOasisContext.h.
Référencé par KoTextDocument::loadList().
Voici le graphe d'appel pour cette fonction :
bool KoOasisContext::pushListLevelStyle | ( | const QString & | listStyleName, | |
int | level | |||
) |
Used for lists (numbered paragraphs)
Définition à la ligne 47 du fichier KoOasisContext.cpp.
Références KoOasisStyles::listStyles(), et KoOasisLoadingContext::oasisStyles().
Référencé par KoTextDocument::loadList(), KoParagStyle::loadStyle(), et pushOutlineListLevelStyle().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
bool KoOasisContext::pushOutlineListLevelStyle | ( | int | level | ) |
Used for outline levels.
Définition à la ligne 58 du fichier KoOasisContext.cpp.
Références KoDom::namedItemNS(), KoOasisLoadingContext::oasisStyles(), pushListLevelStyle(), et KoXmlNS::text.
Référencé par KoTextDocument::loadOasisText(), et KoParagStyle::loadStyle().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
void KoOasisContext::setCursorPosition | ( | KoTextParag * | cursorTextParagraph, | |
int | cursorTextIndex | |||
) |
Set cursor position (set by KoTextParag upon finding the processing instruction).
Définition à la ligne 83 du fichier KoOasisContext.cpp.
Références cursorTextParagraph(), m_cursorTextIndex, et m_cursorTextParagraph.
Référencé par KoTextParag::loadOasisSpan().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
KoTextParag* KoOasisContext::cursorTextParagraph | ( | ) | const [inline] |
Définition à la ligne 81 du fichier KoOasisContext.h.
Référencé par setCursorPosition().
Voici le graphe d'appel pour cette fonction :
int KoOasisContext::cursorTextIndex | ( | ) | const [inline] |
Définition à la ligne 82 du fichier KoOasisContext.h.
bool KoOasisContext::pushListLevelStyle | ( | const QString & | listStyleName, | |
const QDomElement & | fullListStyle, | |||
int | level | |||
) | [private] |
Définition à la ligne 64 du fichier KoOasisContext.cpp.
Références findListLevelStyle(), m_listStyleStack, et KoListStyleStack::push().
Voici le graphe d'appel pour cette fonction :
QString KoOasisContext::m_currentListStyleName [private] |
Définition à la ligne 90 du fichier KoOasisContext.h.
KoVariableCollection& KoOasisContext::m_varColl [private] |
Définition à la ligne 91 du fichier KoOasisContext.h.
KoTextParag* KoOasisContext::m_cursorTextParagraph [private] |
int KoOasisContext::m_cursorTextIndex [private] |
Private* KoOasisContext::d [private] |
Réimplémentée à partir de KoOasisLoadingContext.
Définition à la ligne 96 du fichier KoOasisContext.h.