LibreOffice Module oox (master) 1
|
Base class for a Forms 2.0 morph data control. More...
#include <axcontrol.hxx>
Public Member Functions | |
AxMorphDataModelBase () | |
virtual void | importProperty (sal_Int32 nPropId, const OUString &rValue) override |
Derived classes set specific OOXML properties at the model structure. More... | |
virtual void | importPictureData (sal_Int32 nPropId, BinaryInputStream &rInStrm) override |
Derived classes set binary data (picture, mouse icon) 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 | 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::AxFontDataModel | |
AxFontDataModel (bool bSupportsAlign=true) | |
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 | 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... | |
sal_Int16 | getFontHeight () const |
Returns the font height in points. 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 | |
StreamDataSequence | maPictureData |
Binary picture stream. More... | |
OUString | maCaption |
Visible caption of the button. More... | |
OUString | maValue |
Current value of the control. More... | |
OUString | maGroupName |
Group name for option buttons. More... | |
sal_uInt32 | mnTextColor |
Text color. More... | |
sal_uInt32 | mnBackColor |
Fill color. More... | |
sal_uInt32 | mnFlags |
Various flags. More... | |
sal_uInt32 | mnPicturePos |
Position of the picture relative to text. More... | |
sal_uInt32 | mnBorderColor |
Flat border color. More... | |
sal_Int32 | mnBorderStyle |
Flat border style. More... | |
sal_Int32 | mnSpecialEffect |
3D border effect. More... | |
sal_Int32 | mnDisplayStyle |
Type of the morph control. More... | |
sal_Int32 | mnMultiSelect |
Selection mode. More... | |
sal_Int32 | mnScrollBars |
Horizontal/vertical scroll bar. More... | |
sal_Int32 | mnMatchEntry |
Auto completion mode. More... | |
sal_Int32 | mnShowDropButton |
When to show the dropdown button. More... | |
sal_Int32 | mnMaxLength |
Maximum character count. More... | |
sal_Int32 | mnPasswordChar |
Password character in edit fields. More... | |
sal_Int32 | mnListRows |
Number of rows in dropdown box. More... | |
sal_Int32 | mnVerticalAlign |
Vertical alignment (legacy VML drawing controls only). More... | |
Public Attributes inherited from oox::ole::AxFontDataModel | |
AxFontData | maFontData |
The font settings. 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... | |
Base class for a Forms 2.0 morph data control.
Definition at line 606 of file axcontrol.hxx.
|
explicit |
Definition at line 1391 of file axcontrol.cxx.
References mnFlags.
|
overridevirtual |
Derived classes convert from uno control properties to equiv.
MS values.
Reimplemented from oox::ole::AxFontDataModel.
Reimplemented in oox::ole::AxToggleButtonModel, oox::ole::AxCheckBoxModel, oox::ole::AxOptionButtonModel, oox::ole::AxTextBoxModel, oox::ole::AxNumericFieldModel, oox::ole::AxListBoxModel, and oox::ole::AxComboBoxModel.
Definition at line 1578 of file axcontrol.cxx.
References oox::ole::AX_DISPLAYSTYLE_OPTBUTTON, oox::ole::AxFontDataModel::convertFromProperties(), oox::PropertySet::getProperty(), maGroupName, and mnDisplayStyle.
Referenced by oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxListBoxModel::convertFromProperties(), and oox::ole::AxComboBoxModel::convertFromProperties().
|
overridevirtual |
Derived classes convert all control properties.
Reimplemented from oox::ole::AxFontDataModel.
Reimplemented in oox::ole::AxToggleButtonModel, oox::ole::AxCheckBoxModel, oox::ole::AxOptionButtonModel, oox::ole::AxTextBoxModel, oox::ole::AxNumericFieldModel, oox::ole::AxListBoxModel, oox::ole::AxComboBoxModel, and oox::ole::HtmlSelectModel.
Definition at line 1564 of file axcontrol.cxx.
References oox::ole::AX_DISPLAYSTYLE_OPTBUTTON, oox::ole::AX_FLAGS_ENABLED, oox::ole::ControlConverter::convertColor(), oox::ole::AxFontDataModel::convertProperties(), oox::getFlag(), maGroupName, mnDisplayStyle, mnFlags, mnTextColor, PROP_TextColor, and oox::PropertyMap::setProperty().
Referenced by oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), and oox::ole::AxComboBoxModel::convertProperties().
|
overridevirtual |
Derived classes export a form control model to the passed output stream.
Reimplemented from oox::ole::AxFontDataModel.
Definition at line 1485 of file axcontrol.cxx.
References oox::ole::AX_BORDERSTYLE_NONE, oox::ole::AX_DISPLAYSTYLE_CHECKBOX, oox::ole::AX_DISPLAYSTYLE_COMBOBOX, oox::ole::AX_DISPLAYSTYLE_LISTBOX, oox::ole::AX_DISPLAYSTYLE_OPTBUTTON, oox::ole::AX_DISPLAYSTYLE_TEXT, oox::ole::AX_DISPLAYSTYLE_TOGGLE, oox::ole::AX_SCROLLBAR_NONE, oox::ole::AX_SELECTION_SINGLE, oox::ole::AX_SPECIALEFFECT_SUNKEN, oox::ole::AX_SYSCOLOR_WINDOWFRAME, oox::ole::AxFontDataModel::exportBinaryModel(), oox::ole::AxBinaryPropertyWriter::finalizeExport(), maCaption, maGroupName, oox::ole::ControlModelBase::maSize, maValue, mnBackColor, mnBorderColor, mnBorderStyle, mnDisplayStyle, mnFlags, mnMaxLength, mnMultiSelect, mnPasswordChar, mnScrollBars, mnSpecialEffect, mnTextColor, oox::ole::AxBinaryPropertyWriter::skipProperty(), oox::ole::AxBinaryPropertyWriter::writeBoolProperty(), oox::ole::AxBinaryPropertyWriter::writeIntProperty(), oox::ole::AxBinaryPropertyWriter::writePairProperty(), and oox::ole::AxBinaryPropertyWriter::writeStringProperty().
|
overridevirtual |
Derived classes import a form control model from the passed input stream.
Reimplemented from oox::ole::AxFontDataModel.
Reimplemented in oox::ole::HtmlSelectModel, and oox::ole::HtmlTextBoxModel.
Definition at line 1446 of file axcontrol.cxx.
References oox::ole::AxBinaryPropertyReader::finalizeImport(), oox::ole::AxFontDataModel::importBinaryModel(), maCaption, maGroupName, maPictureData, oox::ole::ControlModelBase::maSize, maValue, mnBackColor, mnBorderColor, mnBorderStyle, mnDisplayStyle, mnFlags, mnListRows, mnMatchEntry, mnMaxLength, mnMultiSelect, mnPasswordChar, mnPicturePos, mnScrollBars, mnShowDropButton, mnSpecialEffect, mnTextColor, oox::ole::AxBinaryPropertyReader::readIntProperty(), oox::ole::AxBinaryPropertyReader::readPairProperty(), oox::ole::AxBinaryPropertyReader::readPictureProperty(), oox::ole::AxBinaryPropertyReader::readStringProperty(), oox::ole::AxBinaryPropertyReader::skipBoolProperty(), oox::ole::AxBinaryPropertyReader::skipIntProperty(), oox::ole::AxBinaryPropertyReader::skipPictureProperty(), and oox::ole::AxBinaryPropertyReader::skipUndefinedProperty().
|
overridevirtual |
Derived classes set binary data (picture, mouse icon) at the model structure.
Reimplemented from oox::ole::ControlModelBase.
Definition at line 1437 of file axcontrol.cxx.
References oox::ole::ControlModelBase::importPictureData(), oox::ole::OleHelper::importStdPic(), and maPictureData.
|
overridevirtual |
Derived classes set specific OOXML properties at the model structure.
Reimplemented from oox::ole::AxFontDataModel.
Definition at line 1411 of file axcontrol.cxx.
References oox::AttributeConversion::decodeInteger(), oox::AttributeConversion::decodeUnsigned(), oox::ole::AxFontDataModel::importProperty(), maCaption, maGroupName, maValue, mnBackColor, mnBorderColor, mnBorderStyle, mnDisplayStyle, mnFlags, mnListRows, mnMatchEntry, mnMaxLength, mnMultiSelect, mnPasswordChar, mnPicturePos, mnScrollBars, mnShowDropButton, mnSpecialEffect, and mnTextColor.
OUString oox::ole::AxMorphDataModelBase::maCaption |
Visible caption of the button.
Definition at line 620 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
OUString oox::ole::AxMorphDataModelBase::maGroupName |
Group name for option buttons.
Definition at line 622 of file axcontrol.hxx.
Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
StreamDataSequence oox::ole::AxMorphDataModelBase::maPictureData |
Binary picture stream.
Definition at line 619 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), importBinaryModel(), and importPictureData().
OUString oox::ole::AxMorphDataModelBase::maValue |
Current value of the control.
Definition at line 621 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxMorphDataModelBase::mnBackColor |
Fill color.
Definition at line 624 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxListBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxMorphDataModelBase::mnBorderColor |
Flat border color.
Definition at line 627 of file axcontrol.hxx.
Referenced by oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxListBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnBorderStyle |
Flat border style.
Definition at line 628 of file axcontrol.hxx.
Referenced by oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxListBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnDisplayStyle |
Type of the morph control.
Definition at line 630 of file axcontrol.hxx.
Referenced by oox::ole::AxCheckBoxModel::AxCheckBoxModel(), oox::ole::AxComboBoxModel::AxComboBoxModel(), oox::ole::AxListBoxModel::AxListBoxModel(), oox::ole::AxNumericFieldModel::AxNumericFieldModel(), oox::ole::AxOptionButtonModel::AxOptionButtonModel(), oox::ole::AxTextBoxModel::AxTextBoxModel(), oox::ole::AxToggleButtonModel::AxToggleButtonModel(), convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), oox::ole::AxToggleButtonModel::getControlType(), oox::ole::AxCheckBoxModel::getControlType(), oox::ole::AxOptionButtonModel::getControlType(), oox::ole::AxTextBoxModel::getControlType(), oox::ole::AxNumericFieldModel::getControlType(), oox::ole::AxListBoxModel::getControlType(), oox::ole::AxComboBoxModel::getControlType(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxMorphDataModelBase::mnFlags |
Various flags.
Definition at line 625 of file axcontrol.hxx.
Referenced by oox::ole::AxComboBoxModel::AxComboBoxModel(), oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), convertProperties(), oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnListRows |
Number of rows in dropdown box.
Definition at line 637 of file axcontrol.hxx.
Referenced by oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertProperties(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnMatchEntry |
Auto completion mode.
Definition at line 633 of file axcontrol.hxx.
Referenced by oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertProperties(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnMaxLength |
Maximum character count.
Definition at line 635 of file axcontrol.hxx.
Referenced by oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnMultiSelect |
Selection mode.
Definition at line 631 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), oox::ole::HtmlSelectModel::importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnPasswordChar |
Password character in edit fields.
Definition at line 636 of file axcontrol.hxx.
Referenced by oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxMorphDataModelBase::mnPicturePos |
Position of the picture relative to text.
Definition at line 626 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnScrollBars |
Horizontal/vertical scroll bar.
Definition at line 632 of file axcontrol.hxx.
Referenced by oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnShowDropButton |
When to show the dropdown button.
Definition at line 634 of file axcontrol.hxx.
Referenced by oox::ole::AxComboBoxModel::convertProperties(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnSpecialEffect |
3D border effect.
Definition at line 629 of file axcontrol.hxx.
Referenced by oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxListBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertProperties(), oox::ole::AxOptionButtonModel::convertProperties(), oox::ole::AxTextBoxModel::convertProperties(), oox::ole::AxNumericFieldModel::convertProperties(), oox::ole::AxListBoxModel::convertProperties(), oox::ole::AxComboBoxModel::convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_uInt32 oox::ole::AxMorphDataModelBase::mnTextColor |
Text color.
Definition at line 623 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertFromProperties(), oox::ole::AxCheckBoxModel::convertFromProperties(), oox::ole::AxOptionButtonModel::convertFromProperties(), oox::ole::AxTextBoxModel::convertFromProperties(), oox::ole::AxNumericFieldModel::convertFromProperties(), oox::ole::AxListBoxModel::convertFromProperties(), oox::ole::AxComboBoxModel::convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().
sal_Int32 oox::ole::AxMorphDataModelBase::mnVerticalAlign |
Vertical alignment (legacy VML drawing controls only).
Definition at line 638 of file axcontrol.hxx.
Referenced by oox::ole::AxToggleButtonModel::convertProperties(), oox::ole::AxCheckBoxModel::convertProperties(), and oox::ole::AxOptionButtonModel::convertProperties().