|
LibreOffice Module oox (master) 1
|
Model for a ComCtl scroll bar. More...
#include <axcontrol.hxx>
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... | |
| virtual void | convertProperties (PropertyMap &rPropMap, const ControlConverter &rConv) const override |
| Derived classes convert all control properties. 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... | |
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... | |
| virtual void | importControlData (BinaryInputStream &rInStrm)=0 |
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... | |
Model for a ComCtl scroll bar.
Definition at line 432 of file axcontrol.hxx.
|
explicit |
Definition at line 757 of file axcontrol.cxx.
References mnPosition, nVersion, and SAL_MAX_UINT32.
|
overridevirtual |
Derived classes convert all control properties.
Reimplemented from oox::ole::ComCtlModelBase.
Definition at line 773 of file axcontrol.cxx.
References oox::ole::ControlConverter::convertOrientation(), oox::ole::ComCtlModelBase::convertProperties(), oox::ole::ControlConverter::convertScrollBar(), oox::getFlag(), oox::ole::ControlModelBase::mbAwtModel, mnLargeChange, mnMax, mnMin, mnPosition, mnScrollBarFlags, mnSmallChange, and oox::PropertyMap::setProperty().
|
overridevirtual |
Derived classes return the UNO control type enum value.
Implements oox::ole::ControlModelBase.
Definition at line 768 of file axcontrol.cxx.
References oox::ole::API_CONTROL_SCROLLBAR.
|
overrideprivatevirtual |
Implements oox::ole::ComCtlModelBase.
Definition at line 781 of file axcontrol.cxx.
References mnLargeChange, mnMax, mnMin, mnPosition, mnScrollBarFlags, mnSmallChange, oox::BinaryInputStream::readInt32(), and oox::BinaryInputStream::readuInt32().
|
private |
Increment step size (thumb).
Definition at line 444 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
Maximum of the value range.
Definition at line 447 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
Minimum of the value range.
Definition at line 446 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
Value of the spin button.
Definition at line 448 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
Special flags for scroll bar model.
Definition at line 443 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
Increment step size (buttons).
Definition at line 445 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().