From 6c8c727ffd97e247f1ea43c1a47a55e6d5f68331 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 23 Mar 2018 14:35:24 +0200 Subject: 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 Tested-by: Tor Lillqvist --- oovbaapi/ooo/vba/word/XDocument.idl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'oovbaapi/ooo') 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; -- cgit