LibreOffice Module sc (master) 1
|
#include <vbainterior.hxx>
Public Member Functions | |
ScVbaInterior (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext, css::uno::Reference< css::beans::XPropertySet > xProps, ScDocument *pScDoc=nullptr) | |
virtual css::uno::Any SAL_CALL | getColor () override |
virtual void SAL_CALL | setColor (const css::uno::Any &_color) 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 | getPattern () override |
virtual void SAL_CALL | setPattern (const css::uno::Any &_pattern) override |
virtual css::uno::Any SAL_CALL | getPatternColor () override |
virtual void SAL_CALL | setPatternColor (const css::uno::Any &_patterncolor) override |
virtual css::uno::Any SAL_CALL | getPatternColorIndex () override |
virtual void SAL_CALL | setPatternColorIndex (const css::uno::Any &_patterncolorindex) override |
css::uno::Any SAL_CALL | getThemeColor () override |
void SAL_CALL | setThemeColor (const css::uno::Any &rAny) override |
css::uno::Any SAL_CALL | getTintAndShade () override |
void SAL_CALL | setTintAndShade (const css::uno::Any &rAny) override |
css::uno::Any SAL_CALL | getPatternTintAndShade () override |
void SAL_CALL | setPatternTintAndShade (const css::uno::Any &rAny) override |
virtual OUString | getServiceImplName () override |
virtual css::uno::Sequence< OUString > | getServiceNames () override |
Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< typename... 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 |
Private Member Functions | |
css::uno::Reference< css::container::XIndexAccess > | getPalette () const |
css::uno::Reference< css::container::XNameContainer > | GetAttributeContainer () |
Color | GetBackColor () |
css::uno::Any | GetIndexColor (sal_Int32 nColorIndex) |
sal_Int32 | GetColorIndex (const sal_Int32 nColor) |
css::uno::Any | GetUserDefinedAttributes (const OUString &sName) |
void | SetUserDefinedAttributes (const OUString &sName, const css::uno::Any &aValue) |
void | SetMixedColor () |
Static Private Member Functions | |
static css::uno::Any | SetAttributeData (sal_Int32 nValue) |
static sal_Int32 | GetAttributeData (css::uno::Any const &aValue) |
static Color | GetPatternColor (const Color &rPattColor, const Color &rBackColor, sal_uInt32 nXclPattern) |
static Color | GetMixedColor (const Color &rFore, const Color &rBack, sal_uInt8 nTrans) |
static sal_uInt8 | GetMixedColorComp (sal_uInt8 nFore, sal_uInt8 nBack, sal_uInt8 nTrans) |
Private Attributes | |
css::uno::Reference< css::beans::XPropertySet > | m_xProps |
ScDocument * | m_pScDoc |
Color | m_aPattColor |
sal_Int32 | m_nPattern |
Additional Inherited Members | |
Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > > | |
css::uno::WeakReference< ov::XHelperInterface > | mxParent |
css::uno::Reference< css::uno::XComponentContext > | mxContext |
Definition at line 35 of file vbainterior.hxx.
ScVbaInterior::ScVbaInterior | ( | const css::uno::Reference< ov::XHelperInterface > & | xParent, |
const css::uno::Reference< css::uno::XComponentContext > & | xContext, | ||
css::uno::Reference< css::beans::XPropertySet > | xProps, | ||
ScDocument * | pScDoc = nullptr |
||
) |
css::lang::IllegalArgumentException |
Definition at line 68 of file vbainterior.cxx.
References m_aPattColor, m_nPattern, m_xProps, and m_xProps.
|
private |
Definition at line 238 of file vbainterior.cxx.
References m_xProps.
Referenced by GetUserDefinedAttributes(), and SetUserDefinedAttributes().
|
staticprivate |
Definition at line 243 of file vbainterior.cxx.
Referenced by GetBackColor(), getPattern(), getPatternColor(), and SetMixedColor().
|
private |
Definition at line 303 of file vbainterior.cxx.
References BACKCOLOR, ColorTransparency, GetAttributeData(), GetUserDefinedAttributes(), uno::Any::hasValue(), m_xProps, OORGBToXLRGB(), SetAttributeData(), SetUserDefinedAttributes(), and XLRGBToOORGB().
Referenced by getColor(), and SetMixedColor().
|
overridevirtual |
Definition at line 78 of file vbainterior.cxx.
References GetBackColor(), and OORGBToXLRGB().
Referenced by getColorIndex().
|
overridevirtual |
Definition at line 189 of file vbainterior.cxx.
References BACKCOLOR, getColor(), GetColorIndex(), m_xProps, and XLRGBToOORGB().
|
private |
Definition at line 170 of file vbainterior.cxx.
References count, getPalette(), and nIndex.
Referenced by getColorIndex(), and getPatternColorIndex().
|
private |
Definition at line 157 of file vbainterior.cxx.
References getPalette(), and nIndex.
Referenced by setColorIndex(), and setPatternColorIndex().
|
staticprivate |
Definition at line 223 of file vbainterior.cxx.
References ColorTransparency, Color::GetBlue(), Color::GetGreen(), GetMixedColorComp(), and Color::GetRed().
Referenced by GetPatternColor().
|
staticprivate |
Definition at line 232 of file vbainterior.cxx.
Referenced by GetMixedColor().
|
private |
Definition at line 128 of file vbainterior.cxx.
References ScDocument::GetDocumentShell(), ScVbaPalette::getPalette(), and m_pScDoc.
Referenced by GetColorIndex(), and GetIndexColor().
|
overridevirtual |
Definition at line 284 of file vbainterior.cxx.
References GetAttributeData(), GetUserDefinedAttributes(), uno::Any::hasValue(), and PATTERN.
|
overridevirtual |
Definition at line 326 of file vbainterior.cxx.
References ColorTransparency, GetAttributeData(), GetUserDefinedAttributes(), uno::Any::hasValue(), OORGBToXLRGB(), and PATTERNCOLOR.
Referenced by getPatternColorIndex().
|
staticprivate |
Definition at line 209 of file vbainterior.cxx.
References GetMixedColor(), and SAL_N_ELEMENTS.
Referenced by SetMixedColor().
|
overridevirtual |
Definition at line 349 of file vbainterior.cxx.
References GetColorIndex(), getPatternColor(), and XLRGBToOORGB().
|
override |
Definition at line 393 of file vbainterior.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 405 of file vbainterior.cxx.
|
overridevirtual |
Implements InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >.
Definition at line 411 of file vbainterior.cxx.
References aServiceNames.
|
override |
Definition at line 371 of file vbainterior.cxx.
|
override |
Definition at line 382 of file vbainterior.cxx.
|
private |
Definition at line 261 of file vbainterior.cxx.
References GetAttributeContainer(), and sName.
Referenced by GetBackColor(), getPattern(), getPatternColor(), and SetMixedColor().
|
staticprivate |
Definition at line 253 of file vbainterior.cxx.
References nValue.
Referenced by GetBackColor(), setColor(), setPattern(), and setPatternColor().
|
overridevirtual |
Definition at line 84 of file vbainterior.cxx.
References BACKCOLOR, SetAttributeData(), SetMixedColor(), SetUserDefinedAttributes(), and XLRGBToOORGB().
Referenced by setColorIndex().
|
overridevirtual |
Definition at line 138 of file vbainterior.cxx.
References BACKCOLOR, GetIndexColor(), m_xProps, nIndex, OORGBToXLRGB(), and setColor().
|
private |
Definition at line 95 of file vbainterior.cxx.
References aPatternMap, BACKCOLOR, ColorTransparency, GetAttributeData(), GetBackColor(), GetPatternColor(), Color::GetRGBColor(), GetUserDefinedAttributes(), uno::Any::hasValue(), m_aPattColor, m_nPattern, m_xProps, PATTERN, and PATTERNCOLOR.
Referenced by setColor(), setPattern(), and setPatternColor().
|
overridevirtual |
Definition at line 293 of file vbainterior.cxx.
References m_nPattern, PATTERN, SetAttributeData(), SetMixedColor(), and SetUserDefinedAttributes().
|
overridevirtual |
Definition at line 338 of file vbainterior.cxx.
References PATTERNCOLOR, SetAttributeData(), SetMixedColor(), SetUserDefinedAttributes(), and XLRGBToOORGB().
Referenced by setPatternColorIndex().
|
overridevirtual |
Definition at line 357 of file vbainterior.cxx.
References GetIndexColor(), OORGBToXLRGB(), and setPatternColor().
|
override |
Definition at line 399 of file vbainterior.cxx.
|
override |
Definition at line 377 of file vbainterior.cxx.
|
override |
Definition at line 388 of file vbainterior.cxx.
|
private |
Definition at line 271 of file vbainterior.cxx.
References GetAttributeContainer(), uno::Any::hasValue(), m_xProps, and sName.
Referenced by GetBackColor(), setColor(), setPattern(), and setPatternColor().
|
private |
Definition at line 39 of file vbainterior.hxx.
Referenced by ScVbaInterior(), and SetMixedColor().
|
private |
Definition at line 40 of file vbainterior.hxx.
Referenced by ScVbaInterior(), SetMixedColor(), and setPattern().
|
private |
Definition at line 38 of file vbainterior.hxx.
Referenced by getPalette().
|
private |
Definition at line 37 of file vbainterior.hxx.
Referenced by GetAttributeContainer(), GetBackColor(), getColorIndex(), ScVbaInterior(), setColorIndex(), SetMixedColor(), and SetUserDefinedAttributes().