LibreOffice Module oox (master)  1
Public Member Functions | Public Attributes | List of all members
oox::ole::AxSpinButtonModel Class Referencefinal

Model for a Forms 2.0 spin button. More...

#include <axcontrol.hxx>

Inheritance diagram for oox::ole::AxSpinButtonModel:
[legend]
Collaboration diagram for oox::ole::AxSpinButtonModel:
[legend]

Public Member Functions

 AxSpinButtonModel ()
 
virtual void importProperty (sal_Int32 nPropId, const OUString &rValue) override
 Derived classes set specific OOXML properties at the model structure. More...
 
virtual bool importBinaryModel (BinaryInputStream &rInStrm) override
 Derived classes import a form control model from the passed input stream. More...
 
virtual void exportBinaryModel (BinaryOutputStream &rOutStrm) override
 Derived classes export a form control model to the passed output stream. More...
 
virtual ApiControlType getControlType () const override
 Derived classes return the UNO control type enum value. More...
 
virtual void convertProperties (PropertyMap &rPropMap, const ControlConverter &rConv) const override
 Derived classes convert all control properties. More...
 
virtual void convertFromProperties (PropertySet &rPropSet, const ControlConverter &rConv) override
 Derived classes convert from uno control properties to equiv. More...
 
virtual void exportCompObj (BinaryOutputStream &rOutStrm) override
 Derived classes export CompObjStream contents. More...
 
- Public Member Functions inherited from oox::ole::AxControlModelBase
 AxControlModelBase ()
 
- 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 importPictureData (sal_Int32 nPropId, BinaryInputStream &rInStrm)
 Derived classes set binary data (picture, mouse icon) at the model structure. More...
 
void convertSize (PropertyMap &rPropMap, const ControlConverter &rConv) const
 Converts the control size to UNO properties. More...
 

Public Attributes

sal_uInt32 mnArrowColor
 Button arrow color. More...
 
sal_uInt32 mnBackColor
 Fill color. More...
 
sal_uInt32 mnFlags
 Various flags. More...
 
sal_Int32 mnOrientation
 Orientation of the buttons. More...
 
sal_Int32 mnMin
 Minimum of the value range. More...
 
sal_Int32 mnMax
 Maximum of the value range. More...
 
sal_Int32 mnPosition
 Value of the spin button. More...
 
sal_Int32 mnSmallChange
 Increment step size. More...
 
sal_Int32 mnDelay
 Repeat delay in milliseconds. More...
 
- Public Attributes inherited from oox::ole::ControlModelBase
AxPairData maSize
 Size of the control in 1/100 mm. More...
 

Additional Inherited Members

- Protected Attributes inherited from oox::ole::ControlModelBase
bool mbAwtModel
 True = AWT control model, false = form component. More...
 

Detailed Description

Model for a Forms 2.0 spin button.

Definition at line 737 of file axcontrol.hxx.

Constructor & Destructor Documentation

oox::ole::AxSpinButtonModel::AxSpinButtonModel ( )
explicit

Definition at line 2074 of file axcontrol.cxx.

References mnFlags, and mnPosition.

Member Function Documentation

void oox::ole::AxSpinButtonModel::convertFromProperties ( PropertySet rPropSet,
const ControlConverter rConv 
)
overridevirtual
void oox::ole::AxSpinButtonModel::convertProperties ( PropertyMap rPropMap,
const ControlConverter rConv 
) const
overridevirtual
void oox::ole::AxSpinButtonModel::exportBinaryModel ( BinaryOutputStream )
overridevirtual
void oox::ole::AxSpinButtonModel::exportCompObj ( BinaryOutputStream )
overridevirtual

Derived classes export CompObjStream contents.

Reimplemented from oox::ole::ControlModelBase.

Definition at line 2189 of file axcontrol.cxx.

References oox::BinaryOutputStream::writeMemory().

ApiControlType oox::ole::AxSpinButtonModel::getControlType ( ) const
overridevirtual

Derived classes return the UNO control type enum value.

Implements oox::ole::ControlModelBase.

Definition at line 2087 of file axcontrol.cxx.

References oox::ole::API_CONTROL_SPINBUTTON.

bool oox::ole::AxSpinButtonModel::importBinaryModel ( BinaryInputStream rInStrm)
overridevirtual
void oox::ole::AxSpinButtonModel::importProperty ( sal_Int32  nPropId,
const OUString &  rValue 
)
overridevirtual

Member Data Documentation

sal_uInt32 oox::ole::AxSpinButtonModel::mnArrowColor
sal_uInt32 oox::ole::AxSpinButtonModel::mnBackColor
sal_Int32 oox::ole::AxSpinButtonModel::mnDelay

Repeat delay in milliseconds.

Definition at line 760 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

sal_uInt32 oox::ole::AxSpinButtonModel::mnFlags
sal_Int32 oox::ole::AxSpinButtonModel::mnMax

Maximum of the value range.

Definition at line 757 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

sal_Int32 oox::ole::AxSpinButtonModel::mnMin

Minimum of the value range.

Definition at line 756 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

sal_Int32 oox::ole::AxSpinButtonModel::mnOrientation

Orientation of the buttons.

Definition at line 755 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

sal_Int32 oox::ole::AxSpinButtonModel::mnPosition

Value of the spin button.

Definition at line 758 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

sal_Int32 oox::ole::AxSpinButtonModel::mnSmallChange

Increment step size.

Definition at line 759 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().


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