LibreOffice Module oox (master) 1
|
Base class for all models of Form 2.0 form controls. More...
#include <axcontrol.hxx>
Public Member Functions | |
AxControlModelBase () | |
virtual void | importProperty (sal_Int32 nPropId, const OUString &rValue) override |
Derived classes set specific OOXML properties at the model structure. More... | |
Public Member Functions inherited from oox::ole::ControlModelBase | |
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... | |
Additional Inherited Members | |
Public Attributes inherited from oox::ole::ControlModelBase | |
AxPairData | maSize |
Size of the control in 1/100 mm. More... | |
Protected Attributes inherited from oox::ole::ControlModelBase | |
bool | mbAwtModel |
True = AWT control model, false = form component. More... | |
Base class for all models of Form 2.0 form controls.
Definition at line 472 of file axcontrol.hxx.
|
explicit |
Definition at line 827 of file axcontrol.cxx.
|
overridevirtual |
Derived classes set specific OOXML properties at the model structure.
Reimplemented from oox::ole::ControlModelBase.
Reimplemented in oox::ole::AxFontDataModel, oox::ole::AxCommandButtonModel, oox::ole::AxLabelModel, oox::ole::AxImageModel, oox::ole::AxMorphDataModelBase, oox::ole::AxSpinButtonModel, oox::ole::AxScrollBarModel, and oox::ole::AxContainerModelBase.
Definition at line 831 of file axcontrol.cxx.
References oox::ole::ControlModelBase::maSize, and o3tl::toInt32().
Referenced by oox::ole::AxFontDataModel::importProperty(), oox::ole::AxImageModel::importProperty(), oox::ole::AxSpinButtonModel::importProperty(), and oox::ole::AxScrollBarModel::importProperty().