From d8a84e7df7ad75362d4fb2db9aa2f1de0a025654 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 7 Jun 2017 17:39:40 +0200 Subject: oovbaapi: add Interior.TintAndShade Property (Excel) As documented at . Change-Id: I4ffa74293978e4642e043a9cda80a7b4a9b5512c Reviewed-on: https://gerrit.libreoffice.org/38523 Tested-by: Jenkins Reviewed-by: Miklos Vajna --- oovbaapi/ooo/vba/excel/XInterior.idl | 1 + sc/source/ui/vba/vbainterior.cxx | 11 +++++++++++ sc/source/ui/vba/vbainterior.hxx | 2 ++ 3 files changed, 14 insertions(+) diff --git a/oovbaapi/ooo/vba/excel/XInterior.idl b/oovbaapi/ooo/vba/excel/XInterior.idl index 06baa2645864..71ec105ac86c 100644 --- a/oovbaapi/ooo/vba/excel/XInterior.idl +++ b/oovbaapi/ooo/vba/excel/XInterior.idl @@ -39,6 +39,7 @@ interface XInterior [attribute] any PatternColor; [attribute] any PatternColorIndex; [attribute] any ThemeColor; + [attribute] any TintAndShade; }; diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx index 62f2d26f1766..8896724f6957 100644 --- a/sc/source/ui/vba/vbainterior.cxx +++ b/sc/source/ui/vba/vbainterior.cxx @@ -395,6 +395,17 @@ void SAL_CALL ScVbaInterior::setThemeColor(const uno::Any& /*rAny*/) // Just a stub for now. } +uno::Any SAL_CALL ScVbaInterior::getTintAndShade() +{ + // Just a stub for now. + return uno::makeAny(static_cast(0)); +} + +void SAL_CALL ScVbaInterior::setTintAndShade(const uno::Any& /*rAny*/) +{ + // Just a stub for now. +} + OUString ScVbaInterior::getServiceImplName() { diff --git a/sc/source/ui/vba/vbainterior.hxx b/sc/source/ui/vba/vbainterior.hxx index d036392e25ec..3a01b4247cf7 100644 --- a/sc/source/ui/vba/vbainterior.hxx +++ b/sc/source/ui/vba/vbainterior.hxx @@ -72,6 +72,8 @@ public: 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; //XHelperInterface virtual OUString getServiceImplName() override; virtual css::uno::Sequence getServiceNames() override; -- cgit