xref: /AOO41X/main/offapi/com/sun/star/frame/CommandGroup.idl (revision c4dc0a1aba8e7aaa49e08ea6b3b605484dad910b)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_frame_CommandGroup_idl__
24#define __com_sun_star_frame_CommandGroup_idl__
25
26//=============================================================================
27
28module com {  module sun {  module star {  module frame {
29
30//=============================================================================
31/** provides information about a supported command
32
33    @see XDispatchInformationProvider
34    @see Controller
35
36    @since OpenOffice 2.0
37 */
38published constants CommandGroup
39{
40    //-------------------------------------------------------------------------
41    /** specifies interal commands.
42     */
43    const short INTERNAL = 0;
44
45    //-------------------------------------------------------------------------
46    /** specifies application based commands.
47     */
48    const short APPLICATION = 1;
49
50    //-------------------------------------------------------------------------
51    /** specifies view specific commands.
52     */
53    const short VIEW = 2;
54
55    //-------------------------------------------------------------------------
56    /** specifies document specific commands.
57     */
58    const short DOCUMENT = 3;
59
60    //-------------------------------------------------------------------------
61    /** specifies edit specific commands.
62     */
63    const short EDIT = 4;
64
65    //-------------------------------------------------------------------------
66    /** specifies commands used by the built-in Basic.
67     */
68    const short MACRO = 5;
69
70    //-------------------------------------------------------------------------
71    /** specifies commands to change options.
72     */
73    const short OPTIONS = 6;
74
75    //-------------------------------------------------------------------------
76    /** specifies math specific commands.
77     */
78    const short MATH = 7;
79
80    //-------------------------------------------------------------------------
81    /** specifies navigate commands.
82     */
83    const short NAVIGATOR = 8;
84
85    //-------------------------------------------------------------------------
86    /** specifies insert commands.
87     */
88    const short INSERT = 9;
89
90    //-------------------------------------------------------------------------
91    /** specifies commands that are related to formats.
92     */
93    const short FORMAT = 10;
94
95    //-------------------------------------------------------------------------
96    /** specifies commands that are related to templates.
97     */
98    const short TEMPLATE = 11;
99
100    //-------------------------------------------------------------------------
101    /** specifies text specific commands.
102     */
103    const short TEXT = 12;
104
105    //-------------------------------------------------------------------------
106    /** specifies frame specific commands.
107     */
108    const short FRAME = 13;
109
110    //-------------------------------------------------------------------------
111    /** specifies commands that are related to graphical data.
112     */
113    const short GRAPHIC = 14;
114
115    //-------------------------------------------------------------------------
116    /** specifies commands that are related to tables.
117     */
118    const short TABLE = 15;
119
120    //-------------------------------------------------------------------------
121    /** specifies commands that are related to bullets and numbering.
122     */
123    const short ENUMERATION = 16;
124
125    //-------------------------------------------------------------------------
126    /** specifies commands that are related to data.
127     */
128    const short DATA = 17;
129
130    //-------------------------------------------------------------------------
131    /** specifies special commands.
132     */
133    const short SPECIAL = 18;
134
135    //-------------------------------------------------------------------------
136    /** specifies commands that are related to images.
137     */
138    const short IMAGE = 19;
139
140    //-------------------------------------------------------------------------
141    /** specifies chart specific commands.
142     */
143    const short CHART = 20;
144
145    //-------------------------------------------------------------------------
146    /** specifies explorer specific commands.
147     */
148    const short EXPLORER = 21;
149
150    //-------------------------------------------------------------------------
151    /** specifies commands that are related to connectors.
152     */
153    const short CONNECTOR = 22;
154
155    //-------------------------------------------------------------------------
156    /** specifies commands that are related to modifications.
157     */
158    const short MODIFY = 23;
159
160    //-------------------------------------------------------------------------
161    /** specifies commands that are related to drawing.
162     */
163    const short DRAWING = 24;
164
165    //-------------------------------------------------------------------------
166    /** specifies commands that are related to controls.
167     */
168    const short CONTROLS = 25;
169};
170
171//=============================================================================
172
173}; }; }; };
174
175#endif
176