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

Model for a Forms 2.0 label. More...

#include <axcontrol.hxx>

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

Public Member Functions

 AxLabelModel ()
 
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::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

OUString maCaption
 Visible caption of the button. More...
 
sal_uInt32 mnTextColor
 Text color. More...
 
sal_uInt32 mnBackColor
 Fill color. More...
 
sal_uInt32 mnFlags
 Various flags. More...
 
sal_uInt32 mnBorderColor
 Flat border color. More...
 
sal_Int32 mnBorderStyle
 Flat border style. More...
 
sal_Int32 mnSpecialEffect
 3D border effect. 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

Model for a Forms 2.0 label.

Definition at line 533 of file axcontrol.hxx.

Constructor & Destructor Documentation

◆ AxLabelModel()

oox::ole::AxLabelModel::AxLabelModel ( )
explicit

Definition at line 1095 of file axcontrol.cxx.

References mnFlags.

Member Function Documentation

◆ convertFromProperties()

void oox::ole::AxLabelModel::convertFromProperties ( PropertySet rPropSet,
const ControlConverter rConv 
)
overridevirtual

◆ convertProperties()

void oox::ole::AxLabelModel::convertProperties ( PropertyMap rPropMap,
const ControlConverter rConv 
) const
overridevirtual

◆ exportBinaryModel()

void oox::ole::AxLabelModel::exportBinaryModel ( BinaryOutputStream )
overridevirtual

◆ exportCompObj()

void oox::ole::AxLabelModel::exportCompObj ( BinaryOutputStream )
overridevirtual

Derived classes export CompObjStream contents.

Reimplemented from oox::ole::ControlModelBase.

Definition at line 1185 of file axcontrol.cxx.

References oox::BinaryOutputStream::writeMemory().

◆ getControlType()

ApiControlType oox::ole::AxLabelModel::getControlType ( ) const
overridevirtual

Derived classes return the UNO control type enum value.

Implements oox::ole::ControlModelBase.

Definition at line 1208 of file axcontrol.cxx.

References oox::ole::API_CONTROL_FIXEDTEXT.

◆ importBinaryModel()

bool oox::ole::AxLabelModel::importBinaryModel ( BinaryInputStream rInStrm)
overridevirtual

◆ importProperty()

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

Member Data Documentation

◆ maCaption

OUString oox::ole::AxLabelModel::maCaption

Visible caption of the button.

Definition at line 548 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

◆ mnBackColor

sal_uInt32 oox::ole::AxLabelModel::mnBackColor

◆ mnBorderColor

sal_uInt32 oox::ole::AxLabelModel::mnBorderColor

Flat border color.

Definition at line 552 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

◆ mnBorderStyle

sal_Int32 oox::ole::AxLabelModel::mnBorderStyle

Flat border style.

Definition at line 553 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

◆ mnFlags

sal_uInt32 oox::ole::AxLabelModel::mnFlags

◆ mnSpecialEffect

sal_Int32 oox::ole::AxLabelModel::mnSpecialEffect

3D border effect.

Definition at line 554 of file axcontrol.hxx.

Referenced by convertFromProperties(), convertProperties(), exportBinaryModel(), importBinaryModel(), and importProperty().

◆ mnTextColor

sal_uInt32 oox::ole::AxLabelModel::mnTextColor

◆ mnVerticalAlign

sal_Int32 oox::ole::AxLabelModel::mnVerticalAlign

Vertical alignment (legacy VML drawing controls only).

Definition at line 555 of file axcontrol.hxx.

Referenced by convertProperties().


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