ListStyle Class Reference
#include <stylereader.h>

Public Member Functions | |
| ListStyle (const QString &name, bool consecutiveNumbering=false, uint currentLevel=1) | |
| ~ListStyle () | |
| void | addLevel (uint level, ListLevel *llevel) |
| QString | bullet () |
| void | advance () |
| void | setLevel (uint level) |
| void | resetLevel () |
| QString & | name () |
Private Attributes | |
| QString | m_name |
| bool | m_consecutiveNumbering |
| uint | m_currentLevel |
| uint | m_count |
| ListLevel * | levels [11] |
Detailed Description
Definition at line 96 of file odtim/stylereader.h.
Constructor & Destructor Documentation
| ListStyle::ListStyle | ( | const QString & | name, | |
| bool | consecutiveNumbering = false, |
|||
| uint | currentLevel = 1 | |||
| ) |
| ListStyle::~ListStyle | ( | ) |
Member Function Documentation
| void ListStyle::addLevel | ( | uint | level, | |
| ListLevel * | llevel | |||
| ) |
Definition at line 1043 of file odtim/stylereader.cpp.
References levels.
Referenced by StyleReader::startElement().
| QString ListStyle::bullet | ( | ) |
Definition at line 1049 of file odtim/stylereader.cpp.
References ListLevel::bulletString(), ListLevel::displayLevels(), levels, m_currentLevel, ListLevel::prefix(), and ListLevel::suffix().
Referenced by ContentReader::startElement().
| void ListStyle::advance | ( | ) |
Definition at line 1072 of file odtim/stylereader.cpp.
References ListLevel::advance(), levels, m_count, and m_currentLevel.
Referenced by ContentReader::startElement().
| void ListStyle::setLevel | ( | uint | level | ) |
Definition at line 1079 of file odtim/stylereader.cpp.
References m_currentLevel.
Referenced by ContentReader::endElement(), and ContentReader::startElement().
| void ListStyle::resetLevel | ( | ) |
Definition at line 1090 of file odtim/stylereader.cpp.
References levels, m_currentLevel, and ListLevel::reset().
Referenced by ContentReader::endElement().
| QString & ListStyle::name | ( | ) |
Definition at line 1085 of file odtim/stylereader.cpp.
References m_name.
Referenced by StyleReader::endElement().
Member Data Documentation
QString ListStyle::m_name [private] |
bool ListStyle::m_consecutiveNumbering [private] |
Definition at line 109 of file odtim/stylereader.h.
uint ListStyle::m_currentLevel [private] |
Definition at line 110 of file odtim/stylereader.h.
Referenced by advance(), bullet(), resetLevel(), and setLevel().
uint ListStyle::m_count [private] |
ListLevel* ListStyle::levels[11] [private] |
Definition at line 112 of file odtim/stylereader.h.
Referenced by addLevel(), advance(), bullet(), ListStyle(), resetLevel(), and ~ListStyle().
The documentation for this class was generated from the following files:
