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-30 19:26:24 +0200
commit857a33404626f8df04882478d026969691624cbb (patch)
treeb78a1e0ad023c9c0d0f7b819949df334ae2852aa /oovbaapi
parente02b3b095e472646c58eecd36d5a27b056dcb99e (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>
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;