diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-05-15 14:33:17 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 20:33:52 +0200 |
commit | 56a7ddaadc4a6fd7fc4019813041e93b10c91504 (patch) | |
tree | 47e6d5d12ae8bdac57fdb21bf2aeab47ef5c4084 /oovbaapi | |
parent | e93c3662b31d14b75ebca90802848e9021b1f3d2 (diff) |
Add WordBasic property and its FileOpen "command"
Change-Id: I74aca823bb871040b15f35b92f961dfe48807843
Reviewed-on: https://gerrit.libreoffice.org/55136
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r-- | oovbaapi/UnoApi_oovbaapi.mk | 1 | ||||
-rw-r--r-- | oovbaapi/ooo/vba/word/XApplication.idl | 1 | ||||
-rw-r--r-- | oovbaapi/ooo/vba/word/XWordBasic.idl | 24 |
3 files changed, 26 insertions, 0 deletions
diff --git a/oovbaapi/UnoApi_oovbaapi.mk b/oovbaapi/UnoApi_oovbaapi.mk index bb9601f8152b..421dd057a347 100644 --- a/oovbaapi/UnoApi_oovbaapi.mk +++ b/oovbaapi/UnoApi_oovbaapi.mk @@ -1100,6 +1100,7 @@ $(eval $(call gb_UnoApi_add_idlfiles,oovbaapi,ooo/vba/word,\ XVariables \ XView \ XWindow \ + XWordBasic \ XWrapFormat \ )) diff --git a/oovbaapi/ooo/vba/word/XApplication.idl b/oovbaapi/ooo/vba/word/XApplication.idl index 4b0f4f4e9a2a..62319f63a932 100644 --- a/oovbaapi/ooo/vba/word/XApplication.idl +++ b/oovbaapi/ooo/vba/word/XApplication.idl @@ -32,6 +32,7 @@ interface XApplication : XConnectable [attribute, readonly] XSystem System; [attribute, readonly] XOptions Options; [attribute, readonly] XSelection Selection; + [attribute, readonly] XWordBasic WordBasic; [attribute] boolean DisplayAutoCompleteTips; [attribute] long EnableCancelKey; [attribute] long WindowState; diff --git a/oovbaapi/ooo/vba/word/XWordBasic.idl b/oovbaapi/ooo/vba/word/XWordBasic.idl new file mode 100644 index 000000000000..1920f20543a6 --- /dev/null +++ b/oovbaapi/ooo/vba/word/XWordBasic.idl @@ -0,0 +1,24 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +/* + * This file is part of the LibreOffice project. + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + * + */ +#ifndef __ooo_vba_word_XWordBasic_idl__ +#define __ooo_vba_word_XWordBasic_idl__ + +module ooo { module vba { module word { + +interface XWordBasic +{ + void FileOpen( [in] string Name, [in] any ConfirmConversions, [in] any ReadOnly, [in] any AddToMru, [in] any PasswordDoc, [in] any PasswordDot, [in] any Revert, [in] any WritePasswordDoc, [in] any WritePasswordDot ); +}; + +}; }; }; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |