LibreOffice Module oox (master)  1
Public Member Functions | Public Attributes | List of all members
oox::ole::AxMorphDataModelBase Class Reference

Base class for a Forms 2.0 morph data control. More...

#include <axcontrol.hxx>

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

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)
 
sal_Int16 getFontHeight () const
 Returns the font height in points. More...
 
- Public Member Functions inherited from oox::ole::AxControlModelBase
 AxControlModelBase ()
 
- 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 exportCompObj (BinaryOutputStream &)
 Derived classes export CompObjStream contents. More...
 
virtual ApiControlType getControlType () const =0
 Derived classes return the UNO control type enum value. 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...
 

Detailed Description

Base class for a Forms 2.0 morph data control.

Definition at line 606 of file axcontrol.hxx.

Constructor & Destructor Documentation

oox::ole::AxMorphDataModelBase::AxMorphDataModelBase ( )
explicit

Definition at line 1397 of file axcontrol.cxx.

References mnFlags.

Member Function Documentation

void oox::ole::AxMorphDataModelBase::convertFromProperties ( PropertySet rPropSet,
const ControlConverter rConv 
)
overridevirtual
void oox::ole::AxMorphDataModelBase::convertProperties ( PropertyMap rPropMap,
const ControlConverter rConv 
) const
overridevirtual
void oox::ole::AxMorphDataModelBase::exportBinaryModel ( BinaryOutputStream )
overridevirtual
bool oox::ole::AxMorphDataModelBase::importBinaryModel ( BinaryInputStream rInStrm)
overridevirtual
void oox::ole::AxMorphDataModelBase::importPictureData ( sal_Int32  nPropId,
BinaryInputStream rInStrm 
)
overridevirtual

Derived classes set binary data (picture, mouse icon) at the model structure.

Reimplemented from oox::ole::ControlModelBase.

Definition at line 1443 of file axcontrol.cxx.

References oox::ole::ControlModelBase::importPictureData(), oox::ole::OleHelper::importStdPic(), and maPictureData.

void oox::ole::AxMorphDataModelBase::importProperty ( sal_Int32  nPropId,
const OUString &  rValue 
)
overridevirtual

Member Data Documentation

OUString oox::ole::AxMorphDataModelBase::maCaption
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
OUString oox::ole::AxMorphDataModelBase::maValue
sal_uInt32 oox::ole::AxMorphDataModelBase::mnBackColor
sal_uInt32 oox::ole::AxMorphDataModelBase::mnBorderColor
sal_Int32 oox::ole::AxMorphDataModelBase::mnBorderStyle
sal_Int32 oox::ole::AxMorphDataModelBase::mnDisplayStyle
sal_uInt32 oox::ole::AxMorphDataModelBase::mnFlags
sal_Int32 oox::ole::AxMorphDataModelBase::mnListRows
sal_Int32 oox::ole::AxMorphDataModelBase::mnMatchEntry
sal_Int32 oox::ole::AxMorphDataModelBase::mnMaxLength
sal_Int32 oox::ole::AxMorphDataModelBase::mnMultiSelect
sal_Int32 oox::ole::AxMorphDataModelBase::mnPasswordChar
sal_uInt32 oox::ole::AxMorphDataModelBase::mnPicturePos
sal_Int32 oox::ole::AxMorphDataModelBase::mnScrollBars
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
sal_uInt32 oox::ole::AxMorphDataModelBase::mnTextColor
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().


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