diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-03-07 13:12:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 21:40:46 +0300 |
commit | 96ba08dc515649f78019a1b4b3ad320280f979c6 (patch) | |
tree | 985c465eb7ed0f874151bb6804e46110938e1042 /include | |
parent | 9b28b780fb179b42d1473452c71f132d17d1247e (diff) |
Add Caption property to ooo::vba::XApplicationBase
Implementation is just a dummy, though. At first I thought that it
would work to get the XModel of the "current" document (as returned by
getCurrentDocument()), and then get the XFrame of that, and then use
the XFrame's getName() and setName(). But, it seems that
getCurrentDocument() and what it calls is tightly coupled to
StarBasic, and it doesn't do anything sane in the case of Automation
clients.
Change-Id: I74ded5114ecce06e72862f69d0c06d963e55fd75
Reviewed-on: https://gerrit.libreoffice.org/55064
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
(cherry picked from commit 857a33404626f8df04882478d026969691624cbb)
Diffstat (limited to 'include')
-rw-r--r-- | include/vbahelper/vbaapplicationbase.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vbahelper/vbaapplicationbase.hxx b/include/vbahelper/vbaapplicationbase.hxx index 4f392a5d332c..be2f6765e951 100644 --- a/include/vbahelper/vbaapplicationbase.hxx +++ b/include/vbahelper/vbaapplicationbase.hxx @@ -64,6 +64,8 @@ public: virtual void SAL_CALL setInteractive( sal_Bool bInteractive ) override; virtual sal_Bool SAL_CALL getVisible() override; virtual void SAL_CALL setVisible( sal_Bool bVisible ) override; + virtual OUString SAL_CALL getCaption() override; + virtual void SAL_CALL setCaption( const OUString& sCaption ) override; virtual void SAL_CALL OnKey( const OUString& Key, const css::uno::Any& Procedure ) override; virtual css::uno::Any SAL_CALL CommandBars( const css::uno::Any& aIndex ) override; virtual OUString SAL_CALL getVersion() override; |