summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-04-23 20:50:43 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-31 15:29:43 +0300
commitb9ef6b66e7a67a448b1a840c47146d8789a92a6d (patch)
tree8dab5043884df3ee37f31b41fab4fc268b887a17 /oovbaapi
parent8a2f30e548f930f0ddd869e07f58947616ba9ea4 (diff)
Initial steps to make also Calc usable from Automation clients
Largely parallel to what we do for Writer. Yes, there is a fair amount of duplicated code now for the outgoing ("sink") stuff in sw and sc, that should be factored out (to vbahelper, probably). Change-Id: I8df4a81c3b9043e8d6b0b206e3c04660205987c7
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/excel/XApplication.idl2
-rw-r--r--oovbaapi/ooo/vba/excel/XApplicationOutgoing.idl2
2 files changed, 4 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/excel/XApplication.idl b/oovbaapi/ooo/vba/excel/XApplication.idl
index e315b27ddaf3..ceceaf777d97 100644
--- a/oovbaapi/ooo/vba/excel/XApplication.idl
+++ b/oovbaapi/ooo/vba/excel/XApplication.idl
@@ -30,6 +30,8 @@ interface XApplication
interface ::com::sun::star::beans::XExactName;
interface ::com::sun::star::script::XInvocation;
+ interface XConnectable;
+
// interface ::ooo::vba::XHelperInterface;
[attribute, readonly] any Selection;
diff --git a/oovbaapi/ooo/vba/excel/XApplicationOutgoing.idl b/oovbaapi/ooo/vba/excel/XApplicationOutgoing.idl
index d9b1da42bc4b..9e601c5331d6 100644
--- a/oovbaapi/ooo/vba/excel/XApplicationOutgoing.idl
+++ b/oovbaapi/ooo/vba/excel/XApplicationOutgoing.idl
@@ -25,6 +25,8 @@ module ooo { module vba { module excel {
interface XApplicationOutgoing : XInterfaceWithIID
{
+ void WorkbookOpen([in] any Wb);
+ void WorkbookBeforeClose([in] any Wb, [out] any Cancel);
};
}; }; };