diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-06-07 17:50:32 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2017-06-08 08:06:47 +0200 |
commit | e3828e7bed641bf8475845045accec6131544f42 (patch) | |
tree | 6d2ed214f35f2112025a11ec5014ad118538a624 /sc | |
parent | d8a84e7df7ad75362d4fb2db9aa2f1de0a025654 (diff) |
oovbaapi: add Interior.PatternTintAndShade Property (Excel)
As documented at
<https://msdn.microsoft.com/en-us/library/office/ff192986.aspx>.
Change-Id: I390c22e75c8cfb41034287848f92578ad67e724f
Reviewed-on: https://gerrit.libreoffice.org/38524
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/vba/vbainterior.cxx | 11 | ||||
-rw-r--r-- | sc/source/ui/vba/vbainterior.hxx | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx index 8896724f6957..bd9b15cb49fe 100644 --- a/sc/source/ui/vba/vbainterior.cxx +++ b/sc/source/ui/vba/vbainterior.cxx @@ -406,6 +406,17 @@ void SAL_CALL ScVbaInterior::setTintAndShade(const uno::Any& /*rAny*/) // Just a stub for now. } +uno::Any SAL_CALL ScVbaInterior::getPatternTintAndShade() +{ + // Just a stub for now. + return uno::makeAny(static_cast<double>(0)); +} + +void SAL_CALL ScVbaInterior::setPatternTintAndShade(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 3a01b4247cf7..3dd642fd146d 100644 --- a/sc/source/ui/vba/vbainterior.hxx +++ b/sc/source/ui/vba/vbainterior.hxx @@ -74,6 +74,8 @@ public: 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; //XHelperInterface virtual OUString getServiceImplName() override; virtual css::uno::Sequence<OUString> getServiceNames() override; |