Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions

GR_ControlFactory Class Reference

#include <gr_Control.h>

List of all members.

Public Member Functions

virtual ~GR_ControlFactory ()
virtual UT_Error newControlForMimeType (AV_View *pControllingView, XAP_Frame *pOwningFrame, const char *pszMime, GR_Control **pCtlOut)=0
virtual UT_Error newControlForExtension (AV_View *pControllingView, XAP_Frame *pOwningFrame, const char *pszExt, GR_Control **pCtlOut)=0
virtual UT_Error newControlForData (AV_View *pControllingView, XAP_Frame *pOwningFrame, const UT_Byte *pData, UT_uint32 dataLen, GR_Control **pCtlOut)=0
UT_Error newControlForData (AV_View *pControllingView, XAP_Frame *pOwningFrame, const UT_Bytebuf *pData, GR_Control **pCtlOut)

Static Public Member Functions

static GR_ControlFactoryinstance ()

Protected Member Functions

 GR_ControlFactory ()

Private Member Functions

void operator delete (GR_ControlFactory *)
 GR_ControlFactory (const GR_ControlFactory &)
GR_ControlFactoryoperator= (const GR_ControlFactory &)

Detailed Description

GR_ControlFactory - the base class for OLE/Bonobo based embeddable controls


Constructor & Destructor Documentation

virtual GR_ControlFactory::~GR_ControlFactory (  )  [inline, virtual]

Virtual public base d'tor

GR_ControlFactory::GR_ControlFactory (  )  [inline, protected]

Abstract base constructor for all control factories

GR_ControlFactory::GR_ControlFactory ( const GR_ControlFactory  )  [private]

Member Function Documentation

static GR_ControlFactory* GR_ControlFactory::instance (  )  [static]

Get the current instance of this control factory

virtual UT_Error GR_ControlFactory::newControlForData ( AV_View pControllingView,
XAP_Frame pOwningFrame,
const UT_Byte pData,
UT_uint32  dataLen,
GR_Control **  pCtlOut 
) [pure virtual]

Create a new control that can handle objects of this data type NB: does *not* necessarily populate the control with your data

UT_Error GR_ControlFactory::newControlForData ( AV_View pControllingView,
XAP_Frame pOwningFrame,
const UT_Bytebuf *  pData,
GR_Control **  pCtlOut 
) [inline]

Create a new control that can handle objects of this data type NB: does *not* necessarily populate the control with your data

virtual UT_Error GR_ControlFactory::newControlForExtension ( AV_View pControllingView,
XAP_Frame pOwningFrame,
const char *  pszExt,
GR_Control **  pCtlOut 
) [pure virtual]

Create a new control to handle objects with this extension

virtual UT_Error GR_ControlFactory::newControlForMimeType ( AV_View pControllingView,
XAP_Frame pOwningFrame,
const char *  pszMime,
GR_Control **  pCtlOut 
) [pure virtual]

Create a new control to handle objects of this mime-type

void GR_ControlFactory::operator delete ( GR_ControlFactory  )  [private]
GR_ControlFactory& GR_ControlFactory::operator= ( const GR_ControlFactory  )  [private]

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