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

Model for a ComCtl progress bar. More...

#include <axcontrol.hxx>

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

Public Member Functions

 ComCtlProgressBarModel (sal_uInt16 nVersion)
 
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::ComCtlModelBase
 ComCtlModelBase (sal_uInt32 nDataPartId5, sal_uInt32 nDataPartId6, sal_uInt16 nVersion)
 
virtual bool importBinaryModel (BinaryInputStream &rInStrm) override
 Derived classes import a form control model from the passed input stream. 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 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 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 Member Functions

virtual void importControlData (BinaryInputStream &rInStrm) override
 

Private Attributes

float mfMin
 Minimum of the value range. More...
 
float mfMax
 Maximum of the value range. More...
 
sal_uInt16 mnVertical
 0 = horizontal, 1 = vertical. More...
 
sal_uInt16 mnSmooth
 0 = progress blocks, 1 = pixel resolution. 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::ComCtlModelBase
StdFontInfo maFontData
 Font formatting. More...
 
StreamDataSequence maMouseIcon
 Binary picture stream for mouse icon. More...
 
sal_uInt32 mnFlags
 Common flags for ComCtl controls. More...
 
const sal_uInt16 mnVersion
 Current version of the ComCtl control model. More...
 
- Protected Attributes inherited from oox::ole::ControlModelBase
bool mbAwtModel
 True = AWT control model, false = form component. More...
 

Detailed Description

Model for a ComCtl progress bar.

Definition at line 453 of file axcontrol.hxx.

Constructor & Destructor Documentation

oox::ole::ComCtlProgressBarModel::ComCtlProgressBarModel ( sal_uInt16  nVersion)
explicit

Definition at line 789 of file axcontrol.cxx.

Member Function Documentation

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

Derived classes convert all control properties.

Reimplemented from oox::ole::ComCtlModelBase.

Definition at line 803 of file axcontrol.cxx.

References oox::ole::ComCtlModelBase::convertProperties(), oox::getFlag(), mfMax, mfMin, oox::ole::ComCtlModelBase::mnFlags, nBorder, SAL_MAX_INT32, and oox::PropertyMap::setProperty().

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

Derived classes return the UNO control type enum value.

Implements oox::ole::ControlModelBase.

Definition at line 798 of file axcontrol.cxx.

References oox::ole::API_CONTROL_PROGRESSBAR.

void oox::ole::ComCtlProgressBarModel::importControlData ( BinaryInputStream rInStrm)
overrideprivatevirtual

Member Data Documentation

float oox::ole::ComCtlProgressBarModel::mfMax
private

Maximum of the value range.

Definition at line 465 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

float oox::ole::ComCtlProgressBarModel::mfMin
private

Minimum of the value range.

Definition at line 464 of file axcontrol.hxx.

Referenced by convertProperties(), and importControlData().

sal_uInt16 oox::ole::ComCtlProgressBarModel::mnSmooth
private

0 = progress blocks, 1 = pixel resolution.

Definition at line 467 of file axcontrol.hxx.

Referenced by importControlData().

sal_uInt16 oox::ole::ComCtlProgressBarModel::mnVertical
private

0 = horizontal, 1 = vertical.

Definition at line 466 of file axcontrol.hxx.

Referenced by importControlData().


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