1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#ifndef __com_sun_star_frame_CommandGroup_idl__ 28#define __com_sun_star_frame_CommandGroup_idl__ 29 30//============================================================================= 31 32module com { module sun { module star { module frame { 33 34//============================================================================= 35/** provides information about a supported command 36 37 @see XDispatchInformationProvider 38 @see Controller 39 40 @since OOo 2.0 41 */ 42published constants CommandGroup 43{ 44 //------------------------------------------------------------------------- 45 /** specifies interal commands. 46 */ 47 const short INTERNAL = 0; 48 49 //------------------------------------------------------------------------- 50 /** specifies application based commands. 51 */ 52 const short APPLICATION = 1; 53 54 //------------------------------------------------------------------------- 55 /** specifies view specific commands. 56 */ 57 const short VIEW = 2; 58 59 //------------------------------------------------------------------------- 60 /** specifies document specific commands. 61 */ 62 const short DOCUMENT = 3; 63 64 //------------------------------------------------------------------------- 65 /** specifies edit specific commands. 66 */ 67 const short EDIT = 4; 68 69 //------------------------------------------------------------------------- 70 /** specifies commands used by the built-in Basic. 71 */ 72 const short MACRO = 5; 73 74 //------------------------------------------------------------------------- 75 /** specifies commands to change options. 76 */ 77 const short OPTIONS = 6; 78 79 //------------------------------------------------------------------------- 80 /** specifies math specific commands. 81 */ 82 const short MATH = 7; 83 84 //------------------------------------------------------------------------- 85 /** specifies navigate commands. 86 */ 87 const short NAVIGATOR = 8; 88 89 //------------------------------------------------------------------------- 90 /** specifies insert commands. 91 */ 92 const short INSERT = 9; 93 94 //------------------------------------------------------------------------- 95 /** specifies commands that are related to formats. 96 */ 97 const short FORMAT = 10; 98 99 //------------------------------------------------------------------------- 100 /** specifies commands that are related to templates. 101 */ 102 const short TEMPLATE = 11; 103 104 //------------------------------------------------------------------------- 105 /** specifies text specific commands. 106 */ 107 const short TEXT = 12; 108 109 //------------------------------------------------------------------------- 110 /** specifies frame specific commands. 111 */ 112 const short FRAME = 13; 113 114 //------------------------------------------------------------------------- 115 /** specifies commands that are related to graphical data. 116 */ 117 const short GRAPHIC = 14; 118 119 //------------------------------------------------------------------------- 120 /** specifies commands that are related to tables. 121 */ 122 const short TABLE = 15; 123 124 //------------------------------------------------------------------------- 125 /** specifies commands that are related to bullets and numbering. 126 */ 127 const short ENUMERATION = 16; 128 129 //------------------------------------------------------------------------- 130 /** specifies commands that are related to data. 131 */ 132 const short DATA = 17; 133 134 //------------------------------------------------------------------------- 135 /** specifies special commands. 136 */ 137 const short SPECIAL = 18; 138 139 //------------------------------------------------------------------------- 140 /** specifies commands that are related to images. 141 */ 142 const short IMAGE = 19; 143 144 //------------------------------------------------------------------------- 145 /** specifies chart specific commands. 146 */ 147 const short CHART = 20; 148 149 //------------------------------------------------------------------------- 150 /** specifies explorer specific commands. 151 */ 152 const short EXPLORER = 21; 153 154 //------------------------------------------------------------------------- 155 /** specifies commands that are related to connectors. 156 */ 157 const short CONNECTOR = 22; 158 159 //------------------------------------------------------------------------- 160 /** specifies commands that are related to modifications. 161 */ 162 const short MODIFY = 23; 163 164 //------------------------------------------------------------------------- 165 /** specifies commands that are related to drawing. 166 */ 167 const short DRAWING = 24; 168 169 //------------------------------------------------------------------------- 170 /** specifies commands that are related to controls. 171 */ 172 const short CONTROLS = 25; 173}; 174 175//============================================================================= 176 177}; }; }; }; 178 179#endif 180