LibreOffice Module forms (master) 1
|
#include <formcontrolfont.hxx>
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 | |
FontControlModel & | operator= (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 |
Definition at line 34 of file formcontrolfont.hxx.
|
protected |
Definition at line 124 of file formcontrolfont.cxx.
References NONE.
|
protected |
Definition at line 132 of file formcontrolfont.cxx.
References m_aFont, m_aTextColor, m_aTextLineColor, m_bToolkitCompatibleDefaults, m_nFontEmphasis, and m_nFontRelief.
|
privatedelete |
|
inlineprotected |
Definition at line 52 of file formcontrolfont.hxx.
References m_aTextColor.
|
inlineprotected |
Definition at line 57 of file formcontrolfont.hxx.
References m_aTextLineColor.
|
protected |
css::lang::IllegalArgumentException | |
css::uno::RuntimeException |
Definition at line 255 of file formcontrolfont.cxx.
References Any, m_aFont, m_aTextColor, m_aTextLineColor, m_nFontEmphasis, m_nFontRelief, PROPERTY_ID_FONT, PROPERTY_ID_FONT_CHARSET, PROPERTY_ID_FONT_CHARWIDTH, PROPERTY_ID_FONT_FAMILY, PROPERTY_ID_FONT_HEIGHT, PROPERTY_ID_FONT_KERNING, PROPERTY_ID_FONT_NAME, PROPERTY_ID_FONT_ORIENTATION, PROPERTY_ID_FONT_PITCH, PROPERTY_ID_FONT_SLANT, PROPERTY_ID_FONT_STRIKEOUT, PROPERTY_ID_FONT_STYLENAME, PROPERTY_ID_FONT_TYPE, PROPERTY_ID_FONT_UNDERLINE, PROPERTY_ID_FONT_WEIGHT, PROPERTY_ID_FONT_WIDTH, PROPERTY_ID_FONT_WORDLINEMODE, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_TEXTCOLOR, PROPERTY_ID_TEXTLINECOLOR, tryPropertyValue(), and tryPropertyValueEnum().
|
staticprotected |
appends (!) the description of all font related properties to the given sequence
Definition at line 191 of file formcontrolfont.cxx.
References nPos, Property, PROPERTY_FONT, PROPERTY_FONT_CHARSET, PROPERTY_FONT_CHARWIDTH, PROPERTY_FONT_FAMILY, PROPERTY_FONT_HEIGHT, PROPERTY_FONT_KERNING, PROPERTY_FONT_NAME, PROPERTY_FONT_ORIENTATION, PROPERTY_FONT_PITCH, PROPERTY_FONT_SLANT, PROPERTY_FONT_STRIKEOUT, PROPERTY_FONT_STYLENAME, PROPERTY_FONT_TYPE, PROPERTY_FONT_UNDERLINE, PROPERTY_FONT_WEIGHT, PROPERTY_FONT_WIDTH, PROPERTY_FONT_WORDLINEMODE, PROPERTY_FONTEMPHASISMARK, PROPERTY_FONTRELIEF, PROPERTY_ID_FONT, PROPERTY_ID_FONT_CHARSET, PROPERTY_ID_FONT_CHARWIDTH, PROPERTY_ID_FONT_FAMILY, PROPERTY_ID_FONT_HEIGHT, PROPERTY_ID_FONT_KERNING, PROPERTY_ID_FONT_NAME, PROPERTY_ID_FONT_ORIENTATION, PROPERTY_ID_FONT_PITCH, PROPERTY_ID_FONT_SLANT, PROPERTY_ID_FONT_STRIKEOUT, PROPERTY_ID_FONT_STYLENAME, PROPERTY_ID_FONT_TYPE, PROPERTY_ID_FONT_UNDERLINE, PROPERTY_ID_FONT_WEIGHT, PROPERTY_ID_FONT_WIDTH, PROPERTY_ID_FONT_WORDLINEMODE, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_TEXTCOLOR, PROPERTY_ID_TEXTLINECOLOR, PROPERTY_TEXTCOLOR, and PROPERTY_TEXTLINECOLOR.
|
protected |
Definition at line 224 of file formcontrolfont.cxx.
References m_aFont, m_aTextColor, m_aTextLineColor, m_nFontEmphasis, m_nFontRelief, PROPERTY_ID_FONT, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_TEXTCOLOR, and PROPERTY_ID_TEXTLINECOLOR.
Referenced by setFastPropertyValue_NoBroadcast_impl().
|
inlineprotected |
Definition at line 48 of file formcontrolfont.hxx.
References m_aFont.
Referenced by setFastPropertyValue_NoBroadcast_impl().
|
protected |
Definition at line 492 of file formcontrolfont.cxx.
References Any, m_bToolkitCompatibleDefaults, PROPERTY_ID_FONT, PROPERTY_ID_FONT_CHARSET, PROPERTY_ID_FONT_CHARWIDTH, PROPERTY_ID_FONT_FAMILY, PROPERTY_ID_FONT_HEIGHT, PROPERTY_ID_FONT_KERNING, PROPERTY_ID_FONT_NAME, PROPERTY_ID_FONT_ORIENTATION, PROPERTY_ID_FONT_PITCH, PROPERTY_ID_FONT_SLANT, PROPERTY_ID_FONT_STRIKEOUT, PROPERTY_ID_FONT_STYLENAME, PROPERTY_ID_FONT_TYPE, PROPERTY_ID_FONT_UNDERLINE, PROPERTY_ID_FONT_WEIGHT, PROPERTY_ID_FONT_WIDTH, PROPERTY_ID_FONT_WORDLINEMODE, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_TEXTCOLOR, and PROPERTY_ID_TEXTLINECOLOR.
|
protected |
Definition at line 175 of file formcontrolfont.cxx.
References COL_TRANSPARENT(), and m_aTextColor.
|
protected |
Definition at line 183 of file formcontrolfont.cxx.
References COL_TRANSPARENT(), and m_aTextLineColor.
|
inlineprotected |
Definition at line 53 of file formcontrolfont.hxx.
References m_aTextColor.
|
inlineprotected |
Definition at line 58 of file formcontrolfont.hxx.
References m_aTextLineColor.
|
staticprotected |
Definition at line 154 of file formcontrolfont.cxx.
References PROPERTY_ID_FONT_CHARSET, PROPERTY_ID_FONT_CHARWIDTH, PROPERTY_ID_FONT_FAMILY, PROPERTY_ID_FONT_HEIGHT, PROPERTY_ID_FONT_KERNING, PROPERTY_ID_FONT_NAME, PROPERTY_ID_FONT_ORIENTATION, PROPERTY_ID_FONT_PITCH, PROPERTY_ID_FONT_SLANT, PROPERTY_ID_FONT_STRIKEOUT, PROPERTY_ID_FONT_STYLENAME, PROPERTY_ID_FONT_TYPE, PROPERTY_ID_FONT_UNDERLINE, PROPERTY_ID_FONT_WEIGHT, PROPERTY_ID_FONT_WIDTH, and PROPERTY_ID_FONT_WORDLINEMODE.
Referenced by isFontRelatedProperty(), and setFastPropertyValue_NoBroadcast_impl().
|
staticprotected |
Definition at line 143 of file formcontrolfont.cxx.
References isFontAggregateProperty(), PROPERTY_ID_FONT, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_TEXTCOLOR, and PROPERTY_ID_TEXTLINECOLOR.
|
privatedelete |
|
protected |
css::uno::Exception |
Definition at line 438 of file formcontrolfont.cxx.
References Any, getFastPropertyValue(), getFont(), isFontAggregateProperty(), m_aFont, m_aTextColor, m_aTextLineColor, m_nFontEmphasis, m_nFontRelief, nHandle, PROPERTY_ID_FONT, PROPERTY_ID_FONT_HEIGHT, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_TEXTCOLOR, PROPERTY_ID_TEXTLINECOLOR, SAL_WARN, and frm::setFastPropertyValue_NoBroadcast_implimpl().
|
inlineprotected |
Definition at line 49 of file formcontrolfont.hxx.
References m_aFont.
|
inlineprotected |
Definition at line 51 of file formcontrolfont.hxx.
References m_aTextColor.
|
inlineprotected |
Definition at line 56 of file formcontrolfont.hxx.
References m_aTextLineColor.
|
private |
Definition at line 38 of file formcontrolfont.hxx.
Referenced by convertFastPropertyValue(), FontControlModel(), getFastPropertyValue(), getFont(), setFastPropertyValue_NoBroadcast_impl(), and setFont().
|
private |
Definition at line 42 of file formcontrolfont.hxx.
Referenced by clearTextColor(), convertFastPropertyValue(), FontControlModel(), getFastPropertyValue(), getTextColor(), hasTextColor(), setFastPropertyValue_NoBroadcast_impl(), and setTextColor().
|
private |
Definition at line 41 of file formcontrolfont.hxx.
Referenced by clearTextLineColor(), convertFastPropertyValue(), FontControlModel(), getFastPropertyValue(), getTextLineColor(), hasTextLineColor(), setFastPropertyValue_NoBroadcast_impl(), and setTextLineColor().
|
private |
Definition at line 45 of file formcontrolfont.hxx.
Referenced by FontControlModel(), and getPropertyDefaultByHandle().
|
private |
Definition at line 40 of file formcontrolfont.hxx.
Referenced by convertFastPropertyValue(), FontControlModel(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast_impl().
|
private |
Definition at line 39 of file formcontrolfont.hxx.
Referenced by convertFastPropertyValue(), FontControlModel(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast_impl().