Référence de la classe KoParagCounter

#include <KoParagCounter.h>

Graphe de collaboration de KoParagCounter:

[légende]
Liste de tous les membres

Types publics

enum  Numbering { NUM_NONE = 2, NUM_LIST = 0, NUM_CHAPTER = 1, NUM_FOOTNOTE = 3 }
enum  Style {
  STYLE_NONE = 0, STYLE_NUM = 1, STYLE_ALPHAB_L = 2, STYLE_ALPHAB_U = 3,
  STYLE_ROM_NUM_L = 4, STYLE_ROM_NUM_U = 5, STYLE_CUSTOMBULLET = 6, STYLE_CUSTOM = 7,
  STYLE_CIRCLEBULLET = 8, STYLE_SQUAREBULLET = 9, STYLE_DISCBULLET = 10, STYLE_BOXBULLET = 11
}

Fonctions membres publiques

 KoParagCounter ()
void invalidate ()
int number (const KoTextParag *paragraph)
QString levelText (const KoTextParag *paragraph)
QString text (const KoTextParag *paragraph)
int width (const KoTextParag *paragraph)
int bulletX ()
void load (QDomElement &element)
 KOffice-1.3 loading code.
void save (QDomElement &element)
 KOffice-1.3 saving code.
void loadOasis (KoOasisContext &context, int restartNumbering, bool orderedList, bool heading, int level, bool loadingStyle=false)
void loadOasisListStyle (const QDomElement &listStyle, const QDomElement &listStyleProperties, const QDomElement &listStyleTextProperties, int restartNumbering, bool orderedList, bool heading, int level, bool loadingStyle)
 Part of loadOasis that is shared with KWVariableSettings::loadOasis for footnotes/endnotes.
void saveOasis (KoGenStyle &listStyle, bool savingStyle=false) const
 Save as OASIS XML.
void saveOasisListLevel (KoXmlWriter &listLevelWriter, bool includeLevelAndProperties, bool savingStyle=false) const
bool operator== (const KoParagCounter &c2) const
bool operator!= (const KoParagCounter &c2) const
Numbering numbering () const
void setNumbering (Numbering n)
Style style () const
void setStyle (Style s)
bool restartCounter () const
void setRestartCounter (bool restart)
bool isBullet () const
unsigned int depth () const
void setDepth (unsigned int d)
int displayLevels () const
void setDisplayLevels (int l)
int startNumber () const
void setStartNumber (int s)
QString prefix () const
void setPrefix (const QString &p)
QString suffix () const
void setSuffix (const QString &s)
QChar customBulletCharacter () const
void setCustomBulletCharacter (QChar c)
QString customBulletFont () const
void setCustomBulletFont (const QString &f)
QString custom () const
void setCustom (const QString &c)
int alignment () const
void setAlignment (int a)
void printRTDebug (KoTextParag *parag)

Fonctions membres publiques statiques

static bool isBullet (Style style)
static KoTextFormatcounterFormat (const KoTextParag *paragraph)
static QString makeRomanNumber (int n)
static QString makeAlphaUpperNumber (int n)
static QString makeAlphaLowerNumber (int n)
static int fromRomanNumber (const QString &)
static int fromAlphaUpperNumber (const QString &)
static int fromAlphaLowerNumber (const QString &)

Fonctions membres privées

KoTextParagparent (const KoTextParag *paragraph)

Attributs privés

