|
LibreOffice Module oox (master) 1
|
Model for a ComCtl progress bar. More...
#include <axcontrol.hxx>
Public Member Functions | |
| ComCtlProgressBarModel (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 | |
| float | mfMin |
| Minimum of the value range. More... | |
| float | mfMax |
| Maximum of the value range. More... | |
| sal_uInt16 | mnVertical |
| 0 = horizontal, 1 = vertical. More... | |
| sal_uInt16 | mnSmooth |
| 0 = progress blocks, 1 = pixel resolution. 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 progress bar.
Definition at line 453 of file axcontrol.hxx.
|
explicit |
Definition at line 791 of file axcontrol.cxx.
References nVersion.
|
overridevirtual |
Derived classes convert all control properties.
Reimplemented from oox::ole::ComCtlModelBase.
Definition at line 805 of file axcontrol.cxx.
References oox::ole::ComCtlModelBase::convertProperties(), oox::getFlag(), mfMax, mfMin, oox::ole::ComCtlModelBase::mnFlags, nBorder, SAL_MAX_INT32, and oox::PropertyMap::setProperty().
|
overridevirtual |
Derived classes return the UNO control type enum value.
Implements oox::ole::ControlModelBase.
Definition at line 800 of file axcontrol.cxx.
References oox::ole::API_CONTROL_PROGRESSBAR.
|
overrideprivatevirtual |
Implements oox::ole::ComCtlModelBase.
Definition at line 816 of file axcontrol.cxx.
References oox::ole::COMCTL_VERSION_60, mfMax, mfMin, mnSmooth, oox::ole::ComCtlModelBase::mnVersion, mnVertical, oox::BinaryInputStream::readFloat(), and oox::BinaryInputStream::readuInt16().
|
private |
Maximum of the value range.
Definition at line 465 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
Minimum of the value range.
Definition at line 464 of file axcontrol.hxx.
Referenced by convertProperties(), and importControlData().
|
private |
0 = progress blocks, 1 = pixel resolution.
Definition at line 467 of file axcontrol.hxx.
Referenced by importControlData().
|
private |
0 = horizontal, 1 = vertical.
Definition at line 466 of file axcontrol.hxx.
Referenced by importControlData().