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

Base class for Forms 2.0 controls supporting text formatting. More...

#include <axcontrol.hxx>

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

Public Member Functions

 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 ()
 
- 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 importPictureData (sal_Int32 nPropId, BinaryInputStream &rInStrm)
 Derived classes set binary data (picture, mouse icon) at the model structure. 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

AxFontData maFontData
 The font settings. More...
 
- Public Attributes inherited from oox::ole::ControlModelBase
AxPairData maSize
 Size of the control in 1/100 mm. More...
 

Private Attributes

bool mbSupportsAlign
 True = UNO model supports Align property. 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 Forms 2.0 controls supporting text formatting.

Definition at line 482 of file axcontrol.hxx.

Constructor & Destructor Documentation

oox::ole::AxFontDataModel::AxFontDataModel ( bool  bSupportsAlign = true)
explicit

Definition at line 856 of file axcontrol.cxx.

Member Function Documentation

void oox::ole::AxFontDataModel::convertFromProperties ( PropertySet rPropSet,
const ControlConverter rConv 
)
overridevirtual
void oox::ole::AxFontDataModel::convertProperties ( PropertyMap rPropMap,
const ControlConverter rConv 
) const
overridevirtual
void oox::ole::AxFontDataModel::exportBinaryModel ( BinaryOutputStream )
overridevirtual
sal_Int16 oox::ole::AxFontDataModel::getFontHeight ( ) const
inline

Returns the font height in points.

Definition at line 494 of file axcontrol.hxx.

Referenced by oox::ole::VbaFormControl::moveEmbeddedToAbsoluteParent().

bool oox::ole::AxFontDataModel::importBinaryModel ( BinaryInputStream rInStrm)
overridevirtual
void oox::ole::AxFontDataModel::importProperty ( sal_Int32  nPropId,
const OUString &  rValue 
)
overridevirtual

Member Data Documentation

AxFontData oox::ole::AxFontDataModel::maFontData
bool oox::ole::AxFontDataModel::mbSupportsAlign
private

True = UNO model supports Align property.

Definition at line 500 of file axcontrol.hxx.

Referenced by convertProperties().


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