lok: vcl: fix multiple floatwin removal case more robustly.
[LibreOffice.git] / oovbaapi / ooo / vba / word / XApplication.idl
blob76d8a326c8060295139756935fa102abb8761e07
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __ooo_vba_word_XApplication_idl__
20 #define __ooo_vba_word_XApplication_idl__
22 #include <com/sun/star/uno/XInterface.idl>
23 #include <ooo/vba/XHelperInterface.idl>
25 module ooo { module vba { module word {
27 interface XApplication : XConnectable
29 [attribute, readonly] XDocument ActiveDocument;
30 [attribute, readonly] XWindow ActiveWindow;
31 [attribute, readonly] string Name;
32 [attribute, readonly] XSystem System;
33 [attribute, readonly] XOptions Options;
34 [attribute, readonly] XSelection Selection;
35 [attribute, readonly] XWordBasic WordBasic;
36 [attribute] boolean DisplayAutoCompleteTips;
37 [attribute] long EnableCancelKey;
38 [attribute] long WindowState;
39 [attribute] long Width;
40 [attribute] long Height;
41 [attribute] long Left;
42 [attribute] long Top;
43 // Setting this displays the string in a SAL_INFO message with tag
44 // extensions.olebridge. Provides a way to get a message from an
45 // Automation client into LibreOffice's debug output. Less
46 // disruptive than a MessageBox() in a VB6 client, for instance.
47 // And makes it possible to get merged debug output from both the client
48 // and LibreOffice in proper synchronized order.
50 // Actually write-only but there is no way to say that in UNO IDL.
51 // The getter just returns an empty string.
52 [attribute] string StatusBar;
53 [attribute] any CustomizationContext;
55 any CommandBars( [in] any Index );
56 any Documents( [in] any Index );
57 any Addins( [in] any Index );
58 any Dialogs( [in] any Index );
59 any ListGalleries( [in] any aIndex );
60 float CentimetersToPoints([in] float Centimeters );
61 void ShowMe();
62 void Resize( [in] long Width, [in] long Height );
63 void Move( [in] long Left, [in] long Top );
66 }; }; };
68 #endif
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */