Référence de la classe KoAutoFormat

#include <KoAutoFormat.h>

Graphe de collaboration de KoAutoFormat:

[légende]
Liste de tous les membres

Types publics

enum  KeyCompletionAction {
  Enter = 0, Tab = 1, Space = 2, End = 3,
  Right = 4
}

Fonctions membres publiques

 KoAutoFormat (KoDocument *_doc, KoVariableCollection *_varCollection, KoVariableFormatCollection *_varFormatCollection)
 KoAutoFormat (const KoAutoFormat &format)
 ~KoAutoFormat ()
KCommand * applyAutoFormat (KoTextObject *obj)
void doAutoFormat (KoTextCursor *cursor, KoTextParag *parag, int index, QChar ch, KoTextObject *txtObj)
bool doCompletion (KoTextCursor *textEditCursor, KoTextParag *parag, int const index, KoTextObject *txtObj)
bool doToolTipCompletion (KoTextCursor *textEditCursor, KoTextParag *parag, int index, KoTextObject *txtObj, int keyPress)
void showToolTipBox (KoTextParag *parag, int index, QWidget *widget, const QPoint &pos)
void removeToolTipCompletion ()
bool doIgnoreDoubleSpace (KoTextParag *parag, int index, QChar ch)
QString getLastWord (const int max_words, KoTextParag *parag, int const index)
void configTypographicDoubleQuotes (TypographicQuotes _tq)
void configTypographicSimpleQuotes (TypographicQuotes _tq)
void configUpperCase (bool _uc)
void configUpperUpper (bool _uu)
void configAdvancedAutocorrect (bool _aa)
void configAutoDetectUrl (bool _au)
void configIgnoreDoubleSpace (bool _ids)
void configRemoveSpaceBeginEndLine (bool _space)
void configUseBulletStyle (bool _ubs)
void configBulletStyle (QChar b)
void configAutoChangeFormat (bool b)
void configAutoReplaceNumber (bool b)
void configAutoNumberStyle (bool b)
void configCompletion (bool b)
void configToolTipCompletion (bool b)
void configAppendSpace (bool b)
void configMinWordLength (int val)
void configNbMaxCompletionWord (int val)
void configAddCompletionWord (bool b)
void configIncludeTwoUpperUpperLetterException (bool b)
void configIncludeAbbreviation (bool b)
void configAutoSuperScript (bool b)
void configCorrectionWithFormat (bool b)
void configCapitalizeNameOfDays (bool b)
void configAutoFormatLanguage (const QString &_lang)
void configKeyCompletionAction (KeyCompletionAction action)
TypographicQuotes getConfigTypographicSimpleQuotes () const
TypographicQuotes getConfigTypographicDoubleQuotes () const
TypographicQuotes getDefaultTypographicDoubleQuotes () const
TypographicQuotes getDefaultTypographicSimpleQuotes () const
bool getConfigUpperCase () const
bool getConfigUpperUpper () const
bool getConfigAdvancedAutoCorrect () const
bool getConfigAutoDetectUrl () const
bool getConfigIgnoreDoubleSpace () const
bool getConfigRemoveSpaceBeginEndLine () const
bool getConfigUseBulletSyle () const
QChar getConfigBulletStyle () const
bool getConfigAutoChangeFormat () const
bool getConfigAutoReplaceNumber () const
bool getConfigAutoNumberStyle () const
bool getConfigCompletion () const
bool getConfigToolTipCompletion () const
bool getConfigAppendSpace () const
int getConfigMinWordLength () const
int getConfigNbMaxCompletionWord () const
bool getConfigAddCompletionWord () const
bool getConfigIncludeTwoUpperUpperLetterException () const
bool getConfigIncludeAbbreviation () const
bool getConfigAutoSuperScript () const
bool getConfigCorrectionWithFormat () const
bool getConfigCapitalizeNameOfDays () const
QString getConfigAutoFormatLanguage () const
KeyCompletionAction getConfigKeyAction () const
const Q3Dict< KoAutoFormatEntry > & getAutoFormatEntries () const
KoAutoFormatEntryfindFormatEntry (const QString &text)
void addAutoFormatEntry (const QString &key, KoAutoFormatEntry *entry)
void addAutoFormatEntry (const QString &key, const QString &replace)
void removeAutoFormatEntry (const QString &key)
void copyAutoFormatEntries (const KoAutoFormat &other)
void copyListException (const QStringList &_list)
void copyListTwoUpperCaseException (const QStringList &_list)
QStringList listException () const
QStringList listTwoUpperLetterException () const
QStringList listCompletion () const
KCompletion * getCompletion () const
int nbSuperScriptEntry () const
void readConfig (bool force=false)
void saveConfig ()
void updateMaxWords ()

Fonctions membres publiques statiques

static QString getLastWord (KoTextParag *parag, int const index)
static QString getWordAfterSpace (KoTextParag *parag, int const index)
static bool isUpper (const QChar &c)
static bool isLower (const QChar &c)
static bool isMark (const QChar &c)
static bool isSeparator (const QChar &c)

Fonctions membres protégées

KCommand * doAutoCorrect (KoTextCursor *textEditCursor, KoTextParag *parag, int &index, KoTextObject *txtObj)
KCommand * doUpperCase (KoTextCursor *textEditCursor, KoTextParag *parag, int index, const QString &word, KoTextObject *txtObj)
KCommand * doTypographicQuotes (KoTextCursor *textEditCursor, KoTextParag *parag, int index, KoTextObject *txtObj, bool doubleQuotes)
void buildMaxLen ()
void doAutoDetectUrl (KoTextCursor *textEditCursor, KoTextParag *parag, int &index, QString &word, KoTextObject *txtObj)
KCommand * doRemoveSpaceBeginEndLine (KoTextCursor *textEditCursor, KoTextParag *parag, KoTextObject *txtObj, int &index)
KCommand * doAutoChangeFormat (KoTextCursor *textEditCursor, KoTextParag *parag, int index, const QString &word, KoTextObject *txtObj)
KCommand * doUseBulletStyle (KoTextCursor *textEditCursor, KoTextParag *parag, KoTextObject *txtObj, int &index)
KCommand * doAutoReplaceNumber (KoTextCursor *textEditCursor, KoTextParag *parag, int &index, const QString &word, KoTextObject *txtObj)
KCommand * doUseNumberStyle (KoTextCursor *, KoTextParag *parag, KoTextObject *txtObj, int &index)
void doAutoIncludeUpperUpper (KoTextCursor *textEditCursor, KoTextParag *parag, KoTextObject *txtObj)
void doAutoIncludeAbbreviation (KoTextCursor *textEditCursor, KoTextParag *parag, KoTextObject *txtObj)
KCommand * doAutoSuperScript (KoTextCursor *textEditCursor, KoTextParag *parag, int index, const QString &word, KoTextObject *txtObj)
KCommand * doCapitalizeNameOfDays (KoTextCursor *textEditCursor, KoTextParag *parag, int index, const QString &word, KoTextObject *txtObj)
void loadEntry (const QDomElement &nl, bool _allLanguages=false)
QDomElement saveEntry (Q3DictIterator< KoAutoFormatEntry > _entry, QDomDocument doc)

