LibreOffice Module oox (master)  1
Public Member Functions | Public Attributes | Protected Attributes | List of all members
oox::ole::ControlModelBase Class Referenceabstract

Base class for all models of form controls. More...

#include <axcontrol.hxx>

Inheritance diagram for oox::ole::ControlModelBase:

Public Member Functions

 ControlModelBase ()
virtual ~ControlModelBase ()
void setAwtModelMode ()
 Sets this control model to AWT model mode. More...
void setFormComponentMode ()
 Sets this control model to form component mode. More...
OUString getServiceName () const
 Returns the UNO service name used to construct the AWT control model, or the control form component. More...
virtual void importProperty (sal_Int32 nPropId, const OUString &rValue)
 Derived classes set specific OOXML properties at the model structure. More...
virtual void importPictureData (sal_Int32 nPropId, BinaryInputStream &rInStrm)
 Derived classes set binary data (picture, mouse icon) at the model structure. More...
virtual bool importBinaryModel (BinaryInputStream &rInStrm)=0
 Derived classes import a form control model from the passed input stream. More...
virtual void exportBinaryModel (BinaryOutputStream &)
 Derived classes export a form control model to the passed output stream. More...
virtual void exportCompObj (BinaryOutputStream &)
 Derived classes export CompObjStream contents. More...
virtual ApiControlType getControlType () const =0
 Derived classes return the UNO control type enum value. More...
virtual void convertProperties (PropertyMap &rPropMap, const ControlConverter &rConv) const
 Derived classes convert all control properties. More...
virtual void convertFromProperties (PropertySet &rPropSet, const ControlConverter &rConv)
 Derived classes convert from uno control properties to equiv. More...
void convertSize (PropertyMap &rPropMap, const ControlConverter &rConv) const
 Converts the control size to UNO properties. More...

Public Attributes

AxPairData maSize
 Size of the control in 1/100 mm. More...

Protected Attributes

bool mbAwtModel
 True = AWT control model, false = form component. More...

Detailed Description

Base class for all models of form controls.

Definition at line 346 of file axcontrol.hxx.

Constructor & Destructor Documentation

oox::ole::ControlModelBase::ControlModelBase ( )

Definition at line 587 of file axcontrol.cxx.

References maSize.

oox::ole::ControlModelBase::~ControlModelBase ( )

Definition at line 593 of file axcontrol.cxx.

Member Function Documentation

void oox::ole::ControlModelBase::convertFromProperties ( PropertySet rPropSet,
const ControlConverter rConv 
void oox::ole::ControlModelBase::convertProperties ( PropertyMap rPropMap,
const ControlConverter rConv 
) const
void oox::ole::ControlModelBase::convertSize ( PropertyMap rPropMap,
const ControlConverter rConv 
) const

Converts the control size to UNO properties.

Definition at line 656 of file axcontrol.cxx.

References oox::ole::ControlConverter::convertSize(), and maSize.

virtual void oox::ole::ControlModelBase::exportBinaryModel ( BinaryOutputStream )
virtual void oox::ole::ControlModelBase::exportCompObj ( BinaryOutputStream )
virtual ApiControlType oox::ole::ControlModelBase::getControlType ( ) const
pure virtual
OUString oox::ole::ControlModelBase::getServiceName ( ) const
virtual bool oox::ole::ControlModelBase::importBinaryModel ( BinaryInputStream rInStrm)
pure virtual
void oox::ole::ControlModelBase::importPictureData ( sal_Int32  nPropId,
BinaryInputStream rInStrm 
void oox::ole::ControlModelBase::importProperty ( sal_Int32  nPropId,
const OUString &  rValue 
void oox::ole::ControlModelBase::setAwtModelMode ( )

Sets this control model to AWT model mode.

Definition at line 353 of file axcontrol.hxx.

Referenced by oox::ole::AxContainerModelBase::AxContainerModelBase().

void oox::ole::ControlModelBase::setFormComponentMode ( )

Sets this control model to form component mode.

Definition at line 355 of file axcontrol.hxx.

Member Data Documentation

AxPairData oox::ole::ControlModelBase::maSize
bool oox::ole::ControlModelBase::mbAwtModel

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