141b4bf98SAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 341b4bf98SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 441b4bf98SAndrew Rist * or more contributor license agreements. See the NOTICE file 541b4bf98SAndrew Rist * distributed with this work for additional information 641b4bf98SAndrew Rist * regarding copyright ownership. The ASF licenses this file 741b4bf98SAndrew Rist * to you under the Apache License, Version 2.0 (the 841b4bf98SAndrew Rist * "License"); you may not use this file except in compliance 941b4bf98SAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 1141b4bf98SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 1341b4bf98SAndrew Rist * Unless required by applicable law or agreed to in writing, 1441b4bf98SAndrew Rist * software distributed under the License is distributed on an 1541b4bf98SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1641b4bf98SAndrew Rist * KIND, either express or implied. See the License for the 1741b4bf98SAndrew Rist * specific language governing permissions and limitations 1841b4bf98SAndrew Rist * under the License. 19cdf0e10cSrcweir * 2041b4bf98SAndrew Rist *************************************************************/ 2141b4bf98SAndrew Rist 2241b4bf98SAndrew Rist 23cdf0e10cSrcweir#ifndef __ooo_vba_msforms_XControl_idl__ 24cdf0e10cSrcweir#define __ooo_vba_msforms_XControl_idl__ 25cdf0e10cSrcweir 26cdf0e10cSrcweir#ifndef __com_sun_star_uno_XInterface_idl__ 27cdf0e10cSrcweir#include <com/sun/star/uno/XInterface.idl> 28cdf0e10cSrcweir#endif 29cdf0e10cSrcweir 30cdf0e10cSrcweir 31cdf0e10cSrcweir//============================================================================= 32cdf0e10cSrcweir 33cdf0e10cSrcweir#ifndef __ooo_vba_XHelperInterface_idl__ 34cdf0e10cSrcweir#include <ooo/vba/XHelperInterface.idl> 35cdf0e10cSrcweir#endif 36cdf0e10cSrcweir 37cdf0e10cSrcweirmodule ooo { module vba { module msforms { 38cdf0e10cSrcweir 39cdf0e10cSrcweir//============================================================================= 40cdf0e10cSrcweirinterface XControl 41cdf0e10cSrcweir{ 42cdf0e10cSrcweir interface ::ooo::vba::XHelperInterface; 43cdf0e10cSrcweir void SetFocus(); 44cdf0e10cSrcweir void Move( [in] double Left, [in] double Top, [in] any Width, [in] any Height ); 45cdf0e10cSrcweir 46cdf0e10cSrcweir [attribute, readonly ] com::sun::star::uno::XInterface Object; 47cdf0e10cSrcweir [attribute] string ControlSource; 48cdf0e10cSrcweir [attribute] string RowSource; 49cdf0e10cSrcweir [attribute] boolean Enabled; 50cdf0e10cSrcweir [attribute] boolean Visible; 51*e44970e3SJohn Bampton //Size. there are some different between Mso and OOo. 52cdf0e10cSrcweir //Mso use double but OOo use long. OOo 1 = 1/100mm but Mso use pt. 53cdf0e10cSrcweir //in Dialogs Mso uses pixels 54cdf0e10cSrcweir [attribute] double Height; 55cdf0e10cSrcweir [attribute] double Width; 56a893be29SPedro Giffuni //Position 57cdf0e10cSrcweir [attribute] double Left; 58cdf0e10cSrcweir [attribute] double Top; 59cdf0e10cSrcweir [attribute] string Name; 60cdf0e10cSrcweir [attribute] string ControlTipText; 61cdf0e10cSrcweir [attribute] string Tag; 62cdf0e10cSrcweir [attribute] long TabIndex; 63cdf0e10cSrcweir}; 64cdf0e10cSrcweir 65cdf0e10cSrcweir//============================================================================= 66cdf0e10cSrcweir 67cdf0e10cSrcweir}; }; }; 68cdf0e10cSrcweir 69cdf0e10cSrcweir#endif 70