Public Member Functions | Private Member Functions | Private Attributes

ODi_Frame_ListenerState Class Reference

To parse a <draw:frame> element. More...

#include <ODi_Frame_ListenerState.h>

Inheritance diagram for ODi_Frame_ListenerState:

List of all members.

Public Member Functions

 ODi_Frame_ListenerState (PD_Document *pDocument, ODi_Office_Styles *pStyles, ODi_Abi_Data &rAbiData, ODi_ElementStack &rElementStack)
virtual ~ODi_Frame_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)

Private Member Functions

void _drawImage (const gchar **ppAtts, ODi_ListenerStateAction &rAction)
void _drawInlineImage (const gchar **ppAtts)
void _drawObject (const gchar **ppAtts, ODi_ListenerStateAction &rAction)
void _drawTextBox (const gchar **ppAtts, ODi_ListenerStateAction &rAction)
bool _getFrameProperties (std::string &rProps, const gchar **ppAtts)

Private Attributes

bool m_parsedFrameStartTag
bool m_bOnContentStream
bool m_inlinedImage
UT_sint32 m_iFrameDepth
UT_ByteBufPtr m_pMathBB
bool m_bInMath
bool m_bInlineImagePending
bool m_bPositionedImagePending
std::string m_sAltTitle
bool m_bInAltTitle
std::string m_sAltDesc
bool m_bInAltDesc
std::map< std::string,
std::string > 

Detailed Description

To parse a <draw:frame> element.

Constructor & Destructor Documentation

ODi_Frame_ListenerState::ODi_Frame_ListenerState ( PD_Document pDocument,
ODi_Office_Styles pStyles,
ODi_Abi_Data rAbiData,
ODi_ElementStack rElementStack 
virtual ODi_Frame_ListenerState::~ODi_Frame_ListenerState (  )  [inline, virtual]

Member Function Documentation

void ODi_Frame_ListenerState::charData ( const gchar *  pBuffer,
int  length 
) [virtual]

Member Data Documentation

std::map<std::string, std::string> ODi_Frame_ListenerState::m_mPendingImgProps [private]
std::string ODi_Frame_ListenerState::m_sAltDesc [private]

Referenced by charData(), and endElement().

std::string ODi_Frame_ListenerState::m_sAltTitle [private]

Referenced by charData(), and endElement().

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