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 .
19 module ooo
{ module vba
{ module office
{
20 constants MsoControlType
{
21 const long msoControlActiveX
= 22;
22 const long msoControlAutoCompleteCombo
= 26;
23 const long msoControlButton
= 1;
24 const long msoControlButtonDropdown
= 5;
25 const long msoControlButtonPopup
= 12;
26 const long msoControlComboBox
= 4;
27 const long msoControlCustom
= 0;
28 const long msoControlDropdown
= 3;
29 const long msoControlEdit
= 2;
30 const long msoControlExpandingGrid
= 16;
31 const long msoControlGauge
= 19;
32 const long msoControlGenericDropdown
= 8;
33 const long msoControlGraphicCombo
= 20;
34 const long msoControlGraphicDropdown
= 9;
35 const long msoControlGraphicPopup
= 11;
36 const long msoControlGrid
= 18;
37 const long msoControlLabel
= 15;
38 const long msoControlLabelEx
= 24;
39 const long msoControlOCXDropdown
= 7;
40 const long msoControlPane
= 21;
41 const long msoControlPopup
= 10;
42 const long msoControlSpinner
= 23;
43 const long msoControlSplitButtonMRUPopup
= 14;
44 const long msoControlSplitButtonPopup
= 13;
45 const long msoControlSplitDropdown
= 6;
46 const long msoControlSplitExpandingGrid
= 17;
47 const long msoControlWorkPane
= 25;