Represents a <text:list-level-style-number> element. More...
#include <ODi_ListLevelStyle.h>
Public Member Functions | |
ODi_Numbered_ListLevelStyle (ODi_ElementStack &m_rElementStack) | |
Constructor. | |
void | startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction) |
void | buildAbiPropsString () |
Private Member Functions | |
void | _setAbiListType (const gchar *pStyleNumFormat) |
Maps the value of the OpenDocument attribute style:num-format to the correspondent AbiWord "type" attribute of the list (<l>) element tag. |
Represents a <text:list-level-style-number> element.
ODi_Numbered_ListLevelStyle::ODi_Numbered_ListLevelStyle | ( | ODi_ElementStack & | m_rElementStack | ) |
void ODi_Numbered_ListLevelStyle::_setAbiListType | ( | const gchar * | pStyleNumFormat | ) | [private] |
Maps the value of the OpenDocument attribute style:num-format to the correspondent AbiWord "type" attribute of the list (<l>) element tag.
pStyleNumFormat | The value of the style:num-format attribute. |
References ARABICNUMBERED_LIST, LOWERCASE_LIST, LOWERROMAN_LIST, ODi_ListLevelStyle::m_abiListType, NUMBERED_LIST, ODI_LISTLEVELSTYLE_ARABIC, UPPERCASE_LIST, UPPERROMAN_LIST, and UT_std_string_sprintf().
Referenced by startElement().
void ODi_Numbered_ListLevelStyle::buildAbiPropsString | ( | ) | [virtual] |
Reimplemented from ODi_ListLevelStyle.
References ARABICNUMBERED_LIST, ODi_Style_Style::getFontName(), LOWERCASE_LIST, LOWERROMAN_LIST, ODi_ListLevelStyle::m_abiListType, ODi_ListLevelStyle::m_abiProperties, ODi_ListLevelStyle::m_pTextStyle, NUMBERED_LIST, UPPERCASE_LIST, UPPERROMAN_LIST, UT_ASSERT_HARMLESS, and UT_SHOULD_NOT_HAPPEN.
void ODi_Numbered_ListLevelStyle::startElement | ( | const gchar * | pName, | |
const gchar ** | ppAtts, | |||
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Reimplemented from ODi_ListLevelStyle.
References _setAbiListType(), gchar, ODi_ListLevelStyle::m_abiListListDelim, ODi_ListLevelStyle::m_abiListStartValue, UT_ASSERT_HARMLESS, UT_getAttribute(), and xxx_UT_DEBUGMSG.