1*41b4bf98SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*41b4bf98SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*41b4bf98SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*41b4bf98SAndrew Rist * distributed with this work for additional information
6*41b4bf98SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*41b4bf98SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*41b4bf98SAndrew Rist * "License"); you may not use this file except in compliance
9*41b4bf98SAndrew Rist * with the License.  You may obtain a copy of the License at
10*41b4bf98SAndrew Rist *
11*41b4bf98SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*41b4bf98SAndrew Rist *
13*41b4bf98SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*41b4bf98SAndrew Rist * software distributed under the License is distributed on an
15*41b4bf98SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*41b4bf98SAndrew Rist * KIND, either express or implied.  See the License for the
17*41b4bf98SAndrew Rist * specific language governing permissions and limitations
18*41b4bf98SAndrew Rist * under the License.
19*41b4bf98SAndrew Rist *
20*41b4bf98SAndrew Rist *************************************************************/
21*41b4bf98SAndrew Rist
22*41b4bf98SAndrew 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;
51cdf0e10cSrcweir    //Size. there are some defferent 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;
56cdf0e10cSrcweir    //Postion
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
70cdf0e10cSrcweir
71cdf0e10cSrcweir
72