1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module ooo
{ module vba
{ module msforms
{
25 interface ::ooo
::vba
::XHelperInterface
;
27 void Move
( [in] double Left
, [in] double Top
, [in] any Width
, [in] any Height
);
28 // support for unit test harness ( and possibly internal clients )
29 // to generate events that will call appropriate event handlers
30 void fireEvent
( [in] com
::sun
::star
::script
::ScriptEvent evt
);
31 [attribute
, readonly ] com
::sun
::star
::uno
::XInterface
Object;
32 [attribute
] string ControlSource
;
33 [attribute
] string RowSource
;
34 [attribute
] boolean Enabled
;
35 [attribute
] boolean Visible
;
36 [attribute
] long MousePointer
;
37 //Size. there are some different between Mso and OOo.
38 //Mso use double but OOo use long. OOo 1 = 1/100mm but Mso use pt.
39 //in Dialogs Mso uses pixels
40 [attribute
] double Height
;
41 [attribute
] double Width
;
43 [attribute
] double Left
;
44 [attribute
] double Top
;
45 [attribute
] string Name
;
46 [attribute
] string ControlTipText
;
47 [attribute
] string Tag
;
48 [attribute
] long TabIndex
;
56 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */