diff options
author | Justin Luth <justin.luth@collabora.com> | 2023-02-25 09:59:31 -0500 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2023-02-25 16:37:17 +0000 |
commit | e88aa18972de17f5307356933e29d20026077042 (patch) | |
tree | ca399ba94fc6c8f05b848ed301351da9111d45ee /oovbaapi | |
parent | 0f959ba9e8feef69ac0435795defd5f092147182 (diff) |
word vba: tie "Word" to VBAGlobals
This allows Word. to prefix global commands.
While this is superfluous to use this profix in a DOC/X,
the purpose is to allow the spreadsheet to call
Word.<whatever> macro calls that execute in a word processor.
At this point, it is simply added to SwVbaGlobals
to allow macro calls to run without raising an error.
make CppunitTest_sw_macros_test
Change-Id: Ibeda67d458d4757be809d8669a4e424c4e6c3458
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147682
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r-- | oovbaapi/ooo/vba/word/XGlobals.idl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/word/XGlobals.idl b/oovbaapi/ooo/vba/word/XGlobals.idl index 0e16bcb08d4e..dfbb47f2070b 100644 --- a/oovbaapi/ooo/vba/word/XGlobals.idl +++ b/oovbaapi/ooo/vba/word/XGlobals.idl @@ -31,6 +31,7 @@ interface XGlobals : com::sun::star::uno::XInterface [attribute, readonly] ooo::vba::word::XSystem System; [attribute, readonly] ooo::vba::word::XOptions Options; [attribute, readonly] ooo::vba::word::XSelection Selection; + [attribute, readonly] ooo::vba::word::XGlobals Word; [attribute, readonly] ooo::vba::word::XWordBasic WordBasic; any CommandBars( [in] any Index ); any Documents( [in] any Index ); |