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

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

Definition at line 1223 of file axcontrol.cxx.

References mnFlags.

Member Function Documentation

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

Derived classes export CompObjStream contents.

Reimplemented from oox::ole::ControlModelBase.

Definition at line 1305 of file axcontrol.cxx.

References oox::BinaryOutputStream::writeMemory().

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

Derived classes return the UNO control type enum value.

Implements oox::ole::ControlModelBase.

Definition at line 1328 of file axcontrol.cxx.

References oox::ole::API_CONTROL_IMAGE.

bool oox::ole::AxImageModel::importBinaryModel ( BinaryInputStream rInStrm)
overridevirtual
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 1251 of file axcontrol.cxx.

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

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

Member Data Documentation

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

Binary picture stream.

Definition at line 575 of file axcontrol.hxx.

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

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

True = picture is repeated.

Definition at line 583 of file axcontrol.hxx.

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

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

Fill color.

Definition at line 576 of file axcontrol.hxx.

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

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

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

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

Various flags.

Definition at line 577 of file axcontrol.hxx.

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

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

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

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: