LibreOffice Module oox (master) 1
|
Model for a Forms 2.0 scroll bar. More...
#include <axcontrol.hxx>
Public Member Functions | |
AxScrollBarModel () | |
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 void | exportCompObj (BinaryOutputStream &rOutStrm) override |
Derived classes export CompObjStream contents. 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... | |
Public Member Functions inherited from oox::ole::AxControlModelBase | |
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... | |
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 | mnPropThumb |
Proportional thumb size. 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 (buttons). More... | |
sal_Int32 | mnLargeChange |
Increment step size (thumb). 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... | |
Model for a Forms 2.0 scroll bar.
Definition at line 765 of file axcontrol.hxx.
|
explicit |
Definition at line 2210 of file axcontrol.cxx.
References mnFlags, and mnPosition.
|
overridevirtual |
Derived classes convert from uno control properties to equiv.
MS values.
Reimplemented from oox::ole::ControlModelBase.
Definition at line 2342 of file axcontrol.cxx.
References oox::ole::AX_FLAGS_ENABLED, oox::ole::ControlConverter::convertToAxOrientation(), oox::ole::ControlConverter::convertToMSColor(), oox::PropertySet::getProperty(), oox::ole::ControlModelBase::mbAwtModel, mnArrowColor, mnBackColor, mnDelay, mnFlags, mnLargeChange, mnMax, mnMin, mnOrientation, mnPosition, mnPropThumb, mnSmallChange, PROP_SymbolColor, and oox::setFlag().
|
overridevirtual |
Derived classes convert all control properties.
Reimplemented from oox::ole::ControlModelBase.
Definition at line 2323 of file axcontrol.cxx.
References oox::ole::AX_FLAGS_ENABLED, oox::ole::ControlConverter::convertAxBackground(), oox::ole::ControlConverter::convertAxOrientation(), oox::ole::ControlConverter::convertColor(), oox::ole::ControlModelBase::convertProperties(), oox::ole::ControlConverter::convertScrollBar(), oox::getFlag(), oox::ole::ControlModelBase::maSize, oox::ole::ControlModelBase::mbAwtModel, mnArrowColor, mnBackColor, mnDelay, mnFlags, mnLargeChange, mnMax, mnMin, mnOrientation, mnPosition, mnPropThumb, mnSmallChange, oox::ole::NotSupported, PROP_SymbolColor, SAL_MAX_INT32, and oox::PropertyMap::setProperty().
|
overridevirtual |
Derived classes export a form control model to the passed output stream.
Reimplemented from oox::ole::ControlModelBase.
Definition at line 2272 of file axcontrol.cxx.
References oox::ole::AxBinaryPropertyWriter::finalizeExport(), oox::ole::ControlModelBase::maSize, mnArrowColor, mnBackColor, mnDelay, mnFlags, mnLargeChange, mnMax, mnMin, mnOrientation, mnPosition, mnPropThumb, mnSmallChange, oox::ole::AxBinaryPropertyWriter::skipProperty(), oox::ole::AxBinaryPropertyWriter::writeIntProperty(), and oox::ole::AxBinaryPropertyWriter::writePairProperty().
|
overridevirtual |
Derived classes export CompObjStream contents.
Reimplemented from oox::ole::ControlModelBase.
Definition at line 2298 of file axcontrol.cxx.
References oox::BinaryOutputStream::writeMemory().
|
overridevirtual |
Derived classes return the UNO control type enum value.
Implements oox::ole::ControlModelBase.
Definition at line 2225 of file axcontrol.cxx.
References oox::ole::API_CONTROL_SCROLLBAR.
|
overridevirtual |
Derived classes import a form control model from the passed input stream.
Implements oox::ole::ControlModelBase.
Definition at line 2249 of file axcontrol.cxx.
References oox::ole::AxBinaryPropertyReader::finalizeImport(), oox::ole::ControlModelBase::maSize, mnArrowColor, mnBackColor, mnDelay, mnFlags, mnLargeChange, mnMax, mnMin, mnOrientation, mnPosition, mnPropThumb, mnSmallChange, oox::ole::AxBinaryPropertyReader::readIntProperty(), oox::ole::AxBinaryPropertyReader::readPairProperty(), oox::ole::AxBinaryPropertyReader::skipIntProperty(), and oox::ole::AxBinaryPropertyReader::skipPictureProperty().
|
overridevirtual |
Derived classes set specific OOXML properties at the model structure.
Reimplemented from oox::ole::AxControlModelBase.
Definition at line 2230 of file axcontrol.cxx.
References oox::AttributeConversion::decodeInteger(), oox::AttributeConversion::decodeUnsigned(), oox::ole::AxControlModelBase::importProperty(), mnArrowColor, mnBackColor, mnDelay, mnFlags, mnLargeChange, mnMax, mnMin, mnOrientation, mnPosition, mnPropThumb, and mnSmallChange.
sal_uInt32 oox::ole::AxScrollBarModel::mnArrowColor |
Button arrow color.
Definition at line 780 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxScrollBarModel::mnBackColor |
Fill color.
Definition at line 781 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnDelay |
Repeat delay in milliseconds.
Definition at line 790 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxScrollBarModel::mnFlags |
Various flags.
Definition at line 782 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnLargeChange |
Increment step size (thumb).
Definition at line 789 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnMax |
Maximum of the value range.
Definition at line 786 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnMin |
Minimum of the value range.
Definition at line 785 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnOrientation |
Orientation of the buttons.
Definition at line 783 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnPosition |
Value of the spin button.
Definition at line 787 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnPropThumb |
Proportional thumb size.
Definition at line 784 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxScrollBarModel::mnSmallChange |
Increment step size (buttons).
Definition at line 788 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().