1*ad7bc010SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*ad7bc010SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*ad7bc010SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*ad7bc010SAndrew Rist * distributed with this work for additional information 6*ad7bc010SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*ad7bc010SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*ad7bc010SAndrew Rist * "License"); you may not use this file except in compliance 9*ad7bc010SAndrew Rist * with the License. You may obtain a copy of the License at 10*ad7bc010SAndrew Rist * 11*ad7bc010SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*ad7bc010SAndrew Rist * 13*ad7bc010SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*ad7bc010SAndrew Rist * software distributed under the License is distributed on an 15*ad7bc010SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*ad7bc010SAndrew Rist * KIND, either express or implied. See the License for the 17*ad7bc010SAndrew Rist * specific language governing permissions and limitations 18*ad7bc010SAndrew Rist * under the License. 19*ad7bc010SAndrew Rist * 20*ad7bc010SAndrew Rist *************************************************************/ 21*ad7bc010SAndrew Rist 22*ad7bc010SAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef __ooo_vba_XApplicationBase_idl__ 25cdf0e10cSrcweir#define __ooo_vba_XApplicationBase_idl__ 26cdf0e10cSrcweir 27cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl> 28cdf0e10cSrcweir 29cdf0e10cSrcweirmodule ooo { module vba { 30cdf0e10cSrcweir 31cdf0e10cSrcweir//============================================================================= 32cdf0e10cSrcweir 33cdf0e10cSrcweirinterface XApplicationBase 34cdf0e10cSrcweir{ 35cdf0e10cSrcweir interface ::ooo::vba::XHelperInterface; 36cdf0e10cSrcweir 37cdf0e10cSrcweir [attribute] boolean ScreenUpdating; 38cdf0e10cSrcweir [attribute] boolean DisplayStatusBar; 39cdf0e10cSrcweir [attribute] boolean Interactive; 40cdf0e10cSrcweir [attribute] boolean Visible; 41cdf0e10cSrcweir 42cdf0e10cSrcweir [attribute, readonly] string Version; 43cdf0e10cSrcweir [attribute, readonly] any VBE; 44cdf0e10cSrcweir 45cdf0e10cSrcweir void Quit(); 46cdf0e10cSrcweir 47cdf0e10cSrcweir any CommandBars( [in] any Index ); 48cdf0e10cSrcweir void Run( [in] string Macro, [in] /*Optional*/ any Arg1, [in] /*Optional*/ any Arg2, [in] /*Optional*/ any Arg3, [in] /*Optional*/ any Arg4, [in] /*Optional*/ any Arg5, [in] /*Optional*/ any Arg6, [in] /*Optional*/ any Arg7, [in] /*Optional*/ any Arg8, [in] /*Optional*/ any Arg9, [in] /*Optional*/ any Arg10, [in] /*Optional*/ any Arg11, [in] /*Optional*/ any Arg12, [in] /*Optional*/ any Arg13, [in] /*Optional*/ any Arg14, [in] /*Optional*/ any Arg15, [in] /*Optional*/ any Arg16, [in] /*Optional*/ any Arg17, [in] /*Optional*/ any Arg18, [in] /*Optional*/ any Arg19, [in] /*Optional*/ any Arg20, [in] /*Optional*/ any Arg21, [in] /*Optional*/ any Arg22, [in] /*Optional*/ any Arg23, [in] /*Optional*/ any Arg24, [in] /*Optional*/ any Arg25, [in] /*Optional*/ any Arg26, [in] /*Optional*/ any Arg27, [in] /*Optional*/ any Arg28, [in] /*Optional*/ any Arg29, [in] /*Optional*/ any Arg30); 49cdf0e10cSrcweir void OnTime( [in] any EarliestTime, [in] string Procedure, [in] any LatestTime, [in] any Schedule ); 50cdf0e10cSrcweir float CentimetersToPoints([in] float Centimeters ); 51cdf0e10cSrcweir void Undo(); 52cdf0e10cSrcweir}; 53cdf0e10cSrcweir 54cdf0e10cSrcweir//============================================================================= 55cdf0e10cSrcweir 56cdf0e10cSrcweir}; }; 57cdf0e10cSrcweir 58cdf0e10cSrcweir#endif 59