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 .
18 #ifndef __ooo_vba_msforms_XControl_idl__
19 #define __ooo_vba_msforms_XControl_idl__
21 #include
<com
/sun
/star
/uno
/XInterface.idl
>
22 #include
<com
/sun
/star
/script
/ScriptEvent.idl
>
23 #include
<ooo
/vba
/XHelperInterface.idl
>
25 module ooo
{ module vba
{ module msforms
{
27 //=============================================================================
30 interface ::ooo
::vba
::XHelperInterface
;
32 void Move
( [in] double Left
, [in] double Top
, [in] any Width
, [in] any Height
);
33 // support for unit test harness ( and possibly internal clients )
34 // to generate events that will call appropriate event handlers
35 void fireEvent
( [in] com
::sun
::star
::script
::ScriptEvent evt
);
36 [attribute
, readonly ] com
::sun
::star
::uno
::XInterface
Object;
37 [attribute
] string ControlSource
;
38 [attribute
] string RowSource
;
39 [attribute
] boolean Enabled
;
40 [attribute
] boolean Visible
;
41 [attribute
] long MousePointer
;
42 //Size. there are some defferent between Mso and OOo.
43 //Mso use double but OOo use long. OOo 1 = 1/100mm but Mso use pt.
44 //in Dialogs Mso uses pixels
45 [attribute
] double Height
;
46 [attribute
] double Width
;
48 [attribute
] double Left
;
49 [attribute
] double Top
;
50 [attribute
] string Name
;
51 [attribute
] string ControlTipText
;
52 [attribute
] string Tag
;
53 [attribute
] long TabIndex
;
56 //=============================================================================