small structure to keep information about a list level More...
#include <STOFFList.hxx>
Public Types | |
enum | Type { DEFAULT , NONE , BULLET , NUMBER } |
the type of the level More... | |
Public Member Functions | |
STOFFListLevel () | |
basic constructor | |
STOFFListLevel (STOFFListLevel const &)=default | |
STOFFListLevel (STOFFListLevel &&)=default | |
STOFFListLevel & | operator= (STOFFListLevel const &)=default |
STOFFListLevel & | operator= (STOFFListLevel &&)=default |
~STOFFListLevel () | |
destructor | |
bool | isDefault () const |
returns true if the level type was not set | |
bool | isNumeric () const |
returns true if the list is decimal, alpha or roman | |
bool | operator== (STOFFListLevel const &levl) const |
operator== | |
bool | operator!= (STOFFListLevel const &levl) const |
operator!= | |
void | addTo (librevenge::RVNGPropertyList &propList) const |
add the information of this level in the propList | |
int | getStartValue () const |
returns the start value (if set) or 1 | |
int | cmp (STOFFListLevel const &levl) const |
comparison function ( compare all values excepted m_startValues | |
Public Attributes | |
Type | m_type |
the type of the level | |
librevenge::RVNGPropertyList | m_propertyList |
the propertyList | |
std::shared_ptr< STOFFFont > | m_font |
the font | |
int | m_startValue |
the actual value (if this is an ordered level ) | |
small structure to keep information about a list level
enum STOFFListLevel::Type |
|
inline |
basic constructor
|
default |
|
default |
STOFFListLevel::~STOFFListLevel | ( | ) |
destructor
void STOFFListLevel::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add the information of this level in the propList
int STOFFListLevel::cmp | ( | STOFFListLevel const & | levl | ) | const |
comparison function ( compare all values excepted m_startValues
Referenced by STOFFList::isCompatibleWith(), and operator==().
|
inline |
returns the start value (if set) or 1
Referenced by addTo(), and STOFFList::set().
|
inline |
returns true if the level type was not set
|
inline |
returns true if the list is decimal, alpha or roman
|
inline |
operator!=
|
default |
|
default |
|
inline |
operator==
Referenced by operator!=().
std::shared_ptr<STOFFFont> STOFFListLevel::m_font |
the font
Referenced by cmp(), StarObjectNumericRuler::readAttributeLevel(), and StarObjectNumericRuler::readLevel().
librevenge::RVNGPropertyList STOFFListLevel::m_propertyList |
int STOFFListLevel::m_startValue |
the actual value (if this is an ordered level )
Referenced by getStartValue(), StarObjectNumericRuler::readLevel(), and STOFFList::set().
Type STOFFListLevel::m_type |
the type of the level
Referenced by addTo(), StarParagraphAttribute::StarPAttributeBulletNumeric::addTo(), cmp(), isDefault(), isNumeric(), StarObjectNumericRuler::readAttributeLevel(), StarObjectNumericRuler::readLevel(), StarObjectNumericRuler::readList(), and STOFFList::set().