diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-03-23 14:35:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 21:47:58 +0300 |
commit | 5114fbb364fcee987ac653a62868ff7002ea0223 (patch) | |
tree | c98eff2fb715f47e88886cec788e99a441c8eb93 /oovbaapi | |
parent | Add one more #define _SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING 1 (diff) | |
download | core-5114fbb364fcee987ac653a62868ff7002ea0223.tar.gz core-5114fbb364fcee987ac653a62868ff7002ea0223.zip |
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>
(cherry picked from commit 6c8c727ffd97e247f1ea43c1a47a55e6d5f68331)
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; |