summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2017-06-07 17:39:40 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-06-08 08:06:40 +0200
commitd8a84e7df7ad75362d4fb2db9aa2f1de0a025654 (patch)
treeb12c3ee2c70c214af7ac0461f8a78c02526cfab7 /sc/source
parent1365a9f95a8e97a8ec9bbf9a351f9f4ab2696d92 (diff)
oovbaapi: add Interior.TintAndShade Property (Excel)
As documented at <https://msdn.microsoft.com/en-us/library/office/ff197557.aspx>. Change-Id: I4ffa74293978e4642e043a9cda80a7b4a9b5512c Reviewed-on: https://gerrit.libreoffice.org/38523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/vba/vbainterior.cxx11
-rw-r--r--sc/source/ui/vba/vbainterior.hxx2
2 files changed, 13 insertions, 0 deletions
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<double>(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<OUString> getServiceNames() override;