Class to handle the content stream. More...
#include <ODi_ContentStream_ListenerState.h>
Public Member Functions | |
ODi_ContentStream_ListenerState (PD_Document *pDocument, GsfInfile *pGsfInfile, ODi_Office_Styles *pStyles, ODi_FontFaceDecls &rFontFaceDecls, ODi_ElementStack &rElementStack, ODi_Abi_Data &rAbiData) | |
Constructor. | |
virtual | ~ODi_ContentStream_ListenerState () |
Destructor. | |
void | startElement (const gchar *pName, const gchar **ppAtts, ODi_ListenerStateAction &rAction) |
Called when the XML parser finds a start element tag. | |
void | endElement (const gchar *pName, ODi_ListenerStateAction &rAction) |
void | charData (const gchar *pBuffer, int length) |
Private Attributes | |
PD_Document * | m_pAbiDocument |
GsfInfile * | m_pGsfInfile |
ODi_Office_Styles * | m_pStyles |
ODi_FontFaceDecls & | m_rFontFaceDecls |
ODi_Abi_Data & | m_rAbiData |
Class to handle the content stream.
ODi_ContentStream_ListenerState::ODi_ContentStream_ListenerState | ( | PD_Document * | pDocument, | |
GsfInfile * | pGsfInfile, | |||
ODi_Office_Styles * | pStyles, | |||
ODi_FontFaceDecls & | rFontFaceDecls, | |||
ODi_ElementStack & | rElementStack, | |||
ODi_Abi_Data & | rAbiData | |||
) |
Constructor.
References m_pAbiDocument, m_pGsfInfile, m_pStyles, and UT_ASSERT_HARMLESS.
ODi_ContentStream_ListenerState::~ODi_ContentStream_ListenerState | ( | ) | [virtual] |
Destructor.
void ODi_ContentStream_ListenerState::charData | ( | const gchar * | pBuffer, | |
int | length | |||
) | [virtual] |
Implements ODi_ListenerState.
void ODi_ContentStream_ListenerState::endElement | ( | const gchar * | pName, | |
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Implements ODi_ListenerState.
References ODi_ListenerStateAction::popState().
void ODi_ContentStream_ListenerState::startElement | ( | const gchar * | pName, | |
const gchar ** | ppAtts, | |||
ODi_ListenerStateAction & | rAction | |||
) | [virtual] |
Called when the XML parser finds a start element tag.
pName | The name of the element. | |
ppAtts | The attributes of the parsed start tag. |
Implements ODi_ListenerState.
References ODi_Office_Styles::addedAllStyles(), ODi_Office_Styles::addList(), ODi_Office_Styles::addStyle(), m_pAbiDocument, m_pStyles, m_rAbiData, ODi_ListenerState::m_rElementStack, m_rFontFaceDecls, and ODi_ListenerStateAction::pushState().
Referenced by ODi_ContentStream_ListenerState(), and startElement().
GsfInfile* ODi_ContentStream_ListenerState::m_pGsfInfile [private] |
Referenced by ODi_ContentStream_ListenerState().
Referenced by ODi_ContentStream_ListenerState(), and startElement().
Referenced by startElement().
Referenced by startElement().