Public Member Functions | Private Member Functions | Private Attributes

GR_MathManager Class Reference

#include <AbiMathView.h>

Inheritance diagram for GR_MathManager:

List of all members.

Public Member Functions

 GR_MathManager (GR_Graphics *pG)
virtual ~GR_MathManager ()
virtual GR_EmbedManagercreate (GR_Graphics *pG)
virtual const char * getObjectType (void) const
virtual void initialize (void)
virtual UT_sint32 makeEmbedView (AD_Document *pDoc, UT_uint32 api, const char *szDataID)
virtual void setColor (UT_sint32 uid, UT_RGBColor c)
virtual UT_sint32 getWidth (UT_sint32 uid)
virtual UT_sint32 getAscent (UT_sint32 uid)
virtual UT_sint32 getDescent (UT_sint32 uid)
virtual void loadEmbedData (UT_sint32 uid)
virtual void setDefaultFontSize (UT_sint32 uid, UT_sint32 iSize)
virtual void render (UT_sint32 uid, UT_Rect &rec)
virtual void releaseEmbedView (UT_sint32 uid)
virtual void initializeEmbedView (UT_sint32 uid)
virtual void makeSnapShot (UT_sint32 uid, UT_Rect &rec)
virtual bool isDefault (void)
virtual bool modify (UT_sint32 uid)
virtual bool convert (UT_uint32 iConv, UT_ByteBuf &From, UT_ByteBuf &To)
bool createPNGSnapshot (AD_Document *pDoc, UT_Rect &rec, const char *szDataID)
bool updatePNGSnapshot (AD_Document *pDoc, UT_Rect &rec, const char *szDataID)
const IE_Imp_MathML_EntityTableEntityTable () const

Private Member Functions

virtual UT_sint32 _makeMathView (void)
virtual void _loadMathML (UT_sint32 uid, UT_UTF8String &sMathBuf)
UT_sint32 _getNextUID (void)

Private Attributes

UT_sint32 m_CurrentUID
SmartPtr< AbstractLogger > m_pLogger
< GR_Abi_MathGraphicDevice
< MathMLOperatorDictionary > 
UT_GenericVector< GR_AbiMathViewm_vecMathView
< GR_AbiMathItems * > 
IE_Imp_MathML_EntityTable m_EntityTable

Constructor & Destructor Documentation

GR_MathManager::GR_MathManager ( GR_Graphics pG  ) 
GR_MathManager::~GR_MathManager (  )  [virtual]

Member Function Documentation

UT_sint32 GR_MathManager::_getNextUID ( void   )  [private]
void GR_MathManager::_loadMathML ( UT_sint32  uid,
UT_UTF8String sMathBuf 
) [private, virtual]
GR_EmbedManager * GR_MathManager::create ( GR_Graphics pG  )  [virtual]

Reimplemented from GR_EmbedManager.

References GR_MathManager().

Referenced by _makeMathView(), and initialize().

const IE_Imp_MathML_EntityTable& GR_MathManager::EntityTable (  )  const [inline]

References m_EntityTable.

Referenced by AbiMathView_FileInsert(), and convert().

UT_sint32 GR_MathManager::getDescent ( UT_sint32  uid  )  [virtual]
const char * GR_MathManager::getObjectType ( void   )  const [virtual]

Reimplemented from GR_EmbedManager.

Referenced by abi_plugin_unregister().

UT_sint32 GR_MathManager::getWidth ( UT_sint32  uid  )  [virtual]
void GR_MathManager::initializeEmbedView ( UT_sint32  uid  )  [virtual]
bool GR_MathManager::isDefault ( void   )  [virtual]

Reimplemented from GR_EmbedManager.

Referenced by createPNGSnapshot(), and updatePNGSnapshot().

UT_sint32 GR_MathManager::makeEmbedView ( AD_Document pDoc,
UT_uint32  api,
const char *  szDataID 
) [virtual]
bool GR_MathManager::modify ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

void GR_MathManager::releaseEmbedView ( UT_sint32  uid  )  [virtual]
void GR_MathManager::setColor ( UT_sint32  uid,
UT_RGBColor  c 
) [virtual]
void GR_MathManager::setDefaultFontSize ( UT_sint32  uid,
UT_sint32  iSize 
) [virtual]
bool GR_MathManager::updatePNGSnapshot ( AD_Document pDoc,
UT_Rect rec,
const char *  szDataID 

Member Data Documentation

SmartPtr<AbstractLogger> GR_MathManager::m_pLogger [private]

Referenced by _makeMathView(), and initialize().

SmartPtr<MathMLOperatorDictionary> GR_MathManager::m_pOperatorDictionary [private]

Referenced by _makeMathView(), and initialize().

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