Public Member Functions | Private Attributes

ODi_Style_List Class Reference

Represents a <text:list-style> element. More...

#include <ODi_Style_List.h>

Inheritance diagram for ODi_Style_List:

List of all members.

Public Member Functions

 ODi_Style_List (ODi_ElementStack &rElementStack)
virtual ~ODi_Style_List ()
void startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction)
void endElement (const gchar *pName, ODi_ListenerStateAction &rAction)
void charData (const gchar *, int)
void defineAbiList (PD_Document *pDocument)
void redefine (PD_Document *pDocument, UT_uint32 iLevel)
ODi_ListLevelStylegetLevelStyle (UT_uint32 level) const
UT_sint32 getLevelCount () const
void buildAbiPropertiesString () const

Private Attributes

std::string m_name
std::string m_displayName
std::vector< ODi_ListLevelStyle * > m_levelStyles
bool m_bListStyle

Detailed Description

Represents a <text:list-style> element.

Constructor & Destructor Documentation

ODi_Style_List::ODi_Style_List ( ODi_ElementStack rElementStack  )  [inline]
ODi_Style_List::~ODi_Style_List (  )  [virtual]


References m_levelStyles, and UT_std_delete_all().

Member Function Documentation

void ODi_Style_List::buildAbiPropertiesString (  )  const

References m_levelStyles.

void ODi_Style_List::charData ( const gchar *  ,
) [inline, virtual]

Implements ODi_ListenerState.

void ODi_Style_List::defineAbiList ( PD_Document pDocument  ) 
void ODi_Style_List::endElement ( const gchar *  pName,
ODi_ListenerStateAction rAction 
) [virtual]
UT_sint32 ODi_Style_List::getLevelCount (  )  const [inline]
void ODi_Style_List::redefine ( PD_Document pDocument,
UT_uint32  iLevel 

Each sublist in abiword needs it own unique identifier. When we drop back a level we have to redefine the ID's of the child levels This method gets called when this happens

References PD_Document::getUID(), UT_UniqueId::List, and m_levelStyles.

Referenced by ODi_TextContent_ListenerState::_startParagraphElement().

void ODi_Style_List::startElement ( const gchar *  pName,
const gchar **  ppAtts,
ODi_ListenerStateAction rAction 
) [virtual]

Member Data Documentation

Referenced by endElement(), and startElement().

std::string ODi_Style_List::m_displayName [private]
std::string ODi_Style_List::m_name [private]

Referenced by startElement().

The documentation for this class was generated from the following files: