Public Member Functions | Private Attributes | Friends

GOComponentView Class Reference

#include <AbiGOComponent.h>

List of all members.

Public Member Functions

 GOComponentView (GR_GOComponentManager *pGOMan)
virtual ~GOComponentView (void)
void render (UT_Rect &rec)
void loadBuffer (const UT_ConstByteBufPtr &sGOComponentData, const char *_mime_type)
void setDefaultFontSize (UT_sint32 iSize)
void modify (void)
void update (void)
GOComponent * getComponent (void)
bool IsEdittable ()
bool IsResizable ()
UT_ConstByteBufPtr getSnapShot (std::string &mime_type)
void SetRun (fp_Run *pRun)
bool setFont (const GR_Font *pFont)

Private Attributes

GOComponent * component
std::string mime_type
UT_sint32 width
UT_sint32 ascent
UT_sint32 descent
UT_sint32 pix_width
UT_sint32 pix_height
GdkPixbuf * pixbuf
GdkWindowAttr attributes


class GR_GOComponentManager

Constructor & Destructor Documentation

GOComponentView::GOComponentView ( GR_GOComponentManager pGOMan  ) 
GOComponentView::~GOComponentView ( void   )  [virtual]

References component, and m_Image.

Member Function Documentation

GOComponent* GOComponentView::getComponent ( void   )  [inline]
UT_ConstByteBufPtr GOComponentView::getSnapShot ( std::string &  mime_type  ) 
bool GOComponentView::IsEdittable (  )  [inline]

References component.

Referenced by GR_GOComponentManager::isEdittable().

bool GOComponentView::IsResizable (  )  [inline]
void GOComponentView::loadBuffer ( const UT_ConstByteBufPtr sGOComponentData,
const char *  _mime_type 
void GOComponentView::modify ( void   ) 
void GOComponentView::render ( UT_Rect rec  ) 
void GOComponentView::setDefaultFontSize ( UT_sint32  iSize  ) 
bool GOComponentView::setFont ( const GR_Font pFont  ) 
void GOComponentView::SetRun ( fp_Run pRun  )  [inline]

References m_pRun.

Referenced by GR_GOComponentManager::setRun().

void GOComponentView::update ( void   ) 

Friends And Related Function Documentation

friend class GR_GOComponentManager [friend]

Member Data Documentation

GdkWindowAttr GOComponentView::attributes [private]
GOComponent* GOComponentView::component [private]

Referenced by render().

std::string GOComponentView::mime_type [private]

Referenced by GOComponentView().

Referenced by GOComponentView().

GdkPixbuf* GOComponentView::pixbuf [private]

Referenced by GOComponentView().

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