Numbering m_numbering:3
bool m_restartCounter:1
bool unused:4
Style m_style:8
char m_displayLevels
char m_depth
short int m_startNumber
QChar m_customBulletChar
QString m_customBulletFont
QString m_custom
QString m_prefix
QString m_suffix
int m_align
Private * d
struct {
   int   number
   QString   text
   int   width
   KoTextParag *   parent
   KoTextFormat *   counterFormat
m_cache

Description détaillée

This is the structure associated with a paragraph (KoTextParag), to define the bullet or numbering of the paragraph.

Définition à la ligne 36 du fichier KoParagCounter.h.


Documentation des énumérations membres

enum KoParagCounter::Numbering

Valeurs énumérées:
NUM_NONE 
NUM_LIST 
NUM_CHAPTER 
NUM_FOOTNOTE 

Définition à la ligne 99 du fichier KoParagCounter.h.

enum KoParagCounter::Style

Valeurs énumérées:
STYLE_NONE 
STYLE_NUM 
STYLE_ALPHAB_L 
STYLE_ALPHAB_U 
STYLE_ROM_NUM_L 
STYLE_ROM_NUM_U 
STYLE_CUSTOMBULLET 
STYLE_CUSTOM 
STYLE_CIRCLEBULLET 
STYLE_SQUAREBULLET 
STYLE_DISCBULLET 
STYLE_BOXBULLET 

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


Documentation des contructeurs et destructeur

KoParagCounter::KoParagCounter (  ) 

Définition à la ligne 37 du fichier KoParagCounter.cpp.

Références invalidate(), m_align, m_customBulletChar, m_customBulletFont, m_depth, m_displayLevels, m_numbering, m_restartCounter, m_startNumber, m_style, NUM_NONE, et STYLE_NONE.

Voici le graphe d'appel pour cette fonction :


Documentation des fonctions membres

void KoParagCounter::invalidate (  ) 

Invalidate the internal cache. Use it whenever the number associated with this counter may have changed.

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

Références INVALID_PARAG, et m_cache.

Référencé par KoTextParag::invalidateCounters(), KoParagCounter(), load(), loadOasisListStyle(), KoTextDocument::removeSelectedText(), setAlignment(), setCustom(), setCustomBulletCharacter(), setCustomBulletFont(), setDepth(), setDisplayLevels(), setNumbering(), setPrefix(), setRestartCounter(), setStartNumber(), setStyle(), et setSuffix().

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::number ( const KoTextParag paragraph  ) 

Return the current value of the counter as a number.

QString KoParagCounter::levelText ( const KoTextParag paragraph  ) 

Return the current value of the counter as a text. This returns only the current level, e.g. "1."

Définition à la ligne 635 du fichier KoParagCounter.cpp.

Références isBullet(), m_cache, m_customBulletChar, m_numbering, m_style, makeAlphaLowerNumber(), makeAlphaUpperNumber(), makeRomanNumber(), NUM_CHAPTER, NUM_LIST, NUM_NONE, number, STYLE_ALPHAB_L, STYLE_ALPHAB_U, STYLE_BOXBULLET, STYLE_CIRCLEBULLET, STYLE_CUSTOM, STYLE_CUSTOMBULLET, STYLE_DISCBULLET, STYLE_NONE, STYLE_NUM, STYLE_ROM_NUM_L, STYLE_ROM_NUM_U, STYLE_SQUAREBULLET, et text.

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::text ( const KoTextParag paragraph  ) 

Return the current value of the counter as a text. This returns the full text, all levels included (if displayLevels>1), e.g. "1.2.1." if displayLevels==3.

int KoParagCounter::width ( const KoTextParag paragraph  ) 

Work out the width of the text required for this counter. Unit : LU pixels

int KoParagCounter::bulletX (  ) 

X position of the bullet ( i.e. width of prefix ) Unit : LU pixels

Définition à la ligne 810 du fichier KoParagCounter.cpp.

Références m_cache, prefix(), et KoTextZoomHandler::ptToLayoutUnitPt().

Référencé par KoTextParag::drawLabel().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::load ( QDomElement &  element  ) 

KOffice-1.3 loading code.

Définition à la ligne 117 du fichier KoParagCounter.cpp.

Références invalidate(), m_align, m_custom, m_customBulletChar, m_customBulletFont, m_depth, m_displayLevels, m_numbering, m_prefix, m_restartCounter, m_startNumber, m_style, m_suffix, NUM_LIST, NUM_NONE, et STYLE_NONE.

Référencé par KoParagLayout::loadParagLayout().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::save ( QDomElement &  element  ) 

KOffice-1.3 saving code.

Définition à la ligne 503 du fichier KoParagCounter.cpp.

Références m_align, m_cache, m_custom, m_customBulletChar, m_customBulletFont, m_depth, m_displayLevels, m_numbering, m_prefix, m_restartCounter, m_startNumber, m_style, m_suffix, NUM_FOOTNOTE, NUM_NONE, et STYLE_CUSTOMBULLET.

Référencé par KoParagLayout::saveParagLayout().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::loadOasis ( KoOasisContext context,
int  restartNumbering,
bool  orderedList,
bool  heading,
int  level,
bool  loadingStyle = false 
)

Load from OASIS XML

Paramètres:
heading true if heading, false if normal list
level 1-based
loadingStyle true if loading a style, false if loading a paragraph
context the context
restartNumbering if -1 then don't restart numbering, use the style value
orderedList if true, make sure the parag will will be initialised as an ordered list otherwise it may be initialised as a unordered list.

Définition à la ligne 181 du fichier KoParagCounter.cpp.

Références KoListStyleStack::currentListStyle(), KoListStyleStack::currentListStyleProperties(), KoListStyleStack::currentListStyleTextProperties(), KoOasisContext::listStyleStack(), et loadOasisListStyle().

Référencé par KoTextParag::applyListStyle(), et KoParagStyle::loadStyle().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::loadOasisListStyle ( const QDomElement &  listStyle,
const QDomElement &  listStyleProperties,
const QDomElement &  listStyleTextProperties,
int  restartNumbering,
bool  orderedList,
bool  heading,
int  level,
bool  loadingStyle 
)

Part of loadOasis that is shared with KWVariableSettings::loadOasis for footnotes/endnotes.

Définition à la ligne 191 du fichier KoParagCounter.cpp.

Références KoXmlNS::fo, importCounterType(), invalidate(), m_customBulletChar, m_customBulletFont, m_depth, m_displayLevels, m_numbering, m_prefix, m_restartCounter, m_startNumber, m_style, m_suffix, NUM_CHAPTER, NUM_LIST, KoXmlNS::style, STYLE_BOXBULLET, STYLE_CIRCLEBULLET, STYLE_CUSTOMBULLET, STYLE_DISCBULLET, STYLE_SQUAREBULLET, et KoXmlNS::text.

Référencé par loadOasis().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::saveOasis ( KoGenStyle listStyle,
bool  savingStyle = false 
) const

Save as OASIS XML.

Définition à la ligne 267 du fichier KoParagCounter.cpp.

Références KoGenStyle::addChildElement(), KoXmlWriter::endElement(), isBullet(), m_style, saveOasisListLevel(), KoXmlWriter::startElement(), et STYLE_NONE.

Référencé par KoTextParag::saveOasis(), et KoParagStyle::saveStyle().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::saveOasisListLevel ( KoXmlWriter listLevelWriter,
bool  includeLevelAndProperties,
bool  savingStyle = false 
) const

Part of saveOasis that is shared with KoStyleCollection::saveOasisOutlineStyles and KWVariableSettings::saveOasis for footnotes/endnotes

Définition à la ligne 285 du fichier KoParagCounter.cpp.

Références KoXmlWriter::addAttribute(), KoXmlWriter::endElement(), exportCounterType(), isBullet(), m_align, m_customBulletChar, m_depth, m_displayLevels, m_prefix, m_restartCounter, m_startNumber, m_style, m_suffix, KoParagLayout::saveOasisAlignment(), KoXmlWriter::startElement(), STYLE_CUSTOM, et STYLE_CUSTOMBULLET.

Référencé par saveOasis().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoParagCounter::operator== ( const KoParagCounter c2  )  const

Définition à la ligne 51 du fichier KoParagCounter.cpp.

Références m_align, m_custom, m_customBulletChar, m_customBulletFont, m_depth, m_displayLevels, m_numbering, m_prefix, m_restartCounter, m_startNumber, m_style, et m_suffix.

bool KoParagCounter::operator!= ( const KoParagCounter c2  )  const [inline]

Définition à la ligne 97 du fichier KoParagCounter.h.

KoParagCounter::Numbering KoParagCounter::numbering (  )  const

Numbering type and style.

Définition à la ligne 433 du fichier KoParagCounter.cpp.

Références m_numbering.

Référencé par KoTextParag::copyParagData(), KoTextParag::counter(), KoParagCounterWidget::display(), KoCounterStyleWidget::display(), KoTextObject::doKeyboardAction(), KoAutoFormat::doUseBulletStyle(), KoAutoFormat::doUseNumberStyle(), KoTextParag::drawLabel(), KoParagDia::isCounterChanged(), KoTextDocument::loadList(), KoParagCounterWidget::numTypeChanged(), KoCounterStyleWidget::numTypeChanged(), KoTextParag::paint(), printRTDebug(), KoTextParag::saveOasis(), KoParagLayout::saveParagLayout(), KoParagStyle::saveStyle(), KoTextParag::setCounter(), et KoTextParag::toString().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setNumbering ( Numbering  n  ) 

Définition à la ligne 557 du fichier KoParagCounter.cpp.

Références invalidate(), et m_numbering.

Référencé par KoTextFormatterTest::counterAndBigChar(), KoAutoFormat::doUseBulletStyle(), KoAutoFormat::doUseNumberStyle(), KoTextView::increaseNumberingLevel(), KoTextDocument::loadList(), KoParagCounterWidget::numTypeChanged(), KoCounterStyleWidget::numTypeChanged(), et KoTextParag::setCounter().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KoParagCounter::Style KoParagCounter::style (  )  const

Définition à la ligne 613 du fichier KoParagCounter.cpp.

Références m_style.

Référencé par KoParagCounterWidget::display(), KoCounterStyleWidget::display(), KoTextObject::doKeyboardAction(), KoTextParag::drawLabel(), printRTDebug(), KoTextParag::saveOasis(), KoParagStyle::saveStyle(), et KoCounterStyleWidget::setCounter().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setStyle ( Style  s  ) 

Définition à la ligne 586 du fichier KoParagCounter.cpp.

Références invalidate(), et m_style.

Référencé par KoTextFormatterTest::counterAndBigChar(), KoAutoFormat::doUseBulletStyle(), KoAutoFormat::doUseNumberStyle(), KoTextView::increaseNumberingLevel(), KoCounterStyleWidget::numStyleChanged(), KoTextParag::setCounter(), et KoParagCounterWidget::styleChanged().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoParagCounter::restartCounter (  )  const

Should this counter start at "startNumber" (instead of being the 'last counter of the same type + 1')

Définition à la ligne 623 du fichier KoParagCounter.cpp.

Références m_restartCounter.

Référencé par KoCounterStyleWidget::displayStyle(), printRTDebug(), et KoTextParag::saveOasis().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setRestartCounter ( bool  restart  ) 

Définition à la ligne 628 du fichier KoParagCounter.cpp.

Références invalidate(), et m_restartCounter.

Référencé par KoTextParag::copyParagData(), et KoAutoFormat::doUseNumberStyle().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

bool KoParagCounter::isBullet (  )  const

Does this counter have a bullet style?

Définition à la ligne 112 du fichier KoParagCounter.cpp.

Références m_style.

Référencé par KoTextParag::drawLabel(), levelText(), saveOasis(), et saveOasisListLevel().

Voici le graphe d'appel pour cette fonction :

bool KoParagCounter::isBullet ( Style  style  )  [static]

Helper function for finding out if a style is a bullet

Définition à la ligne 97 du fichier KoParagCounter.cpp.

Références STYLE_BOXBULLET, STYLE_CIRCLEBULLET, STYLE_CUSTOMBULLET, STYLE_DISCBULLET, et STYLE_SQUAREBULLET.

unsigned int KoParagCounter::depth (  )  const

The level of the numbering. Depth of 0 means the major numbering. (1, 2, 3...) Depth of 1 is 1.1, 1.2, 1.3 etc.

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

Références m_depth.

Référencé par KoTextView::decreaseNumberingLevel(), KoCounterStyleWidget::displayStyle(), KoTextObject::doKeyboardAction(), KoTextView::increaseNumberingLevel(), KoStyleCollection::numberedStyleForLevel(), KoStyleCollection::outlineStyleForLevel(), KoStyleCollection::printDebug(), printRTDebug(), KoTextParag::saveOasis(), et KoParagStyle::saveStyle().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setDepth ( unsigned int  d  ) 

Définition à la ligne 551 du fichier KoParagCounter.cpp.

Références invalidate(), et m_depth.

Référencé par KoTextView::decreaseNumberingLevel(), et KoTextView::increaseNumberingLevel().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::displayLevels (  )  const

Number of levels whose numbers are displayed at the current level.

Définition à la ligne 603 du fichier KoParagCounter.cpp.

Références m_displayLevels.

Référencé par KoTextView::decreaseNumberingLevel(), KoCounterStyleWidget::displayStyle(), et KoTextView::increaseNumberingLevel().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setDisplayLevels ( int  l  ) 

Définition à la ligne 574 du fichier KoParagCounter.cpp.

Références invalidate(), et m_displayLevels.

Référencé par KoTextView::decreaseNumberingLevel(), et KoTextView::increaseNumberingLevel().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::startNumber (  )  const

Starting number.

Définition à la ligne 598 du fichier KoParagCounter.cpp.

Références m_startNumber.

Référencé par KoCounterStyleWidget::displayStyle(), et KoTextParag::saveOasis().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setStartNumber ( int  s  ) 

Définition à la ligne 568 du fichier KoParagCounter.cpp.

Références invalidate(), et m_startNumber.

Référencé par KoAutoFormat::doUseNumberStyle().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::prefix (  )  const

Prefix and suffix strings.

Définition à la ligne 498 du fichier KoParagCounter.cpp.

Références m_prefix.

Référencé par bulletX(), KoCounterStyleWidget::displayStyle(), KoTextParag::drawLabel(), et KoTextParag::setCounter().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setPrefix ( const QString &  p  ) 

Définition à la ligne 563 du fichier KoParagCounter.cpp.

Références invalidate(), et m_prefix.

Référencé par KoTextParag::setCounter().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::suffix (  )  const

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

Références m_suffix.

Référencé par KoCounterStyleWidget::displayStyle(), et KoTextParag::drawLabel().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setSuffix ( const QString &  s  ) 

Définition à la ligne 592 du fichier KoParagCounter.cpp.

Références invalidate(), et m_suffix.

Référencé par KoAutoFormat::doUseBulletStyle(), KoAutoFormat::doUseNumberStyle(), et KoTextParag::setCounter().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QChar KoParagCounter::customBulletCharacter (  )  const

The character and font for STYLE_CUSTOMBULLET.

Définition à la ligne 73 du fichier KoParagCounter.cpp.

Références m_customBulletChar.

Référencé par KoCounterStyleWidget::displayStyle(), KoTextParag::drawLabel(), et KoCounterStyleWidget::selectCustomBullet().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setCustomBulletCharacter ( QChar  c  ) 

Définition à la ligne 539 du fichier KoParagCounter.cpp.

Références invalidate(), et m_customBulletChar.

Référencé par KoAutoFormat::doUseBulletStyle(), KoCounterStyleWidget::selectCustomBullet(), et KoParagCounterWidget::slotChangeCustomBullet().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::customBulletFont (  )  const

Définition à la ligne 78 du fichier KoParagCounter.cpp.

Références m_customBulletFont.

Référencé par KoCounterStyleWidget::displayStyle(), KoTextParag::drawLabel(), et KoCounterStyleWidget::selectCustomBullet().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setCustomBulletFont ( const QString &  f  ) 

Définition à la ligne 545 du fichier KoParagCounter.cpp.

Références invalidate(), et m_customBulletFont.

Référencé par KoCounterStyleWidget::selectCustomBullet(), et KoParagCounterWidget::slotChangeCustomBullet().

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::custom (  )  const

The string STYLE_CUSTOM.

Définition à la ligne 68 du fichier KoParagCounter.cpp.

Références m_custom.

void KoParagCounter::setCustom ( const QString &  c  ) 

Définition à la ligne 533 du fichier KoParagCounter.cpp.

Références invalidate(), et m_custom.

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::alignment (  )  const

Counter alignment

Définition à la ligne 608 du fichier KoParagCounter.cpp.

Références m_align.

Référencé par KoCounterStyleWidget::displayStyle(), KoTextFormatterCore::leftMargin(), et KoTextParag::rightMargin().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::setAlignment ( int  a  ) 

Définition à la ligne 580 du fichier KoParagCounter.cpp.

Références invalidate(), et m_align.

Référencé par KoCounterStyleWidget::alignmentChanged().

Voici le graphe d'appel pour cette fonction :

static KoTextFormat* KoParagCounter::counterFormat ( const KoTextParag paragraph  )  [static]

Return the format to use for the counter. This does no caching, it's merely to centralize code.

QString KoParagCounter::makeRomanNumber ( int  n  )  [static]

Définition à la ligne 841 du fichier KoParagCounter.cpp.

Référencé par levelText(), et KoSpinBox::mapValueToText().

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::makeAlphaUpperNumber ( int  n  )  [static]

Définition à la ligne 854 du fichier KoParagCounter.cpp.

Référencé par levelText(), et KoSpinBox::mapValueToText().

Voici le graphe d'appel pour cette fonction :

QString KoParagCounter::makeAlphaLowerNumber ( int  n  )  [static]

Définition à la ligne 868 du fichier KoParagCounter.cpp.

Référencé par levelText(), et KoSpinBox::mapValueToText().

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::fromRomanNumber ( const QString &   )  [static]

Définition à la ligne 882 du fichier KoParagCounter.cpp.

Référencé par KoSpinBox::mapTextToValue().

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::fromAlphaUpperNumber ( const QString &   )  [static]

Définition à la ligne 929 du fichier KoParagCounter.cpp.

Référencé par KoSpinBox::mapTextToValue().

Voici le graphe d'appel pour cette fonction :

int KoParagCounter::fromAlphaLowerNumber ( const QString &   )  [static]

Définition à la ligne 950 du fichier KoParagCounter.cpp.

Référencé par KoSpinBox::mapTextToValue().

Voici le graphe d'appel pour cette fonction :

void KoParagCounter::printRTDebug ( KoTextParag parag  ) 

Définition à la ligne 972 du fichier KoParagCounter.cpp.

Références depth(), m_customBulletChar, m_customBulletFont, m_style, number, numbering(), restartCounter(), style(), STYLE_CUSTOMBULLET, text, et width.

Référencé par KoTextParag::printRTDebug().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

KoTextParag* KoParagCounter::parent ( const KoTextParag paragraph  )  [private]

Return our parent paragraph, if there is such a thing. For a paragraph "1.1.", the parent is the paragraph numbered "1.".


Documentation des données membres

Numbering KoParagCounter::m_numbering [private]

Définition à la ligne 205 du fichier KoParagCounter.h.

Référencé par KoParagCounter(), levelText(), load(), loadOasisListStyle(), numbering(), operator==(), save(), et setNumbering().

bool KoParagCounter::m_restartCounter [private]

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

Référencé par KoParagCounter(), load(), loadOasisListStyle(), operator==(), restartCounter(), save(), saveOasisListLevel(), et setRestartCounter().

bool KoParagCounter::unused [private]

Définition à la ligne 207 du fichier KoParagCounter.h.

Style KoParagCounter::m_style [private]

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

Référencé par isBullet(), KoParagCounter(), levelText(), load(), loadOasisListStyle(), operator==(), printRTDebug(), save(), saveOasis(), saveOasisListLevel(), setStyle(), et style().

char KoParagCounter::m_displayLevels [private]

Définition à la ligne 209 du fichier KoParagCounter.h.

Référencé par displayLevels(), KoParagCounter(), load(), loadOasisListStyle(), operator==(), save(), saveOasisListLevel(), et setDisplayLevels().

char KoParagCounter::m_depth [private]

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

Référencé par depth(), KoParagCounter(), load(), loadOasisListStyle(), operator==(), save(), saveOasisListLevel(), et setDepth().

short int KoParagCounter::m_startNumber [private]

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

Référencé par KoParagCounter(), load(), loadOasisListStyle(), operator==(), save(), saveOasisListLevel(), setStartNumber(), et startNumber().

QChar KoParagCounter::m_customBulletChar [private]

Définition à la ligne 213 du fichier KoParagCounter.h.

Référencé par customBulletCharacter(), KoParagCounter(), levelText(), load(), loadOasisListStyle(), operator==(), printRTDebug(), save(), saveOasisListLevel(), et setCustomBulletCharacter().

QString KoParagCounter::m_customBulletFont [private]

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

Référencé par customBulletFont(), KoParagCounter(), load(), loadOasisListStyle(), operator==(), printRTDebug(), save(), et setCustomBulletFont().

QString KoParagCounter::m_custom [private]

Définition à la ligne 216 du fichier KoParagCounter.h.

Référencé par custom(), load(), operator==(), save(), et setCustom().

QString KoParagCounter::m_prefix [private]

Définition à la ligne 217 du fichier KoParagCounter.h.

Référencé par load(), loadOasisListStyle(), operator==(), prefix(), save(), saveOasisListLevel(), et setPrefix().

QString KoParagCounter::m_suffix [private]

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

Référencé par load(), loadOasisListStyle(), operator==(), save(), saveOasisListLevel(), setSuffix(), et suffix().

int KoParagCounter::m_align [private]

Définition à la ligne 219 du fichier KoParagCounter.h.

Référencé par alignment(), KoParagCounter(), load(), operator==(), save(), saveOasisListLevel(), et setAlignment().

Private* KoParagCounter::d [private]

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

int KoParagCounter::number [private]

Définition à la ligne 235 du fichier KoParagCounter.h.

Référencé par KoAutoFormat::doUseNumberStyle(), levelText(), et printRTDebug().

QString KoParagCounter::text [private]

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

Référencé par KoTextParag::drawLabel(), levelText(), printRTDebug(), KoTextParag::saveOasis(), et KoTextParag::toString().

int KoParagCounter::width [private]

Définition à la ligne 237 du fichier KoParagCounter.h.

Référencé par KoTextParag::counterWidth(), KoTextParag::drawLabel(), et printRTDebug().

KoTextParag * KoParagCounter::parent [private]

Définition à la ligne 238 du fichier KoParagCounter.h.

KoTextFormat * KoParagCounter::counterFormat [private]

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

Référencé par KoTextParag::drawLabel().

struct { ... } KoParagCounter::m_cache [private]

The cached, calculated values for this counter:

VALUE VALUE WHEN INVALID number of this counter -1 text of this counter QString::null width of the label -1 parent (KoTextParag *)-1 the format that was used to calculate the width 0

Référencé par bulletX(), invalidate(), levelText(), et save().


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