Public Member Functions | Private Member Functions | Private Attributes

GR_GOComponentManager Class Reference

#include <AbiGOComponent.h>

Inheritance diagram for GR_GOComponentManager:

List of all members.

Public Member Functions

 GR_GOComponentManager (GR_Graphics *pG)
virtual ~GR_GOComponentManager ()
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 bool isEdittable (UT_sint32 uid)
virtual bool isResizeable (UT_sint32 uid)
virtual void setRun (UT_sint32 uid, fp_Run *run)
virtual void updateData (UT_sint32 uid, UT_sint32 api)
virtual bool setFont (UT_sint32 uid, const GR_Font *pFont)

Private Member Functions

UT_sint32 _makeGOComponentView (void)
UT_sint32 _getNextUID (void)

Private Attributes

UT_sint32 m_CurrentUID
< GOComponentView * > 
< GR_AbiGOComponentItems * > 

Constructor & Destructor Documentation

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

Member Function Documentation

UT_sint32 GR_GOComponentManager::_getNextUID ( void   )  [private]
UT_sint32 GR_GOComponentManager::_makeGOComponentView ( void   )  [private]

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

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

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

Reimplemented from GR_EmbedManager.

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

Reimplemented from GR_EmbedManager.

References GR_GOComponentManager().

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

Reimplemented from GR_EmbedManager.

Referenced by abi_plugin_unregister().

void GR_GOComponentManager::initialize ( void   )  [virtual]

Reimplemented from GR_EmbedManager.

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

Reimplemented from GR_EmbedManager.

bool GR_GOComponentManager::isDefault ( void   )  [virtual]

Reimplemented from GR_EmbedManager.

bool GR_GOComponentManager::isEdittable ( UT_sint32  uid  )  [virtual]
bool GR_GOComponentManager::isResizeable ( UT_sint32  uid  )  [virtual]
virtual void GR_GOComponentManager::loadEmbedData ( UT_sint32  uid  )  [virtual]

Reimplemented from GR_EmbedManager.

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

Reimplemented from GR_EmbedManager.

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

Reimplemented from GR_EmbedManager.

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

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

Reimplemented from GR_EmbedManager.

References GOComponentView::getComponent(), UT_GenericVector< T >::getNthItem(), m_vecGOComponentView, GOComponentView::render(), and UT_return_if_fail.

virtual void GR_GOComponentManager::setColor ( UT_sint32  uid,
UT_RGBColor  c 
) [virtual]
void GR_GOComponentManager::setDefaultFontSize ( UT_sint32  uid,
UT_sint32  iSize 
) [virtual]
bool GR_GOComponentManager::setFont ( UT_sint32  uid,
const GR_Font pFont 
) [virtual]
void GR_GOComponentManager::setRun ( UT_sint32  uid,
fp_Run run 
) [virtual]
void GR_GOComponentManager::updateData ( UT_sint32  uid,
UT_sint32  api 
) [virtual]

Member Data Documentation

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