Used to parse the <text:table-of-content> element. More...
#include <ODi_TableOfContent_ListenerState.h>
Public Member Functions | |
| ODi_TableOfContent_ListenerState (PD_Document *pDocument, ODi_Office_Styles *pStyles, ODi_ElementStack &rElementStack) | |
| Constructor. | |
| virtual | ~ODi_TableOfContent_ListenerState () |
| void | startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction) |
| void | endElement (const gchar *pName, ODi_ListenerStateAction &rAction) |
| void | charData (const gchar *pBuffer, int length) |
| pf_Frag_Strux * | getTOCStrux () |
| const UT_UTF8String & | getProps () const |
Private Attributes | |
| PD_Document * | m_pAbiDocument |
| ODi_Office_Styles * | m_pStyles |
| pf_Frag_Strux * | m_pTOCStrux |
| UT_UTF8String | props |
| UT_UTF8String | m_charData |
| bool | m_acceptingText |
Used to parse the <text:table-of-content> element.
| ODi_TableOfContent_ListenerState::ODi_TableOfContent_ListenerState | ( | PD_Document * | pDocument, | |
| ODi_Office_Styles * | pStyles, | |||
| ODi_ElementStack & | rElementStack | |||
| ) |
Constructor.
| virtual ODi_TableOfContent_ListenerState::~ODi_TableOfContent_ListenerState | ( | ) | [inline, virtual] |
| void ODi_TableOfContent_ListenerState::charData | ( | const gchar * | pBuffer, | |
| int | length | |||
| ) | [virtual] |
Implements ODi_ListenerState.
References UT_UTF8String::append(), m_acceptingText, and m_charData.
| void ODi_TableOfContent_ListenerState::endElement | ( | const gchar * | pName, | |
| ODi_ListenerStateAction & | rAction | |||
| ) | [virtual] |
| const UT_UTF8String& ODi_TableOfContent_ListenerState::getProps | ( | ) | const [inline] |
References props.
Referenced by ODi_TextContent_ListenerState::endElement().
| pf_Frag_Strux* ODi_TableOfContent_ListenerState::getTOCStrux | ( | ) | [inline] |
References m_pTOCStrux.
Referenced by ODi_TextContent_ListenerState::endElement().
| void ODi_TableOfContent_ListenerState::startElement | ( | const gchar * | pName, | |
| const gchar ** | ppAtts, | |||
| ODi_ListenerStateAction & | rAction | |||
| ) | [virtual] |
Implements ODi_ListenerState.
References UT_UTF8String::empty(), gchar, ODi_Style_Style::getDisplayName(), ODi_Office_Styles::getParagraphStyle(), m_acceptingText, m_pStyles, props, UT_ASSERT, UT_ASSERT_HARMLESS, and UT_getAttribute().
bool ODi_TableOfContent_ListenerState::m_acceptingText [private] |
Referenced by charData(), endElement(), and startElement().
Referenced by charData(), and endElement().
Referenced by endElement().
Referenced by startElement().
Referenced by endElement(), and getTOCStrux().
Referenced by endElement(), getProps(), and startElement().
1.7.1