summaryrefslogtreecommitdiff
path: root/oovbaapi
diff options
context:
space:
mode:
authorJustin Luth <justin.luth@collabora.com>2023-02-24 12:45:35 -0500
committerJustin Luth <jluth@mail.com>2023-02-24 21:55:40 +0000
commitd6f3715190494b55e2ecc105cbd6e5ddeff47f0c (patch)
treec556055bbe33bb0fd6f126ca8681af88f7092c37 /oovbaapi
parenta39f5da6f621fc60df0dbdd6c5a08cae5a18763f (diff)
word vba: Add activeWindow to XDocument
This allows ActiveDocument.ActiveWindow.* It already works as a global, and as Aplication.ActiveWindow Unit test will follow when some of the * items are added. Change-Id: I7fb18df9f6259ec4b9d60516b2da704098831dfc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147665 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'oovbaapi')
-rw-r--r--oovbaapi/ooo/vba/word/XDocument.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/oovbaapi/ooo/vba/word/XDocument.idl b/oovbaapi/ooo/vba/word/XDocument.idl
index 354cac11b2ed..99bdd5249a6a 100644
--- a/oovbaapi/ooo/vba/word/XDocument.idl
+++ b/oovbaapi/ooo/vba/word/XDocument.idl
@@ -25,6 +25,7 @@ interface XDocument
interface XConnectable;
[attribute, readonly] XRange Content;
+ [attribute, readonly] XWindow ActiveWindow;
[attribute] any AttachedTemplate;
[attribute] long ProtectionType;
[attribute] boolean UpdateStylesOnOpen;