ListLevel Class Reference
#include <stylereader.h>
Public Member Functions | |
| ListLevel (uint level, BulletType btype, const QString &prefix, const QString &suffix, const QString &bullet, uint displayLevels=1, uint startValue=0) | |
| ~ListLevel () | |
| QString | bulletString () |
| QString | bullet () |
| QString | prefix () |
| QString | suffix () |
| void | advance () |
| void | reset () |
| uint | level () |
| uint | displayLevels () |
Private Member Functions | |
| QString | lowerRoman (uint n) |
| QString | upperRoman (uint n) |
| QString | lowerAlpha (uint n) |
| QString | upperAlpha (uint n) |
Private Attributes | |
| uint | m_level |
| BulletType | m_btype |
| QString | m_prefix |
| QString | m_suffix |
| QString | m_bullet |
| uint | m_displayLevels |
| uint | m_next |
Static Private Attributes | |
| static const QString | lowerUnits [10] = {"", "i", "ii", "iii", "iv", "v", "vi", "vii", "viii", "ix"} |
| static const QString | lowerTens [10] = {"", "x", "xx", "xxx", "xl", "l", "lx", "lxx", "lxxx", "xc"} |
| static const QString | lowerHundreds [10] = {"", "c", "cc", "ccc", "cd", "d", "dc", "dcc", "dccc", "cm"} |
| static const QString | lowerThousands [4] = {"", "m", "mm", "mmm"} |
| static const QString | upperUnits [10] = {"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"} |
| static const QString | upperTens [10] = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"} |
| static const QString | upperHundreds [10] = {"", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCC", "CM"} |
| static const QString | upperThousands [4] = {"", "M", "MM", "MMM"} |
| static const QString | lowerAlphabets [27] |
| static const QString | upperAlphabets [27] |
Detailed Description
Definition at line 53 of file odtim/stylereader.h.
Constructor & Destructor Documentation
| ListLevel::ListLevel | ( | uint | level, | |
| BulletType | btype, | |||
| const QString & | prefix, | |||
| const QString & | suffix, | |||
| const QString & | bullet, | |||
| uint | displayLevels = 1, |
|||
| uint | startValue = 0 | |||
| ) |
Definition at line 905 of file odtim/stylereader.cpp.
| ListLevel::~ListLevel | ( | ) |
Definition at line 1026 of file odtim/stylereader.cpp.
Member Function Documentation
| QString ListLevel::bulletString | ( | ) |
Definition at line 923 of file odtim/stylereader.cpp.
References Bullet, Graphic, lowerAlpha(), LowerAlpha, lowerRoman(), LowerRoman, m_btype, m_bullet, m_next, Number, upperAlpha(), UpperAlpha, upperRoman(), and UpperRoman.
Referenced by ListStyle::bullet(), and bullet().
| QString ListLevel::bullet | ( | ) |
Definition at line 954 of file odtim/stylereader.cpp.
References bulletString(), m_prefix, and m_suffix.
| QString ListLevel::prefix | ( | ) |
Definition at line 960 of file odtim/stylereader.cpp.
References m_prefix.
Referenced by ListStyle::bullet().
| QString ListLevel::suffix | ( | ) |
Definition at line 965 of file odtim/stylereader.cpp.
References m_suffix.
Referenced by ListStyle::bullet().
| void ListLevel::advance | ( | ) |
Definition at line 970 of file odtim/stylereader.cpp.
References m_next.
Referenced by ListStyle::advance().
| void ListLevel::reset | ( | ) |
Definition at line 985 of file odtim/stylereader.cpp.
References m_next.
Referenced by ListStyle::resetLevel().
| uint ListLevel::level | ( | ) |
| uint ListLevel::displayLevels | ( | ) |
Definition at line 980 of file odtim/stylereader.cpp.
References m_displayLevels.
Referenced by ListStyle::bullet().
| QString ListLevel::lowerRoman | ( | uint | n | ) | [private] |
Definition at line 990 of file odtim/stylereader.cpp.
References lowerHundreds, lowerTens, lowerThousands, and lowerUnits.
Referenced by bulletString().
| QString ListLevel::upperRoman | ( | uint | n | ) | [private] |
Definition at line 998 of file odtim/stylereader.cpp.
References upperHundreds, upperTens, upperThousands, and upperUnits.
Referenced by bulletString().
| QString ListLevel::lowerAlpha | ( | uint | n | ) | [private] |
Definition at line 1006 of file odtim/stylereader.cpp.
References lowerAlphabets.
Referenced by bulletString().
| QString ListLevel::upperAlpha | ( | uint | n | ) | [private] |
Definition at line 1016 of file odtim/stylereader.cpp.
References upperAlphabets.
Referenced by bulletString().
Member Data Documentation
uint ListLevel::m_level [private] |
BulletType ListLevel::m_btype [private] |
QString ListLevel::m_prefix [private] |
QString ListLevel::m_suffix [private] |
QString ListLevel::m_bullet [private] |
uint ListLevel::m_displayLevels [private] |
uint ListLevel::m_next [private] |
Definition at line 79 of file odtim/stylereader.h.
Referenced by advance(), bulletString(), and reset().
const QString ListLevel::lowerUnits = {"", "i", "ii", "iii", "iv", "v", "vi", "vii", "viii", "ix"} [static, private] |
const QString ListLevel::lowerTens = {"", "x", "xx", "xxx", "xl", "l", "lx", "lxx", "lxxx", "xc"} [static, private] |
const QString ListLevel::lowerHundreds = {"", "c", "cc", "ccc", "cd", "d", "dc", "dcc", "dccc", "cm"} [static, private] |
const QString ListLevel::lowerThousands = {"", "m", "mm", "mmm"} [static, private] |
const QString ListLevel::upperUnits = {"", "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX"} [static, private] |
const QString ListLevel::upperTens = {"", "X", "XX", "XXX", "XL", "L", "LX", "LXX", "LXXX", "XC"} [static, private] |
const QString ListLevel::upperHundreds = {"", "C", "CC", "CCC", "CD", "D", "DC", "DCC", "DCC", "CM"} [static, private] |
const QString ListLevel::upperThousands = {"", "M", "MM", "MMM"} [static, private] |
const QString ListLevel::lowerAlphabets [static, private] |
Initial value:
{"", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m",
"n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"}
Definition at line 88 of file odtim/stylereader.h.
Referenced by lowerAlpha().
const QString ListLevel::upperAlphabets [static, private] |
Initial value:
{"", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"}
Definition at line 89 of file odtim/stylereader.h.
Referenced by upperAlpha().
The documentation for this class was generated from the following files:
