LibreOffice Module vbahelper (master) 1
|
#include <vbafontbase.hxx>
Public Types | |
enum | Component { WORD , EXCEL } |
Public Member Functions | |
VbaFontBase (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, const css::uno::Reference< css::container::XIndexAccess > &xPalette, const css::uno::Reference< css::beans::XPropertySet > &xPropertySet, Component eWhich, bool bFormControl=false) | |
virtual | ~VbaFontBase () override |
virtual css::uno::Any SAL_CALL | getSize () override |
virtual void SAL_CALL | setSize (const css::uno::Any &_size) override |
virtual css::uno::Any SAL_CALL | getColorIndex () override |
virtual void SAL_CALL | setColorIndex (const css::uno::Any &_colorindex) override |
virtual css::uno::Any SAL_CALL | getBold () override |
virtual void SAL_CALL | setBold (const css::uno::Any &_bold) override |
virtual css::uno::Any SAL_CALL | getUnderline () override=0 |
virtual void SAL_CALL | setUnderline (const css::uno::Any &_underline) override=0 |
virtual css::uno::Any SAL_CALL | getStrikethrough () override |
virtual void SAL_CALL | setStrikethrough (const css::uno::Any &_strikethrough) override |
virtual css::uno::Any SAL_CALL | getShadow () override |
virtual void SAL_CALL | setShadow (const css::uno::Any &_shadow) override |
virtual css::uno::Any SAL_CALL | getItalic () override |
virtual void SAL_CALL | setItalic (const css::uno::Any &_italic) override |
virtual css::uno::Any SAL_CALL | getSubscript () override |
virtual void SAL_CALL | setSubscript (const css::uno::Any &_subscript) override |
virtual css::uno::Any SAL_CALL | getSuperscript () override |
virtual void SAL_CALL | setSuperscript (const css::uno::Any &_superscript) override |
virtual css::uno::Any SAL_CALL | getName () override |
virtual void SAL_CALL | setName (const css::uno::Any &_name) override |
virtual css::uno::Any SAL_CALL | getColor () override |
virtual void SAL_CALL | setColor (const css::uno::Any &_color) override |
Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc > | |
InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, css::uno::Reference< css::uno::XComponentContext > xContext) | |
virtual OUString | getServiceImplName ()=0 |
virtual css::uno::Sequence< OUString > | getServiceNames ()=0 |
virtual ::sal_Int32 SAL_CALL | getCreator () override |
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL | getParent () override |
virtual css::uno::Any SAL_CALL | Application () override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Static Public Attributes | |
static const short | NORMAL = 0 |
static const short | SUPERSCRIPT = 33 |
static const short | SUBSCRIPT = -33 |
static const sal_Int8 | SUPERSCRIPTHEIGHT = 58 |
static const sal_Int8 | SUBSCRIPTHEIGHT = 58 |
static const short | NORMALHEIGHT = 100 |
Protected Attributes | |
css::uno::Reference< css::beans::XPropertySet > | mxFont |
css::uno::Reference< css::container::XIndexAccess > | mxPalette |
Component | meWhich |
bool | mbFormControl |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 45 of file vbafontbase.hxx.
Enumerator | |
---|---|
WORD | |
EXCEL |
Definition at line 48 of file vbafontbase.hxx.
VbaFontBase::VbaFontBase | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
const css::uno::Reference< css::container::XIndexAccess > & | xPalette, | ||
const css::uno::Reference< css::beans::XPropertySet > & | xPropertySet, | ||
Component | eWhich, | ||
bool | bFormControl = false |
||
) |
css::uno::RuntimeException |
Definition at line 35 of file vbafontbase.cxx.
References mxFont.
|
overridevirtual |
Definition at line 50 of file vbafontbase.cxx.
|
overridevirtual |
Definition at line 195 of file vbafontbase.cxx.
References mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 268 of file vbafontbase.cxx.
References EXCEL, meWhich, mxFont, ooo::vba::OORGBToXLRGB(), and VBAFONTBASE_PROPNAME.
Referenced by getColorIndex().
|
overridevirtual |
Definition at line 156 of file vbafontbase.cxx.
References count, EXCEL, getColor(), meWhich, mxPalette, nIndex, and ooo::vba::XLRGBToOORGB().
|
overridevirtual |
Definition at line 246 of file vbafontbase.cxx.
References mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 262 of file vbafontbase.cxx.
References mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 229 of file vbafontbase.cxx.
References mbFormControl, and mxFont.
|
overridevirtual |
Definition at line 133 of file vbafontbase.cxx.
References mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 214 of file vbafontbase.cxx.
References mxFont, nValue, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 109 of file vbafontbase.cxx.
References mbFormControl, mxFont, NORMAL, nValue, and SUBSCRIPT.
|
overridevirtual |
Definition at line 76 of file vbafontbase.cxx.
References mbFormControl, mxFont, NORMAL, nValue, and SUPERSCRIPT.
|
overridepure virtual |
|
overridevirtual |
Definition at line 183 of file vbafontbase.cxx.
References mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 281 of file vbafontbase.cxx.
References mxFont, VBAFONTBASE_PROPNAME, and ooo::vba::XLRGBToOORGB().
Referenced by setColorIndex().
|
overridevirtual |
Definition at line 139 of file vbafontbase.cxx.
References EXCEL, meWhich, mxPalette, nIndex, ooo::vba::OORGBToXLRGB(), and setColor().
|
overridevirtual |
Definition at line 235 of file vbafontbase.cxx.
References mxFont, nValue, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 254 of file vbafontbase.cxx.
References mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 222 of file vbafontbase.cxx.
References mbFormControl, and mxFont.
|
overridevirtual |
Definition at line 119 of file vbafontbase.cxx.
References mbFormControl, mxFont, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 203 of file vbafontbase.cxx.
References mxFont, nValue, and VBAFONTBASE_PROPNAME.
|
overridevirtual |
Definition at line 86 of file vbafontbase.cxx.
References mbFormControl, mxFont, NORMAL, NORMALHEIGHT, nValue, SUBSCRIPT, and SUBSCRIPTHEIGHT.
|
overridevirtual |
Definition at line 55 of file vbafontbase.cxx.
References mbFormControl, mxFont, NORMAL, NORMALHEIGHT, nValue, SUPERSCRIPT, and SUPERSCRIPTHEIGHT.
|
overridepure virtual |
|
protected |
Definition at line 54 of file vbafontbase.hxx.
Referenced by getShadow(), getSubscript(), getSuperscript(), setShadow(), setSize(), setSubscript(), and setSuperscript().
|
protected |
Definition at line 53 of file vbafontbase.hxx.
Referenced by getColor(), getColorIndex(), and setColorIndex().
|
protected |
Definition at line 51 of file vbafontbase.hxx.
Referenced by getBold(), getColor(), getItalic(), getName(), getShadow(), getSize(), getStrikethrough(), getSubscript(), getSuperscript(), setBold(), setColor(), setItalic(), setName(), setShadow(), setSize(), setStrikethrough(), setSubscript(), and setSuperscript().
|
protected |
Definition at line 52 of file vbafontbase.hxx.
Referenced by getColorIndex(), and setColorIndex().
|
static |
Definition at line 63 of file vbafontbase.hxx.
Referenced by getSubscript(), getSuperscript(), setSubscript(), and setSuperscript().
|
static |
Definition at line 78 of file vbafontbase.hxx.
Referenced by setSubscript(), and setSuperscript().
|
static |
Definition at line 69 of file vbafontbase.hxx.
Referenced by getSubscript(), and setSubscript().
|
static |
Definition at line 75 of file vbafontbase.hxx.
Referenced by setSubscript().
|
static |
Definition at line 66 of file vbafontbase.hxx.
Referenced by getSuperscript(), and setSuperscript().
|
static |
Definition at line 72 of file vbafontbase.hxx.
Referenced by setSuperscript().