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

Model for a ComCtl scroll bar. More...

#include <axcontrol.hxx>

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

Public Member Functions

 ComCtlScrollBarModel (sal_uInt16 nVersion)
 
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...
 
- Public Member Functions inherited from oox::ole::ComCtlModelBase
 ComCtlModelBase (sal_uInt32 nDataPartId5, sal_uInt32 nDataPartId6, sal_uInt16 nVersion)
 
virtual bool importBinaryModel (BinaryInputStream &rInStrm) override
 Derived classes import a form control model from the passed input stream. 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 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 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...
 

Private Member Functions

virtual void importControlData (BinaryInputStream &rInStrm) override
 

Private Attributes

sal_uInt32 mnScrollBarFlags
 Special flags for scroll bar model. More...
 
sal_Int32 mnLargeChange
 Increment step size (thumb). More...
 
sal_Int32 mnSmallChange
 Increment step size (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...
 

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::ComCtlModelBase
StdFontInfo maFontData
 Font formatting. More...
 
StreamDataSequence maMouseIcon
 Binary picture stream for mouse icon. More...
 
sal_uInt32 mnFlags
 Common flags for ComCtl controls. More...
 
const sal_uInt16 mnVersion
 Current version of the ComCtl control model. More...
 
- Protected Attributes inherited from oox::ole::ControlModelBase
bool mbAwtModel
 True = AWT control model, false = form component. More...
 

Detailed Description

Model for a ComCtl scroll bar.

Definition at line 432 of file axcontrol.hxx.

Constructor & Destructor Documentation

oox::ole::ComCtlScrollBarModel::ComCtlScrollBarModel ( sal_uInt16  nVersion)
explicit

Definition at line 763 of file axcontrol.cxx.

References mnPosition, and SAL_MAX_UINT32.

Member Function Documentation

void oox::ole::ComCtlScrollBarModel::convertProperties ( PropertyMap rPropMap,
const ControlConverter rConv 
) const
overridevirtual
ApiControlType oox::ole::ComCtlScrollBarModel::getControlType ( ) const
overridevirtual

Derived classes return the UNO control type enum value.

Implements oox::ole::ControlModelBase.

Definition at line 774 of file axcontrol.cxx.

References oox::ole::API_CONTROL_SCROLLBAR.

void oox::ole::ComCtlScrollBarModel::importControlData ( BinaryInputStream rInStrm)
overrideprivatevirtual

Member Data Documentation

sal_Int32 oox::ole::ComCtlScrollBarModel::mnLargeChange
private

Increment step size (thumb).

Definition at line 444 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

sal_Int32 oox::ole::ComCtlScrollBarModel::mnMax
private

Maximum of the value range.

Definition at line 447 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

sal_Int32 oox::ole::ComCtlScrollBarModel::mnMin
private

Minimum of the value range.

Definition at line 446 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

sal_Int32 oox::ole::ComCtlScrollBarModel::mnPosition
private

Value of the spin button.

Definition at line 448 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

sal_uInt32 oox::ole::ComCtlScrollBarModel::mnScrollBarFlags
private

Special flags for scroll bar model.

Definition at line 443 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

sal_Int32 oox::ole::ComCtlScrollBarModel::mnSmallChange
private

Increment step size (buttons).

Definition at line 445 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().


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