summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-03-07 13:12:01 +0200
committerTor Lillqvist <tml@collabora.com>2018-05-31 21:40:46 +0300
commit96ba08dc515649f78019a1b4b3ad320280f979c6 (patch)
tree985c465eb7ed0f874151bb6804e46110938e1042 /oovbaapi
parent9b28b780fb179b42d1473452c71f132d17d1247e (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 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/XApplicationBase.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/XApplicationBase.idl b/oovbaapi/ooo/vba/XApplicationBase.idl
index 90ba919407d4..4df45daad53e 100644
--- a/oovbaapi/ooo/vba/XApplicationBase.idl
+++ b/oovbaapi/ooo/vba/XApplicationBase.idl
@@ -32,6 +32,7 @@ interface XApplicationBase
[attribute] boolean DisplayStatusBar;
[attribute] boolean Interactive;
[attribute] boolean Visible;
+ [attribute] string Caption;
[attribute, readonly] string Version;
[attribute, readonly] any VBE;