Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes

GR_GOChartManager Class Reference

#include <AbiGOChart.h>

Inheritance diagram for GR_GOChartManager:

List of all members.

Public Member Functions

 GR_GOChartManager (GR_Graphics *pG)
virtual ~GR_GOChartManager ()
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, const UT_ConstByteBufPtr &From, const UT_ByteBufPtr &To)
virtual void updateData (UT_sint32 uid, UT_sint32 api)
virtual bool isEdittable (UT_sint32 uid)
virtual void setRun (UT_sint32 uid, fp_Run *run)
EV_EditMouseContext getContextualMenu (void) const

Static Public Member Functions

static void buildContextualMenu ()
static void removeContextualMenu ()

Static Public Attributes

static GOChartViewlast_created_view = NULL

Private Member Functions

UT_sint32 _makeGOChartView (void)
void _loadGOChartXML (UT_sint32 uid, UT_UTF8String &sGOChartBuf)
UT_sint32 _getNextUID (void)

Private Attributes

UT_sint32 m_CurrentUID
UT_GenericVector< GOChartView * > m_vecGOChartView
< GR_AbiGOChartItems * > 

Static Private Attributes

static EV_EditMouseContext ChartMenuID = EV_EMC_EMBED

Constructor & Destructor Documentation

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

Member Function Documentation

UT_sint32 GR_GOChartManager::_getNextUID ( void   )  [private]
void GR_GOChartManager::_loadGOChartXML ( UT_sint32  uid,
UT_UTF8String sGOChartBuf 
) [private]
UT_sint32 GR_GOChartManager::_makeGOChartView ( void   )  [private]

Create a specific GOChart view and associate it with a UID.

References UT_GenericVector< T >::addItem(), UT_GenericVector< T >::getItemCount(), last_created_view, and m_vecGOChartView.

virtual bool GR_GOChartManager::convert ( UT_uint32  iConv,
const UT_ConstByteBufPtr From,
const UT_ByteBufPtr To 
) [virtual]

Reimplemented from GR_EmbedManager.

GR_EmbedManager * GR_GOChartManager::create ( GR_Graphics pG  )  [virtual]

Reimplemented from GR_EmbedManager.

References GR_GOChartManager().

virtual UT_sint32 GR_GOChartManager::getAscent ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

EV_EditMouseContext GR_GOChartManager::getContextualMenu ( void   )  const [inline, virtual]

Reimplemented from GR_EmbedManager.

References ChartMenuID.

virtual UT_sint32 GR_GOChartManager::getDescent ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

const char * GR_GOChartManager::getObjectType ( void   )  const [virtual]

Reimplemented from GR_EmbedManager.

Referenced by abi_plugin_unregister().

virtual UT_sint32 GR_GOChartManager::getWidth ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

void GR_GOChartManager::initialize ( void   )  [virtual]

Reimplemented from GR_EmbedManager.

virtual void GR_GOChartManager::initializeEmbedView ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

bool GR_GOChartManager::isDefault ( void   )  [virtual]

Reimplemented from GR_EmbedManager.

virtual bool GR_GOChartManager::isEdittable ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

virtual UT_sint32 GR_GOChartManager::makeEmbedView ( AD_Document pDoc,
UT_uint32  api,
const char *  szDataID 
) [virtual]

Reimplemented from GR_EmbedManager.

virtual void GR_GOChartManager::makeSnapShot ( UT_sint32  uid,
UT_Rect rec 
) [virtual]

Reimplemented from GR_EmbedManager.

bool GR_GOChartManager::modify ( UT_sint32  uid  )  [virtual]
void GR_GOChartManager::releaseEmbedView ( UT_sint32  uid  )  [virtual]
void GR_GOChartManager::removeContextualMenu (  )  [static]
void GR_GOChartManager::render ( UT_sint32  uid,
UT_Rect rec 
) [virtual]

This method renders the GOChart identified by uid onto the screen rectangle given by rec

Reimplemented from GR_EmbedManager.

References UT_GenericVector< T >::getNthItem(), m_vecGOChartView, GOChartView::render(), and UT_return_if_fail.

virtual void GR_GOChartManager::setColor ( UT_sint32  uid,
UT_RGBColor  c 
) [virtual]
void GR_GOChartManager::setDefaultFontSize ( UT_sint32  uid,
UT_sint32  iSize 
) [virtual]
void GR_GOChartManager::setRun ( UT_sint32  uid,
fp_Run run 
) [virtual]
void GR_GOChartManager::updateData ( UT_sint32  uid,
UT_sint32  api 
) [virtual]

Member Data Documentation

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