Version 4.0.2.1, tag libreoffice-4.0.2.1
[LibreOffice.git] / oovbaapi / ooo / vba / XApplicationBase.idl
blob67d391c549e2fc118bc6bbf128f70dfbb324792b
1 /*
2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __ooo_vba_XApplicationBase_idl__
20 #define __ooo_vba_XApplicationBase_idl__
22 #include <ooo/vba/XHelperInterface.idl>
24 module ooo { module vba {
26 //=============================================================================
28 interface XApplicationBase
30 interface ::ooo::vba::XHelperInterface;
32 [attribute] boolean ScreenUpdating;
33 [attribute] boolean DisplayStatusBar;
34 [attribute] boolean Interactive;
35 [attribute] boolean Visible;
37 [attribute, readonly] string Version;
38 [attribute, readonly] any VBE;
40 void Quit();
41 void OnKey( [in] string Key, [in] any Procedure );
42 any CommandBars( [in] any Index );
43 any Run([in] string MacroName, [in] /*Optional*/ any varg1, [in] /*Optional*/ any varg2, [in] /*Optional*/ any varg3, [in] /*Optional*/ any varg4, [in] /*Optional*/ any varg5, [in] /*Optional*/ any varg6, [in] /*Optional*/ any varg7, [in] /*Optional*/ any varg8, [in] /*Optional*/ any varg9, [in] /*Optional*/ any varg10, [in] /*Optional*/ any varg11, [in] /*Optional*/ any varg12, [in] /*Optional*/ any varg13, [in] /*Optional*/ any varg14, [in] /*Optional*/ any varg15, [in] /*Optional*/ any varg16, [in] /*Optional*/ any varg17, [in] /*Optional*/ any varg18, [in] /*Optional*/ any varg19, [in] /*Optional*/ any varg20, [in] /*Optional*/ any varg21, [in] /*Optional*/ any varg22, [in] /*Optional*/ any varg23, [in] /*Optional*/ any varg24, [in] /*Optional*/ any varg25, [in] /*Optional*/ any varg26, [in] /*Optional*/ any varg27, [in] /*Optional*/ any varg28, [in] /*Optional*/ any varg29, [in] /*Optional*/ any varg30);
44 void OnTime( [in] any EarliestTime, [in] string Procedure, [in] any LatestTime, [in] any Schedule );
45 float CentimetersToPoints([in] float Centimeters );
46 void Undo();
49 //=============================================================================
51 }; };
53 #endif