Fonctions membres protégées statiques

static void changeTextFormat (KoSearchContext *formatOptions, KoTextFormat *format, int &flags)

Fonctions membres privées

void detectStartOfLink (KoTextParag *parag, int const index, bool const insertedDot)
void autoFormatIsActive ()
void loadListOfWordCompletion ()
void loadAutoCorrection (const QDomElement &_de, bool _allLanguages=false)
void loadAllLanguagesAutoCorrection ()
KCommand * autoFormatWord (KoTextCursor *textEditCursor, KoTextParag *parag, int &index, KoTextObject *txtObj, QString *_wordArray, bool _allLanguages)
void readAutoCorrectConfig ()

Attributs privés

KoDocumentm_doc
KoVariableCollectionm_varCollection
KoVariableFormatCollectionm_varFormatCollection
QString m_autoFormatLanguage
bool m_configRead
bool m_convertUpperCase
bool m_convertUpperUpper
bool m_advancedAutoCorrect
bool m_autoDetectUrl
bool m_ignoreDoubleSpace
bool m_removeSpaceBeginEndLine
bool m_useBulletStyle
bool m_autoChangeFormat
bool m_autoReplaceNumber
bool m_useAutoNumberStyle
bool m_completion
bool m_toolTipCompletion
bool m_completionAppendSpace
bool m_addCompletionWord
bool m_includeTwoUpperLetterException
bool m_includeAbbreviation
bool m_ignoreUpperCase
bool m_bAutoFormatActive
bool m_bAutoSuperScript
bool m_bAutoCorrectionWithFormat
bool m_bCapitalizeNameOfDays
bool m_wordInserted
 Indicates if doAutoFormat has called itself.
QChar m_bulletStyle
TypographicQuotes m_typographicSimpleQuotes
TypographicQuotes m_typographicDoubleQuotes
TypographicQuotes m_typographicDefaultDoubleQuotes
TypographicQuotes m_typographicDefaultSimpleQuotes
KCompletion * m_listCompletion
Q3Dict< KoAutoFormatEntrym_entries
Q3Dict< KoAutoFormatEntrym_allLanguages
KoAutoFormatEntryMap m_superScriptEntries
QStringList m_upperCaseExceptions
QStringList m_twoUpperLetterException
int m_maxFindLength
int m_minCompletionWordLength
int m_nbMaxCompletionWord
int m_countMaxWords
QStringList m_cacheNameOfDays
KoCompletionBoxm_completionBox
KeyCompletionAction m_keyCompletionAction

Classes

struct  TypographicQuotes

Description détaillée

Définition à la ligne 94 du fichier KoAutoFormat.h.


Documentation des énumérations membres

enum KoAutoFormat::KeyCompletionAction

Valeurs énumérées:
Enter 
Tab 
Space 
End 
Right 

Définition à la ligne 108 du fichier KoAutoFormat.h.


Documentation des contructeurs et destructeur

KoAutoFormat::KoAutoFormat ( KoDocument _doc,
KoVariableCollection _varCollection,
KoVariableFormatCollection _varFormatCollection 
)

There is a single instance of KoAutoFormat per document (and a temporary one in the auto-format dialog).

Définition à la ligne 121 du fichier KoAutoFormat.cpp.

Références loadListOfWordCompletion(), m_cacheNameOfDays, m_doc, m_listCompletion, et updateMaxWords().

Voici le graphe d'appel pour cette fonction :

KoAutoFormat::KoAutoFormat ( const KoAutoFormat format  ) 

Copy constructor, used by KoAutoFormatDia

Définition à la ligne 178 du fichier KoAutoFormat.cpp.

KoAutoFormat::~KoAutoFormat (  ) 

Définition à la ligne 228 du fichier KoAutoFormat.cpp.

Références m_allLanguages, m_entries, et m_listCompletion.


Documentation des fonctions membres

KCommand * KoAutoFormat::applyAutoFormat ( KoTextObject obj  ) 

Définition à la ligne 2434 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, doAutoFormat(), KoTextDocument::firstParag(), KoTextCursor::gotoRight(), KoTextParag::length(), KoTextParag::next(), KoTextCursor::setIndex(), KoTextParag::string(), et KoTextObject::textDocument().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::doAutoFormat ( KoTextCursor cursor,
KoTextParag parag,
int  index,
QChar  ch,
KoTextObject txtObj 
)

Called by edit widget when a character (ch) has been inserted into parag, at the given index.

Définition à la ligne 1103 du fichier KoAutoFormat.cpp.

Références detectStartOfLink(), doAutoChangeFormat(), doAutoCorrect(), doAutoDetectUrl(), doAutoIncludeAbbreviation(), doAutoIncludeUpperUpper(), doAutoReplaceNumber(), doAutoSuperScript(), doCapitalizeNameOfDays(), doRemoveSpaceBeginEndLine(), doTypographicQuotes(), doUpperCase(), doUseBulletStyle(), doUseNumberStyle(), KoTextObject::emitHideCursor(), KoTextObject::emitNewCommand(), KoTextObject::emitShowCursor(), getWordAfterSpace(), KoTextCursor::gotoDown(), KoTextCursor::gotoLineEnd(), KoTextCursor::gotoLineStart(), KoTextCursor::gotoUp(), KoTextCursor::index(), m_addCompletionWord, m_advancedAutoCorrect, m_autoChangeFormat, m_autoDetectUrl, m_autoReplaceNumber, m_bAutoFormatActive, m_bAutoSuperScript, m_bCapitalizeNameOfDays, m_completion, m_configRead, m_convertUpperCase, m_convertUpperUpper, m_countMaxWords, m_ignoreUpperCase, m_includeAbbreviation, m_includeTwoUpperLetterException, m_listCompletion, m_minCompletionWordLength, m_nbMaxCompletionWord, m_removeSpaceBeginEndLine, m_superScriptEntries, m_typographicDoubleQuotes, m_useAutoNumberStyle, m_useBulletStyle, m_wordInserted, readConfig(), KoAutoFormat::TypographicQuotes::replace, KoTextCursor::setIndex(), et KoTextParag::toString().

Référencé par applyAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::doCompletion ( KoTextCursor textEditCursor,
KoTextParag parag,
int const  index,
KoTextObject txtObj 
)

Called by edit widget when a call a competion

Définition à la ligne 915 du fichier KoAutoFormat.cpp.

Références KoTextParag::document(), doUpperCase(), KoTextObject::emitHideCursor(), KoTextObject::emitNewCommand(), KoTextObject::emitShowCursor(), getLastWord(), KoTextDocument::HighlightSelection, KoCompletionBox::lastWord(), m_completion, m_completionAppendSpace, m_completionBox, m_convertUpperCase, m_convertUpperUpper, m_countMaxWords, m_ignoreUpperCase, m_listCompletion, removeToolTipCompletion(), KoTextObject::replaceSelectionCommand(), KoTextCursor::setIndex(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doToolTipCompletion().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::doToolTipCompletion ( KoTextCursor textEditCursor,
KoTextParag parag,
int  index,
KoTextObject txtObj,
int  keyPress 
)

Définition à la ligne 1027 du fichier KoAutoFormat.cpp.

Références doCompletion(), End, Enter, m_completion, m_completionBox, m_keyCompletionAction, m_toolTipCompletion, Right, Space, et Tab.

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::showToolTipBox ( KoTextParag parag,
int  index,
QWidget *  widget,
const QPoint &  pos 
)

Définition à la ligne 1043 du fichier KoAutoFormat.cpp.

Références getLastWord(), KoPageFormat::height(), m_completion, m_completionBox, m_countMaxWords, m_listCompletion, m_toolTipCompletion, removeToolTipCompletion(), et KoCompletionBox::setLastWord().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::removeToolTipCompletion (  ) 

Définition à la ligne 1081 du fichier KoAutoFormat.cpp.

Références m_completion, m_completionBox, et m_toolTipCompletion.

Référencé par doCompletion(), et showToolTipBox().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::doIgnoreDoubleSpace ( KoTextParag parag,
int  index,
QChar  ch 
)

Définition à la ligne 2240 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, KoTextParag::hasAnySelection(), m_ignoreDoubleSpace, et KoTextParag::string().

Voici le graphe d'appel pour cette fonction :

QString KoAutoFormat::getLastWord ( KoTextParag parag,
int const  index 
) [static]

Helper method, returns the last word before parag,index

Définition à la ligne 867 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, et KoTextParag::string().

Référencé par doCompletion(), doUpperCase(), et showToolTipBox().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QString KoAutoFormat::getLastWord ( const int  max_words,
KoTextParag parag,
int const  index 
)

Définition à la ligne 881 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, et KoTextParag::string().

Voici le graphe d'appel pour cette fonction :

QString KoAutoFormat::getWordAfterSpace ( KoTextParag parag,
int const  index 
) [static]

Helper method, returns the last word before parag,index different from getLastWord, because we test just space character and not punctualtion character

Définition à la ligne 900 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, et KoTextParag::string().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configTypographicDoubleQuotes ( TypographicQuotes  _tq  ) 

Définition à la ligne 2257 du fichier KoAutoFormat.cpp.

Références m_typographicDoubleQuotes.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configTypographicSimpleQuotes ( TypographicQuotes  _tq  ) 

Définition à la ligne 2252 du fichier KoAutoFormat.cpp.

Références m_typographicSimpleQuotes.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configUpperCase ( bool  _uc  ) 

Définition à la ligne 2262 du fichier KoAutoFormat.cpp.

Références m_convertUpperCase.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configUpperUpper ( bool  _uu  ) 

Définition à la ligne 2267 du fichier KoAutoFormat.cpp.

Références m_convertUpperUpper.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAdvancedAutocorrect ( bool  _aa  ) 

Définition à la ligne 2272 du fichier KoAutoFormat.cpp.

Références m_advancedAutoCorrect.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAutoDetectUrl ( bool  _au  ) 

Définition à la ligne 2277 du fichier KoAutoFormat.cpp.

Références m_autoDetectUrl.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configIgnoreDoubleSpace ( bool  _ids  ) 

Définition à la ligne 2282 du fichier KoAutoFormat.cpp.

Références m_ignoreDoubleSpace.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configRemoveSpaceBeginEndLine ( bool  _space  ) 

Définition à la ligne 2287 du fichier KoAutoFormat.cpp.

Références m_removeSpaceBeginEndLine.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configUseBulletStyle ( bool  _ubs  ) 

Définition à la ligne 2292 du fichier KoAutoFormat.cpp.

Références m_useBulletStyle.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configBulletStyle ( QChar  b  ) 

Définition à la ligne 2297 du fichier KoAutoFormat.cpp.

Références m_bulletStyle.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAutoChangeFormat ( bool  b  ) 

Définition à la ligne 2302 du fichier KoAutoFormat.cpp.

Références m_autoChangeFormat.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAutoReplaceNumber ( bool  b  ) 

Définition à la ligne 2308 du fichier KoAutoFormat.cpp.

Références m_autoReplaceNumber.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAutoNumberStyle ( bool  b  ) 

Définition à la ligne 2313 du fichier KoAutoFormat.cpp.

Références m_useAutoNumberStyle.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configCompletion ( bool  b  ) 

Définition à la ligne 2318 du fichier KoAutoFormat.cpp.

Références m_completion.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configToolTipCompletion ( bool  b  ) 

Définition à la ligne 2323 du fichier KoAutoFormat.cpp.

Références m_completionBox, et m_toolTipCompletion.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAppendSpace ( bool  b  ) 

Définition à la ligne 2338 du fichier KoAutoFormat.cpp.

Références m_completionAppendSpace.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configMinWordLength ( int  val  ) 

Définition à la ligne 2343 du fichier KoAutoFormat.cpp.

Références m_minCompletionWordLength.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configNbMaxCompletionWord ( int  val  ) 

Définition à la ligne 2348 du fichier KoAutoFormat.cpp.

Références m_nbMaxCompletionWord.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAddCompletionWord ( bool  b  ) 

Définition à la ligne 2354 du fichier KoAutoFormat.cpp.

Références m_addCompletionWord.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configIncludeTwoUpperUpperLetterException ( bool  b  ) 

Définition à la ligne 2404 du fichier KoAutoFormat.cpp.

Références m_includeTwoUpperLetterException.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configIncludeAbbreviation ( bool  b  ) 

Définition à la ligne 2409 du fichier KoAutoFormat.cpp.

Références m_includeAbbreviation.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAutoSuperScript ( bool  b  ) 

Définition à la ligne 2414 du fichier KoAutoFormat.cpp.

Références m_bAutoSuperScript.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configCorrectionWithFormat ( bool  b  ) 

Définition à la ligne 2419 du fichier KoAutoFormat.cpp.

Références m_bAutoCorrectionWithFormat.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configCapitalizeNameOfDays ( bool  b  ) 

Définition à la ligne 2424 du fichier KoAutoFormat.cpp.

Références m_bCapitalizeNameOfDays.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configAutoFormatLanguage ( const QString &  _lang  ) 

Définition à la ligne 2429 du fichier KoAutoFormat.cpp.

Références m_autoFormatLanguage.

Référencé par KoAutoFormatDia::applyConfig(), KoAutoFormatDia::changeAutoformatLanguage(), KoAutoFormatDia::initTab3(), et KoAutoFormatDia::slotCancel().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::configKeyCompletionAction ( KeyCompletionAction  action  ) 

Définition à la ligne 2333 du fichier KoAutoFormat.cpp.

Références m_keyCompletionAction.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

TypographicQuotes KoAutoFormat::getConfigTypographicSimpleQuotes (  )  const [inline]

Définition à la ligne 194 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::applyConfig(), KoAutoFormatDia::changeAutoformatLanguage(), et KoAutoFormatDia::initTab2().

Voici le graphe d'appel pour cette fonction :

TypographicQuotes KoAutoFormat::getConfigTypographicDoubleQuotes (  )  const [inline]

Définition à la ligne 197 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::applyConfig(), KoAutoFormatDia::changeAutoformatLanguage(), et KoAutoFormatDia::initTab2().

Voici le graphe d'appel pour cette fonction :

TypographicQuotes KoAutoFormat::getDefaultTypographicDoubleQuotes (  )  const [inline]

Définition à la ligne 200 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::defaultDoubleQuote().

TypographicQuotes KoAutoFormat::getDefaultTypographicSimpleQuotes (  )  const [inline]

Définition à la ligne 203 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::defaultSimpleQuote().

bool KoAutoFormat::getConfigUpperCase (  )  const [inline]

Définition à la ligne 206 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigUpperUpper (  )  const [inline]

Définition à la ligne 208 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigAdvancedAutoCorrect (  )  const [inline]

Définition à la ligne 210 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab3().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigAutoDetectUrl (  )  const [inline]

Définition à la ligne 212 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigIgnoreDoubleSpace (  )  const [inline]

Définition à la ligne 215 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigRemoveSpaceBeginEndLine (  )  const [inline]

Définition à la ligne 218 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigUseBulletSyle (  )  const [inline]

Définition à la ligne 221 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

QChar KoAutoFormat::getConfigBulletStyle (  )  const [inline]

Définition à la ligne 224 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::changeAutoformatLanguage().

bool KoAutoFormat::getConfigAutoChangeFormat (  )  const [inline]

Définition à la ligne 227 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigAutoReplaceNumber (  )  const [inline]

Définition à la ligne 230 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigAutoNumberStyle (  )  const [inline]

Définition à la ligne 233 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigCompletion (  )  const [inline]

Définition à la ligne 236 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

bool KoAutoFormat::getConfigToolTipCompletion (  )  const [inline]

Définition à la ligne 239 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

bool KoAutoFormat::getConfigAppendSpace (  )  const [inline]

Définition à la ligne 242 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

int KoAutoFormat::getConfigMinWordLength (  )  const [inline]

Définition à la ligne 245 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

int KoAutoFormat::getConfigNbMaxCompletionWord (  )  const [inline]

Définition à la ligne 248 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

bool KoAutoFormat::getConfigAddCompletionWord (  )  const [inline]

Définition à la ligne 251 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

bool KoAutoFormat::getConfigIncludeTwoUpperUpperLetterException (  )  const [inline]

Définition à la ligne 254 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab4(), et KoAutoFormatDia::setupTab4().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigIncludeAbbreviation (  )  const [inline]

Définition à la ligne 257 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab4(), et KoAutoFormatDia::setupTab4().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigAutoSuperScript (  )  const [inline]

Définition à la ligne 260 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigCorrectionWithFormat (  )  const [inline]

Définition à la ligne 263 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab3().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::getConfigCapitalizeNameOfDays (  )  const [inline]

Définition à la ligne 266 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab1().

Voici le graphe d'appel pour cette fonction :

QString KoAutoFormat::getConfigAutoFormatLanguage (  )  const [inline]

Définition à la ligne 269 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab3().

Voici le graphe d'appel pour cette fonction :

KeyCompletionAction KoAutoFormat::getConfigKeyAction (  )  const [inline]

Définition à la ligne 272 du fichier KoAutoFormat.h.

Référencé par KoCompletion::slotResetConf().

const Q3Dict<KoAutoFormatEntry>& KoAutoFormat::getAutoFormatEntries (  )  const [inline]

Définition à la ligne 275 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab3(), et KoAutoFormatDia::refreshEntryList().

Voici le graphe d'appel pour cette fonction :

KoAutoFormatEntry* KoAutoFormat::findFormatEntry ( const QString &  text  )  [inline]

Définition à la ligne 279 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::editEntryList(), KoAutoFormatDia::slotChangeAdvancedAutoCorrection(), KoAutoFormatDia::slotChangeTextFormatEntry(), KoAutoFormatDia::slotClearTextFormatEntry(), KoAutoFormatDia::slotfind(), et KoAutoFormatDia::slotfind2().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::addAutoFormatEntry ( const QString &  key,
KoAutoFormatEntry entry 
) [inline]

Définition à la ligne 284 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::addEntryList(), et KoAutoFormatDia::editEntryList().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::addAutoFormatEntry ( const QString &  key,
const QString &  replace 
)

Définition à la ligne 852 du fichier KoAutoFormat.cpp.

Références buildMaxLen(), m_entries, KoAutoFormatEntry::replace(), et saveConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::removeAutoFormatEntry ( const QString &  key  )  [inline]

Définition à la ligne 292 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::editEntryList(), et KoAutoFormatDia::slotRemoveEntry().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::copyAutoFormatEntries ( const KoAutoFormat other  )  [inline]

Définition à la ligne 300 du fichier KoAutoFormat.h.

Références m_entries.

void KoAutoFormat::copyListException ( const QStringList &  _list  )  [inline]

Définition à la ligne 303 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::copyListTwoUpperCaseException ( const QStringList &  _list  )  [inline]

Définition à la ligne 306 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::applyConfig().

Voici le graphe d'appel pour cette fonction :

QStringList KoAutoFormat::listException (  )  const [inline]

Définition à la ligne 309 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab4(), et KoAutoFormatDia::setupTab4().

Voici le graphe d'appel pour cette fonction :

QStringList KoAutoFormat::listTwoUpperLetterException (  )  const [inline]

Définition à la ligne 311 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::initTab4(), et KoAutoFormatDia::setupTab4().

Voici le graphe d'appel pour cette fonction :

QStringList KoAutoFormat::listCompletion (  )  const

Définition à la ligne 2398 du fichier KoAutoFormat.cpp.

Références m_listCompletion.

Référencé par KoCompletion::slotResetConf().

KCompletion* KoAutoFormat::getCompletion (  )  const [inline]

Définition à la ligne 315 du fichier KoAutoFormat.h.

Référencé par KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

int KoAutoFormat::nbSuperScriptEntry (  )  const [inline]

Définition à la ligne 317 du fichier KoAutoFormat.h.

Référencé par KoAutoFormatDia::changeAutoformatLanguage(), et KoAutoFormatDia::setupTab1().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::readConfig ( bool  force = false  ) 

Définition à la ligne 261 du fichier KoAutoFormat.cpp.

Références autoFormatIsActive(), KoAutoFormat::TypographicQuotes::begin, buildMaxLen(), KoAutoFormat::TypographicQuotes::end, KoGlobal::kofficeConfig(), loadAllLanguagesAutoCorrection(), m_addCompletionWord, m_advancedAutoCorrect, m_allLanguages, m_autoChangeFormat, m_autoDetectUrl, m_autoFormatLanguage, m_autoReplaceNumber, m_bAutoCorrectionWithFormat, m_bAutoSuperScript, m_bCapitalizeNameOfDays, m_bulletStyle, m_completion, m_completionAppendSpace, m_configRead, m_convertUpperCase, m_convertUpperUpper, m_entries, m_ignoreDoubleSpace, m_includeAbbreviation, m_includeTwoUpperLetterException, m_keyCompletionAction, m_minCompletionWordLength, m_nbMaxCompletionWord, m_removeSpaceBeginEndLine, m_superScriptEntries, m_toolTipCompletion, m_twoUpperLetterException, m_typographicDefaultDoubleQuotes, m_typographicDefaultSimpleQuotes, m_typographicDoubleQuotes, m_typographicSimpleQuotes, m_upperCaseExceptions, m_useAutoNumberStyle, m_useBulletStyle, readAutoCorrectConfig(), et KoAutoFormat::TypographicQuotes::replace.

Référencé par KoAutoFormatDia::changeAutoformatLanguage(), doAutoFormat(), KoAutoFormatDia::initTab3(), et KoAutoFormatDia::slotCancel().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::saveConfig (  ) 

Définition à la ligne 618 du fichier KoAutoFormat.cpp.

Références autoFormatIsActive(), KoAutoFormat::TypographicQuotes::begin, buildMaxLen(), KoAutoFormat::TypographicQuotes::end, gensymbolfontmap::f, KoGlobal::kofficeConfig(), m_addCompletionWord, m_advancedAutoCorrect, m_autoChangeFormat, m_autoDetectUrl, m_autoFormatLanguage, m_autoReplaceNumber, m_bAutoCorrectionWithFormat, m_bAutoSuperScript, m_bCapitalizeNameOfDays, m_bulletStyle, m_completion, m_completionAppendSpace, m_convertUpperCase, m_convertUpperUpper, m_doc, m_entries, m_ignoreDoubleSpace, m_includeAbbreviation, m_includeTwoUpperLetterException, m_keyCompletionAction, m_maxFindLength, m_minCompletionWordLength, m_nbMaxCompletionWord, m_removeSpaceBeginEndLine, m_superScriptEntries, m_toolTipCompletion, m_twoUpperLetterException, m_typographicDefaultDoubleQuotes, m_typographicDefaultSimpleQuotes, m_typographicDoubleQuotes, m_typographicSimpleQuotes, m_upperCaseExceptions, m_useAutoNumberStyle, m_useBulletStyle, KoAutoFormat::TypographicQuotes::replace, et saveEntry().

Référencé par addAutoFormatEntry(), KoAutoFormatDia::applyConfig(), et KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::isUpper ( const QChar &  c  )  [static]

Définition à la ligne 2359 du fichier KoAutoFormat.cpp.

Référencé par doUpperCase().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::isLower ( const QChar &  c  )  [static]

Définition à la ligne 2364 du fichier KoAutoFormat.cpp.

Référencé par doUpperCase().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::isMark ( const QChar &  c  )  [static]

Définition à la ligne 2371 du fichier KoAutoFormat.cpp.

Référencé par doAutoIncludeAbbreviation(), doUpperCase(), et KoTextObject::statistics().

Voici le graphe d'appel pour cette fonction :

bool KoAutoFormat::isSeparator ( const QChar &  c  )  [static]

Définition à la ligne 2378 du fichier KoAutoFormat.cpp.

void KoAutoFormat::updateMaxWords (  ) 

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

Références Py::int, m_countMaxWords, et m_listCompletion.

Référencé par KoAutoFormat(), et KoCompletion::saveSettings().

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doAutoCorrect ( KoTextCursor textEditCursor,
KoTextParag parag,
int &  index,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1343 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), autoFormatWord(), KoTextStringChar::c, m_maxFindLength, et KoTextParag::string().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doUpperCase ( KoTextCursor textEditCursor,
KoTextParag parag,
int  index,
const QString &  word,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1536 du fichier KoAutoFormat.cpp.

Références KoTextParag::counter(), KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), getLastWord(), KoTextCursor::gotoRight(), KoTextDocument::HighlightSelection, isLower(), isMark(), isUpper(), KoTextDocument::length(), m_convertUpperCase, m_convertUpperUpper, m_twoUpperLetterException, m_upperCaseExceptions, KoTextObject::replaceSelectionCommand(), KoTextCursor::setIndex(), KoTextCursor::setParag(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doAutoFormat(), et doCompletion().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doTypographicQuotes ( KoTextCursor textEditCursor,
KoTextParag parag,
int  index,
KoTextObject txtObj,
bool  doubleQuotes 
) [protected]

Définition à la ligne 1461 du fichier KoAutoFormat.cpp.

Références KoTextParag::at(), KoAutoFormat::TypographicQuotes::begin, KoTextStringChar::c, KoTextParag::document(), KoAutoFormat::TypographicQuotes::end, KoTextDocument::HighlightSelection, m_typographicDoubleQuotes, m_typographicSimpleQuotes, KoTextObject::replaceSelectionCommand(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::buildMaxLen (  )  [protected]

Définition à la ligne 2383 du fichier KoAutoFormat.cpp.

Références m_allLanguages, m_entries, et m_maxFindLength.

Référencé par addAutoFormatEntry(), readConfig(), et saveConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::doAutoDetectUrl ( KoTextCursor textEditCursor,
KoTextParag parag,
int &  index,
QString &  word,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1697 du fichier KoAutoFormat.cpp.

Références KoTextParag::at(), KoTextObject::customItemChar(), KoTextObject::DefaultInsertFlags, KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), KoTextStringChar::format, KoVariableFormatCollection::format(), KoTextDocument::HighlightSelection, KoTextCursor::index(), KoTextObject::insert(), KoTextParag::invalidate(), m_addCompletionWord, m_completion, m_countMaxWords, m_ignoreUpperCase, m_listCompletion, m_minCompletionWordLength, m_nbMaxCompletionWord, m_varCollection, m_varFormatCollection, gensymbolfontmap::pos, KoTextCustomItem::recalc(), KoTextParag::setChanged(), KoTextCursor::setIndex(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doRemoveSpaceBeginEndLine ( KoTextCursor textEditCursor,
KoTextParag parag,
KoTextObject txtObj,
int &  index 
) [protected]

Définition à la ligne 2078 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), KoTextDocument::HighlightSelection, KoTextParag::lastCharPos(), KoTextParag::next(), KoTextObject::replaceSelectionCommand(), KoTextCursor::setParag(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), KoTextParag::string(), et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doAutoChangeFormat ( KoTextCursor textEditCursor,
KoTextParag parag,
int  index,
const QString &  word,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1877 du fichier KoAutoFormat.cpp.

Références KoTextParag::at(), KoTextFormat::Bold, KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), KoTextStringChar::format, KoTextCursor::gotoRight(), KoTextDocument::HighlightSelection, KoTextObject::replaceSelectionCommand(), KoTextFormat::setBold(), KoTextObject::setFormatCommand(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), KoTextFormat::setUnderline(), KoTextParag::textDocument(), et KoTextFormat::Underline.

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doUseBulletStyle ( KoTextCursor textEditCursor,
KoTextParag parag,
KoTextObject txtObj,
int &  index 
) [protected]

Définition à la ligne 1923 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, KoTextParag::counter(), KoTextParag::document(), KoTextDocument::HighlightSelection, m_bulletStyle, m_useBulletStyle, KoTextParag::next(), KoParagCounter::NUM_FOOTNOTE, KoParagCounter::NUM_LIST, KoParagCounter::numbering(), KoTextObject::removeSelectedTextCommand(), KoTextObject::setCounterCommand(), KoParagCounter::setCustomBulletCharacter(), KoParagCounter::setNumbering(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), KoParagCounter::setStyle(), KoParagCounter::setSuffix(), KoTextParag::string(), KoParagCounter::STYLE_CUSTOMBULLET, KoParagCounter::STYLE_DISCBULLET, et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doAutoReplaceNumber ( KoTextCursor textEditCursor,
KoTextParag parag,
int &  index,
const QString &  word,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1642 du fichier KoAutoFormat.cpp.

Références KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), KoTextCursor::gotoRight(), KoTextDocument::HighlightSelection, KoTextObject::replaceSelectionCommand(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doUseNumberStyle ( KoTextCursor ,
KoTextParag parag,
KoTextObject txtObj,
int &  index 
) [protected]

Définition à la ligne 2001 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, KoTextParag::counter(), KoTextParag::document(), KoTextDocument::HighlightSelection, Py::int, KoTextParag::next(), KoParagCounter::NUM_FOOTNOTE, KoParagCounter::NUM_LIST, KoParagCounter::number, KoParagCounter::numbering(), KoTextObject::removeSelectedTextCommand(), KoTextObject::setCounterCommand(), KoParagCounter::setNumbering(), KoParagCounter::setRestartCounter(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), KoParagCounter::setStartNumber(), KoParagCounter::setStyle(), KoParagCounter::setSuffix(), KoTextParag::string(), KoParagCounter::STYLE_NUM, et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::doAutoIncludeUpperUpper ( KoTextCursor textEditCursor,
KoTextParag parag,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1807 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, KoTextString::length(), m_twoUpperLetterException, et KoTextParag::string().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::doAutoIncludeAbbreviation ( KoTextCursor textEditCursor,
KoTextParag parag,
KoTextObject txtObj 
) [protected]

Définition à la ligne 1835 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, isMark(), KoTextString::length(), m_upperCaseExceptions, et KoTextParag::string().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doAutoSuperScript ( KoTextCursor textEditCursor,
KoTextParag parag,
int  index,
const QString &  word,
KoTextObject txtObj 
) [protected]

Définition à la ligne 2184 du fichier KoAutoFormat.cpp.

Références KoTextFormat::AlignSuperScript, KoTextParag::at(), KoTextParag::document(), KoTextStringChar::format, KoTextDocument::HighlightSelection, KoTextDocument::length(), m_superScriptEntries, gensymbolfontmap::pos, KoTextDocument::removeSelection(), KoTextObject::setFormatCommand(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), KoTextFormat::setVAlign(), KoTextParag::textDocument(), et KoTextFormat::VAlign.

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::doCapitalizeNameOfDays ( KoTextCursor textEditCursor,
KoTextParag parag,
int  index,
const QString &  word,
KoTextObject txtObj 
) [protected]

Définition à la ligne 2152 du fichier KoAutoFormat.cpp.

Références KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), KoTextCursor::gotoRight(), KoTextDocument::HighlightSelection, m_cacheNameOfDays, gensymbolfontmap::pos, KoTextObject::replaceSelectionCommand(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::changeTextFormat ( KoSearchContext formatOptions,
KoTextFormat format,
int &  flags 
) [static, protected]

Définition à la ligne 2458 du fichier KoAutoFormat.cpp.

Références KoTextFormat::Attribute, KoSearchContext::Attribute, KoSearchContext::BgColor, KoTextFormat::Bold, KoSearchContext::Bold, KoTextFormat::Color, KoSearchContext::Color, KoTextFormat::ExtendUnderLine, KoTextFormat::Family, KoSearchContext::Family, KoTextFormat::Italic, KoSearchContext::Italic, KoTextFormat::Language, KoSearchContext::Language, KoSearchContext::m_attribute, KoSearchContext::m_backGroundColor, KoSearchContext::m_color, KoSearchContext::m_family, KoSearchContext::m_language, KoSearchContext::m_options, KoSearchContext::m_optionsMask, KoSearchContext::m_size, KoSearchContext::m_strikeOut, KoSearchContext::m_underline, KoSearchContext::m_vertAlign, KoTextFormat::setAttributeFont(), KoTextFormat::setBold(), KoTextFormat::setColor(), KoTextFormat::setFamily(), KoTextFormat::setItalic(), KoTextFormat::setLanguage(), KoTextFormat::setPointSize(), KoTextFormat::setShadow(), KoTextFormat::setStrikeOutType(), KoTextFormat::setTextBackgroundColor(), KoTextFormat::setUnderlineType(), KoTextFormat::setVAlign(), KoTextFormat::setWordByWord(), KoSearchContext::Shadow, KoTextFormat::ShadowText, KoTextFormat::Size, KoSearchContext::Size, KoTextFormat::StrikeOut, KoSearchContext::StrikeOut, KoTextFormat::TextBackgroundColor, KoSearchContext::Underline, KoTextFormat::VAlign, KoSearchContext::VertAlign, KoTextFormat::WordByWord, et KoSearchContext::WordByWord.

Référencé par autoFormatWord().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::loadEntry ( const QDomElement &  nl,
bool  _allLanguages = false 
) [protected]

Définition à la ligne 530 du fichier KoAutoFormat.cpp.

Références KoSearchContext::BgColor, KoSearchContext::Bold, KoSearchContext::Color, KoAutoFormatEntry::createNewEntryContext(), KoSearchContext::Family, KoAutoFormatEntry::formatEntryContext(), KoSearchContext::Italic, m_allLanguages, KoSearchContext::m_backGroundColor, KoSearchContext::m_color, m_entries, KoSearchContext::m_family, KoSearchContext::m_options, KoSearchContext::m_optionsMask, KoSearchContext::m_size, KoSearchContext::m_strikeOut, KoSearchContext::m_underline, KoSearchContext::m_vertAlign, KoTextFormat::S_DOUBLE, KoTextFormat::S_NONE, KoTextFormat::S_SIMPLE, KoTextFormat::S_SIMPLE_BOLD, KoSearchContext::Size, KoSearchContext::StrikeOut, KoTextFormat::U_DOUBLE, KoTextFormat::U_NONE, KoTextFormat::U_SIMPLE, KoTextFormat::U_SIMPLE_BOLD, KoSearchContext::Underline, Py::value(), et KoSearchContext::VertAlign.

Référencé par loadAutoCorrection().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QDomElement KoAutoFormat::saveEntry ( Q3DictIterator< KoAutoFormatEntry _entry,
QDomDocument  doc 
) [protected]

Définition à la ligne 752 du fichier KoAutoFormat.cpp.

Références KoSearchContext::Attribute, KoTextFormat::attributeFontToString(), KoSearchContext::BgColor, KoSearchContext::Bold, KoSearchContext::Color, KoSearchContext::Family, KoSearchContext::Italic, KoSearchContext::Language, KoTextFormat::S_DOUBLE, KoTextFormat::S_NONE, KoTextFormat::S_SIMPLE, KoTextFormat::S_SIMPLE_BOLD, KoSearchContext::Shadow, KoSearchContext::Size, KoSearchContext::StrikeOut, KoTextFormat::U_DOUBLE, KoTextFormat::U_NONE, KoTextFormat::U_SIMPLE, KoTextFormat::U_SIMPLE_BOLD, KoTextFormat::U_WAVE, KoSearchContext::Underline, KoSearchContext::VertAlign, et KoSearchContext::WordByWord.

Référencé par saveConfig().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::detectStartOfLink ( KoTextParag parag,
int const  index,
bool const  insertedDot 
) [private]

Définition à la ligne 1677 du fichier KoAutoFormat.cpp.

Références KoTextString::at(), KoTextStringChar::c, m_ignoreUpperCase, et KoTextParag::string().

Référencé par doAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::autoFormatIsActive (  )  [private]

Définition à la ligne 1087 du fichier KoAutoFormat.cpp.

Références m_allLanguages, m_autoChangeFormat, m_autoDetectUrl, m_autoReplaceNumber, m_bAutoFormatActive, m_completion, m_convertUpperCase, m_convertUpperUpper, m_entries, m_removeSpaceBeginEndLine, m_typographicDoubleQuotes, m_typographicSimpleQuotes, m_useBulletStyle, et KoAutoFormat::TypographicQuotes::replace.

Référencé par readConfig(), et saveConfig().

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::loadListOfWordCompletion (  )  [private]

Définition à la ligne 254 du fichier KoAutoFormat.cpp.

Références KoGlobal::kofficeConfig(), et m_listCompletion.

Référencé par KoAutoFormat().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::loadAutoCorrection ( const QDomElement &  _de,
bool  _allLanguages = false 
) [private]

Définition à la ligne 517 du fichier KoAutoFormat.cpp.

Références loadEntry(), et m_maxFindLength.

Référencé par loadAllLanguagesAutoCorrection(), et readAutoCorrectConfig().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::loadAllLanguagesAutoCorrection (  )  [private]

Définition à la ligne 495 du fichier KoAutoFormat.cpp.

Références loadAutoCorrection(), et m_doc.

Référencé par readConfig().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KCommand * KoAutoFormat::autoFormatWord ( KoTextCursor textEditCursor,
KoTextParag parag,
int &  index,
KoTextObject txtObj,
QString *  _wordArray,
bool  _allLanguages 
) [private]

Définition à la ligne 1378 du fichier KoAutoFormat.cpp.

Références KoTextParag::at(), changeTextFormat(), KoTextParag::document(), KoTextObject::emitHideCursor(), KoTextObject::emitShowCursor(), KoTextStringChar::format, KoTextCursor::gotoRight(), KoTextDocument::HighlightSelection, m_allLanguages, m_bAutoCorrectionWithFormat, m_entries, m_maxFindLength, KoTextObject::replaceSelectionCommand(), KoTextStringChar::setFormat(), KoTextObject::setFormatCommand(), KoTextCursor::setIndex(), KoTextDocument::setSelectionEnd(), KoTextDocument::setSelectionStart(), et KoTextParag::textDocument().

Référencé par doAutoCorrect().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoAutoFormat::readAutoCorrectConfig (  )  [private]

Définition à la ligne 393 du fichier KoAutoFormat.cpp.

Références KoAutoFormat::TypographicQuotes::begin, KoAutoFormat::TypographicQuotes::end, loadAutoCorrection(), m_autoFormatLanguage, m_doc, m_entries, m_superScriptEntries, m_twoUpperLetterException, m_typographicDefaultDoubleQuotes, m_typographicDefaultSimpleQuotes, et m_upperCaseExceptions.

Référencé par readConfig().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

KoDocument* KoAutoFormat::m_doc [private]

Définition à la ligne 365 du fichier KoAutoFormat.h.

Référencé par KoAutoFormat(), loadAllLanguagesAutoCorrection(), readAutoCorrectConfig(), et saveConfig().

KoVariableCollection* KoAutoFormat::m_varCollection [private]

Définition à la ligne 366 du fichier KoAutoFormat.h.

Référencé par doAutoDetectUrl().

KoVariableFormatCollection* KoAutoFormat::m_varFormatCollection [private]

Définition à la ligne 367 du fichier KoAutoFormat.h.

Référencé par doAutoDetectUrl().

QString KoAutoFormat::m_autoFormatLanguage [private]

Définition à la ligne 369 du fichier KoAutoFormat.h.

Référencé par configAutoFormatLanguage(), readAutoCorrectConfig(), readConfig(), et saveConfig().

bool KoAutoFormat::m_configRead [private]

Définition à la ligne 370 du fichier KoAutoFormat.h.

Référencé par doAutoFormat(), et readConfig().

bool KoAutoFormat::m_convertUpperCase [private]

Définition à la ligne 371 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configUpperCase(), doAutoFormat(), doCompletion(), doUpperCase(), readConfig(), et saveConfig().

bool KoAutoFormat::m_convertUpperUpper [private]

Définition à la ligne 371 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configUpperUpper(), doAutoFormat(), doCompletion(), doUpperCase(), readConfig(), et saveConfig().

bool KoAutoFormat::m_advancedAutoCorrect [private]

Définition à la ligne 371 du fichier KoAutoFormat.h.

Référencé par configAdvancedAutocorrect(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_autoDetectUrl [private]

Définition à la ligne 372 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configAutoDetectUrl(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_ignoreDoubleSpace [private]

Définition à la ligne 372 du fichier KoAutoFormat.h.

Référencé par configIgnoreDoubleSpace(), doIgnoreDoubleSpace(), readConfig(), et saveConfig().

bool KoAutoFormat::m_removeSpaceBeginEndLine [private]

Définition à la ligne 372 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configRemoveSpaceBeginEndLine(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_useBulletStyle [private]

Définition à la ligne 373 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configUseBulletStyle(), doAutoFormat(), doUseBulletStyle(), readConfig(), et saveConfig().

bool KoAutoFormat::m_autoChangeFormat [private]

Définition à la ligne 373 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configAutoChangeFormat(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_autoReplaceNumber [private]

Définition à la ligne 373 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configAutoReplaceNumber(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_useAutoNumberStyle [private]

Définition à la ligne 374 du fichier KoAutoFormat.h.

Référencé par configAutoNumberStyle(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_completion [private]

Définition à la ligne 375 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configCompletion(), doAutoDetectUrl(), doAutoFormat(), doCompletion(), doToolTipCompletion(), readConfig(), removeToolTipCompletion(), saveConfig(), et showToolTipBox().

bool KoAutoFormat::m_toolTipCompletion [private]

Définition à la ligne 376 du fichier KoAutoFormat.h.

Référencé par configToolTipCompletion(), doToolTipCompletion(), readConfig(), removeToolTipCompletion(), saveConfig(), et showToolTipBox().

bool KoAutoFormat::m_completionAppendSpace [private]

Définition à la ligne 377 du fichier KoAutoFormat.h.

Référencé par configAppendSpace(), doCompletion(), readConfig(), et saveConfig().

bool KoAutoFormat::m_addCompletionWord [private]

Définition à la ligne 378 du fichier KoAutoFormat.h.

Référencé par configAddCompletionWord(), doAutoDetectUrl(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_includeTwoUpperLetterException [private]

Définition à la ligne 379 du fichier KoAutoFormat.h.

Référencé par configIncludeTwoUpperUpperLetterException(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_includeAbbreviation [private]

Définition à la ligne 380 du fichier KoAutoFormat.h.

Référencé par configIncludeAbbreviation(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_ignoreUpperCase [private]

Définition à la ligne 381 du fichier KoAutoFormat.h.

Référencé par detectStartOfLink(), doAutoDetectUrl(), doAutoFormat(), et doCompletion().

bool KoAutoFormat::m_bAutoFormatActive [private]

Définition à la ligne 382 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), et doAutoFormat().

bool KoAutoFormat::m_bAutoSuperScript [private]

Définition à la ligne 384 du fichier KoAutoFormat.h.

Référencé par configAutoSuperScript(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_bAutoCorrectionWithFormat [private]

Définition à la ligne 385 du fichier KoAutoFormat.h.

Référencé par autoFormatWord(), configCorrectionWithFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_bCapitalizeNameOfDays [private]

Définition à la ligne 386 du fichier KoAutoFormat.h.

Référencé par configCapitalizeNameOfDays(), doAutoFormat(), readConfig(), et saveConfig().

bool KoAutoFormat::m_wordInserted [private]

Indicates if doAutoFormat has called itself.

Définition à la ligne 388 du fichier KoAutoFormat.h.

Référencé par doAutoFormat().

QChar KoAutoFormat::m_bulletStyle [private]

Définition à la ligne 389 du fichier KoAutoFormat.h.

Référencé par configBulletStyle(), doUseBulletStyle(), readConfig(), et saveConfig().

TypographicQuotes KoAutoFormat::m_typographicSimpleQuotes [private]

Définition à la ligne 391 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configTypographicSimpleQuotes(), doTypographicQuotes(), readConfig(), et saveConfig().

TypographicQuotes KoAutoFormat::m_typographicDoubleQuotes [private]

Définition à la ligne 393 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), configTypographicDoubleQuotes(), doAutoFormat(), doTypographicQuotes(), readConfig(), et saveConfig().

TypographicQuotes KoAutoFormat::m_typographicDefaultDoubleQuotes [private]

Définition à la ligne 395 du fichier KoAutoFormat.h.

Référencé par readAutoCorrectConfig(), readConfig(), et saveConfig().

TypographicQuotes KoAutoFormat::m_typographicDefaultSimpleQuotes [private]

Définition à la ligne 397 du fichier KoAutoFormat.h.

Référencé par readAutoCorrectConfig(), readConfig(), et saveConfig().

KCompletion* KoAutoFormat::m_listCompletion [private]

Définition à la ligne 399 du fichier KoAutoFormat.h.

Référencé par doAutoDetectUrl(), doAutoFormat(), doCompletion(), KoAutoFormat(), listCompletion(), loadListOfWordCompletion(), showToolTipBox(), updateMaxWords(), et ~KoAutoFormat().

Q3Dict<KoAutoFormatEntry> KoAutoFormat::m_entries [private]

Définition à la ligne 401 du fichier KoAutoFormat.h.

Référencé par addAutoFormatEntry(), autoFormatIsActive(), autoFormatWord(), buildMaxLen(), copyAutoFormatEntries(), loadEntry(), readAutoCorrectConfig(), readConfig(), saveConfig(), et ~KoAutoFormat().

Q3Dict<KoAutoFormatEntry> KoAutoFormat::m_allLanguages [private]

Définition à la ligne 402 du fichier KoAutoFormat.h.

Référencé par autoFormatIsActive(), autoFormatWord(), buildMaxLen(), loadEntry(), readConfig(), et ~KoAutoFormat().

KoAutoFormatEntryMap KoAutoFormat::m_superScriptEntries [private]

Définition à la ligne 404 du fichier KoAutoFormat.h.

Référencé par doAutoFormat(), doAutoSuperScript(), readAutoCorrectConfig(), readConfig(), et saveConfig().

QStringList KoAutoFormat::m_upperCaseExceptions [private]

Définition à la ligne 406 du fichier KoAutoFormat.h.

Référencé par doAutoIncludeAbbreviation(), doUpperCase(), readAutoCorrectConfig(), readConfig(), et saveConfig().

QStringList KoAutoFormat::m_twoUpperLetterException [private]

Définition à la ligne 407 du fichier KoAutoFormat.h.

Référencé par doAutoIncludeUpperUpper(), doUpperCase(), readAutoCorrectConfig(), readConfig(), et saveConfig().

int KoAutoFormat::m_maxFindLength [private]

Définition à la ligne 409 du fichier KoAutoFormat.h.

Référencé par autoFormatWord(), buildMaxLen(), doAutoCorrect(), loadAutoCorrection(), et saveConfig().

int KoAutoFormat::m_minCompletionWordLength [private]

Définition à la ligne 410 du fichier KoAutoFormat.h.

Référencé par configMinWordLength(), doAutoDetectUrl(), doAutoFormat(), readConfig(), et saveConfig().

int KoAutoFormat::m_nbMaxCompletionWord [private]

Définition à la ligne 411 du fichier KoAutoFormat.h.

Référencé par configNbMaxCompletionWord(), doAutoDetectUrl(), doAutoFormat(), readConfig(), et saveConfig().

int KoAutoFormat::m_countMaxWords [private]

Définition à la ligne 412 du fichier KoAutoFormat.h.

Référencé par doAutoDetectUrl(), doAutoFormat(), doCompletion(), showToolTipBox(), et updateMaxWords().

QStringList KoAutoFormat::m_cacheNameOfDays [private]

Définition à la ligne 413 du fichier KoAutoFormat.h.

Référencé par doCapitalizeNameOfDays(), et KoAutoFormat().

KoCompletionBox* KoAutoFormat::m_completionBox [private]

Définition à la ligne 414 du fichier KoAutoFormat.h.

Référencé par configToolTipCompletion(), doCompletion(), doToolTipCompletion(), removeToolTipCompletion(), et showToolTipBox().

KeyCompletionAction KoAutoFormat::m_keyCompletionAction [private]

Définition à la ligne 415 du fichier KoAutoFormat.h.

Référencé par configKeyCompletionAction(), doToolTipCompletion(), readConfig(), et saveConfig().


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