diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-03-23 14:35:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 12:16:13 +0200 |
commit | 6c8c727ffd97e247f1ea43c1a47a55e6d5f68331 (patch) | |
tree | 2fdffdffc01a7016f370c1ba94653a9d9e679422 /oovbaapi | |
parent | 9673511526660ff23169456b2cce560d968107b3 (diff) |
Add Document.Close event generation
Use a similar idea as for the Application events. Use the SwDocShell
to keep the XSinkCaller. Call the Close event from
SwXTextDocument::close().
Change-Id: Ie873238c5a966fc859d45b59f424ae0e9f4fbfc7
Reviewed-on: https://gerrit.libreoffice.org/55110
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r-- | oovbaapi/ooo/vba/word/XDocument.idl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/oovbaapi/ooo/vba/word/XDocument.idl b/oovbaapi/ooo/vba/word/XDocument.idl index 1dde907ca342..b6cb4fc45def 100644 --- a/oovbaapi/ooo/vba/word/XDocument.idl +++ b/oovbaapi/ooo/vba/word/XDocument.idl @@ -26,8 +26,11 @@ module ooo { module vba { module word { -interface XDocument : com::sun::star::script::XInvocation +interface XDocument { + interface com::sun::star::script::XInvocation; + interface XConnectable; + [attribute, readonly] XRange Content; [attribute] any AttachedTemplate; [attribute] long ProtectionType; |