LibreOffice Module forms (master) 1
Protected Member Functions | Static Protected Member Functions | Private Member Functions | Private Attributes | List of all members
frm::FontControlModel Class Reference

#include <formcontrolfont.hxx>

Inheritance diagram for frm::FontControlModel:
[legend]

Protected Member Functions

const css::awt::FontDescriptor & getFont () const
 
void setFont (const css::awt::FontDescriptor &_rFont)
 
void setTextColor (Color _nColor)
 
void clearTextColor ()
 
bool hasTextColor () const
 
Color getTextColor () const
 
void setTextLineColor (Color _nColor)
 
void clearTextLineColor ()
 
bool hasTextLineColor () const
 
Color getTextLineColor () const
 
 FontControlModel (bool _bToolkitCompatibleDefaults)
 
 FontControlModel (const FontControlModel *_pOriginal)
 
void getFastPropertyValue (css::uno::Any &_rValue, sal_Int32 _nHandle) const
 
bool convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue)
 
void setFastPropertyValue_NoBroadcast_impl (::cppu::OPropertySetHelper &rBase, void(::cppu::OPropertySetHelper::*pSet)(sal_Int32, css::uno::Any const &), sal_Int32 nHandle, const css::uno::Any &rValue)
 
css::uno::Any getPropertyDefaultByHandle (sal_Int32 _nHandle) const
 

Static Protected Member Functions

static bool isFontRelatedProperty (sal_Int32 _nPropertyHandle)
 
static bool isFontAggregateProperty (sal_Int32 _nPropertyHandle)
 
static void describeFontRelatedProperties (css::uno::Sequence< css::beans::Property > &_rProps)
 appends (!) the description of all font related properties to the given sequence More...
 

Private Member Functions

 FontControlModel (const FontControlModel &)=delete
 
FontControlModeloperator= (const FontControlModel &)=delete
 

Private Attributes

css::awt::FontDescriptor m_aFont
 
sal_Int16 m_nFontRelief
 
sal_Int16 m_nFontEmphasis
 
css::uno::Any m_aTextLineColor
 
css::uno::Any m_aTextColor
 
bool m_bToolkitCompatibleDefaults
 

Detailed Description

Definition at line 34 of file formcontrolfont.hxx.

Constructor & Destructor Documentation

◆ FontControlModel() [1/3]

frm::FontControlModel::FontControlModel ( bool  _bToolkitCompatibleDefaults)
protected

Definition at line 124 of file formcontrolfont.cxx.

References NONE.

◆ FontControlModel() [2/3]

frm::FontControlModel::FontControlModel ( const FontControlModel _pOriginal)
protected

◆ FontControlModel() [3/3]

frm::FontControlModel::FontControlModel ( const FontControlModel )
privatedelete

Member Function Documentation

◆ clearTextColor()

void frm::FontControlModel::clearTextColor ( )
inlineprotected

Definition at line 52 of file formcontrolfont.hxx.

References m_aTextColor.

◆ clearTextLineColor()

void frm::FontControlModel::clearTextLineColor ( )
inlineprotected

Definition at line 57 of file formcontrolfont.hxx.

References m_aTextLineColor.

◆ convertFastPropertyValue()

bool frm::FontControlModel::convertFastPropertyValue ( css::uno::Any &  _rConvertedValue,
css::uno::Any &  _rOldValue,
sal_Int32  _nHandle,
const css::uno::Any &  _rValue 
)
protected

◆ describeFontRelatedProperties()

void frm::FontControlModel::describeFontRelatedProperties ( css::uno::Sequence< css::beans::Property > &  _rProps)
staticprotected

◆ getFastPropertyValue()

void frm::FontControlModel::getFastPropertyValue ( css::uno::Any &  _rValue,
sal_Int32  _nHandle 
) const
protected

◆ getFont()

const css::awt::FontDescriptor & frm::FontControlModel::getFont ( ) const
inlineprotected

Definition at line 48 of file formcontrolfont.hxx.

References m_aFont.

Referenced by setFastPropertyValue_NoBroadcast_impl().

◆ getPropertyDefaultByHandle()

Any frm::FontControlModel::getPropertyDefaultByHandle ( sal_Int32  _nHandle) const
protected

◆ getTextColor()

Color frm::FontControlModel::getTextColor ( ) const
protected

Definition at line 175 of file formcontrolfont.cxx.

References COL_TRANSPARENT(), and m_aTextColor.

◆ getTextLineColor()

Color frm::FontControlModel::getTextLineColor ( ) const
protected

Definition at line 183 of file formcontrolfont.cxx.

References COL_TRANSPARENT(), and m_aTextLineColor.

◆ hasTextColor()

bool frm::FontControlModel::hasTextColor ( ) const
inlineprotected

Definition at line 53 of file formcontrolfont.hxx.

References m_aTextColor.

◆ hasTextLineColor()

bool frm::FontControlModel::hasTextLineColor ( ) const
inlineprotected

Definition at line 58 of file formcontrolfont.hxx.

References m_aTextLineColor.

◆ isFontAggregateProperty()

bool frm::FontControlModel::isFontAggregateProperty ( sal_Int32  _nPropertyHandle)
staticprotected

◆ isFontRelatedProperty()

bool frm::FontControlModel::isFontRelatedProperty ( sal_Int32  _nPropertyHandle)
staticprotected

◆ operator=()

FontControlModel & frm::FontControlModel::operator= ( const FontControlModel )
privatedelete

◆ setFastPropertyValue_NoBroadcast_impl()

void frm::FontControlModel::setFastPropertyValue_NoBroadcast_impl ( ::cppu::OPropertySetHelper rBase,
void(::cppu::OPropertySetHelper::*pSet)(sal_Int32, css::uno::Any const &)  ,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
protected

◆ setFont()

void frm::FontControlModel::setFont ( const css::awt::FontDescriptor &  _rFont)
inlineprotected

Definition at line 49 of file formcontrolfont.hxx.

References m_aFont.

◆ setTextColor()

void frm::FontControlModel::setTextColor ( Color  _nColor)
inlineprotected

Definition at line 51 of file formcontrolfont.hxx.

References m_aTextColor.

◆ setTextLineColor()

void frm::FontControlModel::setTextLineColor ( Color  _nColor)
inlineprotected

Definition at line 56 of file formcontrolfont.hxx.

References m_aTextLineColor.

Member Data Documentation

◆ m_aFont

css::awt::FontDescriptor frm::FontControlModel::m_aFont
private

◆ m_aTextColor

css::uno::Any frm::FontControlModel::m_aTextColor
private

◆ m_aTextLineColor

css::uno::Any frm::FontControlModel::m_aTextLineColor
private

◆ m_bToolkitCompatibleDefaults

bool frm::FontControlModel::m_bToolkitCompatibleDefaults
private

Definition at line 45 of file formcontrolfont.hxx.

Referenced by FontControlModel(), and getPropertyDefaultByHandle().

◆ m_nFontEmphasis

sal_Int16 frm::FontControlModel::m_nFontEmphasis
private

◆ m_nFontRelief

sal_Int16 frm::FontControlModel::m_nFontRelief
private

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