Represents a <text:list-style> element. More...
#include <ODe_Style_List.h>
Public Member Functions | |
virtual | ~ODe_Style_List () |
Destructor. | |
bool | write (GsfOutput *pODT, const UT_UTF8String &rSpacesOffset) const |
Write the <text:list-style> element. | |
void | setName (const UT_UTF8String &rName) |
const UT_UTF8String & | getName () const |
void | setLevelStyle (UT_uint8 level, const PP_AttrProp &rBlockAP) |
const ODe_ListLevelStyle * | getLevelStyle (UT_uint8 level) const |
UT_GenericVector < ODe_ListLevelStyle * > * | getListLevelStyles () |
Private Attributes | |
UT_UTF8String | m_name |
UT_GenericStringMap < ODe_ListLevelStyle * > | m_levelStyles |
Represents a <text:list-style> element.
ODe_Style_List::~ODe_Style_List | ( | ) | [virtual] |
Destructor.
References UT_GenericStringMap< T >::clear(), UT_GenericStringMap< T >::enumerate(), m_levelStyles, and UT_VECTOR_PURGEALL.
const ODe_ListLevelStyle * ODe_Style_List::getLevelStyle | ( | UT_uint8 | level | ) | const |
References m_levelStyles, UT_GenericStringMap< T >::pick(), UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by ODe_Text_Listener::_openODListItem().
UT_GenericVector<ODe_ListLevelStyle*>* ODe_Style_List::getListLevelStyles | ( | ) | [inline] |
References UT_GenericStringMap< T >::enumerate(), and m_levelStyles.
Referenced by ODe_DocumentData::doPostListeningWork().
const UT_UTF8String& ODe_Style_List::getName | ( | ) | const [inline] |
References m_name.
Referenced by ODe_Text_Listener::_openODListItem(), and ODe_Style_Style::fetchAttributesFromAbiBlock().
void ODe_Style_List::setLevelStyle | ( | UT_uint8 | level, | |
const PP_AttrProp & | rBlockAP | |||
) |
References ODe_ListLevelStyle::fetchAttributesFromAbiBlock(), gchar, PP_AttrProp::getProperty(), UT_GenericStringMap< T >::insert(), m_levelStyles, UT_GenericStringMap< T >::pick(), UT_ASSERT, UT_return_if_fail, UT_SHOULD_NOT_HAPPEN, UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by ODe_Text_Listener::_openODListItem().
void ODe_Style_List::setName | ( | const UT_UTF8String & | rName | ) | [inline] |
References m_name.
bool ODe_Style_List::write | ( | GsfOutput * | pODT, | |
const UT_UTF8String & | rSpacesOffset | |||
) | const |
Write the <text:list-style> element.
References ODe_Style_Style::convertStyleToNCName(), UT_GenericStringMap< T >::enumerate(), UT_GenericVector< T >::getItemCount(), m_levelStyles, m_name, ODe_writeUTF8String(), UT_UTF8String_sprintf(), and UT_UTF8String::utf8_str().
Referenced by getLevelStyle(), getListLevelStyles(), setLevelStyle(), write(), and ~ODe_Style_List().
UT_UTF8String ODe_Style_List::m_name [private] |