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

Model for a Forms 2.0 image. More...

#include <axcontrol.hxx>

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

Public Member Functions

 AxImageModel ()
 
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 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...
 
- 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...
 

Private Attributes

StreamDataSequence maPictureData
 Binary picture stream. 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 mnPicSizeMode
 Clip, stretch, zoom. More...
 
sal_Int32 mnPicAlign
 Anchor position of the picture. More...
 
bool mbPicTiling
 True = picture is repeated. More...
 

Additional Inherited Members

- Public Attributes inherited from oox::ole::ControlModelBase
AxPairData maSize
 Size of the control in 1/100 mm. More...
 
- 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 image.

Definition at line 560 of file axcontrol.hxx.

Constructor & Destructor Documentation

◆ AxImageModel()

oox::ole::AxImageModel::AxImageModel ( )
explicit

Definition at line 1225 of file axcontrol.cxx.

References mnFlags.

Member Function Documentation

◆ convertProperties()

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

◆ exportBinaryModel()

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

◆ exportCompObj()

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

Derived classes export CompObjStream contents.

Reimplemented from oox::ole::ControlModelBase.

Definition at line 1307 of file axcontrol.cxx.

References oox::BinaryOutputStream::writeMemory().

◆ getControlType()

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

Derived classes return the UNO control type enum value.

Implements oox::ole::ControlModelBase.

Definition at line 1330 of file axcontrol.cxx.

References oox::ole::API_CONTROL_IMAGE.

◆ importBinaryModel()

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

◆ importPictureData()

void oox::ole::AxImageModel::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 1253 of file axcontrol.cxx.

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

◆ importProperty()

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

Member Data Documentation

◆ maPictureData

StreamDataSequence oox::ole::AxImageModel::maPictureData
private

Binary picture stream.

Definition at line 575 of file axcontrol.hxx.

Referenced by convertProperties(), importBinaryModel(), and importPictureData().

◆ mbPicTiling

bool oox::ole::AxImageModel::mbPicTiling
private

True = picture is repeated.

Definition at line 583 of file axcontrol.hxx.

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

◆ mnBackColor

sal_uInt32 oox::ole::AxImageModel::mnBackColor
private

Fill color.

Definition at line 576 of file axcontrol.hxx.

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

◆ mnBorderColor

sal_uInt32 oox::ole::AxImageModel::mnBorderColor
private

Flat border color.

Definition at line 578 of file axcontrol.hxx.

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

◆ mnBorderStyle

sal_Int32 oox::ole::AxImageModel::mnBorderStyle
private

Flat border style.

Definition at line 579 of file axcontrol.hxx.

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

◆ mnFlags

sal_uInt32 oox::ole::AxImageModel::mnFlags
private

Various flags.

Definition at line 577 of file axcontrol.hxx.

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

◆ mnPicAlign

sal_Int32 oox::ole::AxImageModel::mnPicAlign
private

Anchor position of the picture.

Definition at line 582 of file axcontrol.hxx.

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

◆ mnPicSizeMode

sal_Int32 oox::ole::AxImageModel::mnPicSizeMode
private

Clip, stretch, zoom.

Definition at line 581 of file axcontrol.hxx.

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

◆ mnSpecialEffect

sal_Int32 oox::ole::AxImageModel::mnSpecialEffect
private

3D border effect.

Definition at line 580 of file axcontrol.hxx.

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


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