1 // -*- C++ -*- 2 /** 3 * \file InsetCode.h 4 * This file is part of LyX, the document processor. 5 * Licence details can be found in the file COPYING. 6 * 7 * \author Alejandro Aguilar Sierra 8 * \author Jürgen Vigna 9 * \author Lars Gullik Bjønnes 10 * \author Matthias Ettrich 11 * 12 * Full author contact details are available in file CREDITS. 13 */ 14 15 #ifndef INSETCODE_H 16 #define INSETCODE_H 17 18 namespace lyx { 19 20 enum InsetCode { 21 /// 22 NO_CODE, // 0 23 /// 24 TOC_CODE, // do these insets really need a code? (ale) 25 /// 26 QUOTE_CODE, 27 /// 28 MARK_CODE, 29 /// 30 REF_CODE, 31 /// 32 HYPERLINK_CODE, // 5 33 /// 34 SEPARATOR_CODE, 35 /// 36 ENDING_CODE, 37 /// 38 LABEL_CODE, 39 /// 40 NOTE_CODE, 41 /// 42 ACCENT_CODE, // 10 43 /// 44 MATH_CODE, 45 /// 46 INDEX_CODE, 47 /// 48 INCLUDE_CODE, 49 /// 50 GRAPHICS_CODE, 51 /// 52 BIBITEM_CODE, // 15 53 /// 54 BIBTEX_CODE, 55 /// 56 TEXT_CODE, 57 /// 58 ERT_CODE, 59 /// 60 FOOT_CODE, 61 /// 62 MARGIN_CODE, // 20 63 /// 64 FLOAT_CODE, 65 /// 66 WRAP_CODE, 67 /// 68 SPACE_CODE, 69 /// 70 SPECIALCHAR_CODE, 71 /// 72 TABULAR_CODE, // 25 73 /// 74 EXTERNAL_CODE, 75 /// 76 CAPTION_CODE, 77 /// 78 MATHMACRO_CODE, 79 /// 80 CITE_CODE, 81 /// 82 FLOAT_LIST_CODE, // 30 83 /// 84 INDEX_PRINT_CODE, 85 /// 86 ARG_CODE, 87 /// 88 CELL_CODE, 89 /// 90 NEWLINE_CODE, 91 /// 92 LINE_CODE, // 35 93 /// 94 BRANCH_CODE, 95 /// 96 BOX_CODE, 97 /// 98 FLEX_CODE, 99 /// 100 VSPACE_CODE, 101 /// 102 MATH_MACROARG_CODE, // 40 103 /// 104 NOMENCL_CODE, 105 /// 106 NOMENCL_PRINT_CODE, 107 /// 108 NEWPAGE_CODE, 109 /// 110 LISTINGS_CODE, 111 /// 112 INFO_CODE, // 45 113 /// 114 COLLAPSIBLE_CODE, 115 /// 116 PHANTOM_CODE, 117 /// 118 MATH_AMSARRAY_CODE, 119 /// 120 MATH_ARRAY_CODE, 121 /// 122 MATH_BIG_CODE, // 50 123 /// 124 MATH_BOLDSYMBOL_CODE, 125 /// 126 MATH_BOX_CODE, 127 /// 128 MATH_BRACE_CODE, 129 /// 130 MATH_CANCEL_CODE, 131 /// 132 MATH_CANCELTO_CODE, // 55 133 /// 134 MATH_CASES_CODE, 135 /// 136 MATH_CHAR_CODE, 137 /// 138 MATH_COLOR_CODE, 139 /// 140 MATH_COMMENT_CODE, 141 /// 142 MATH_DECORATION_CODE, // 60 143 /// 144 MATH_DELIM_CODE, 145 /// 146 MATH_DIFF_CODE, 147 /// 148 MATH_DOTS_CODE, 149 /// 150 MATH_ENSUREMATH_CODE, 151 /// 152 MATH_ENV_CODE, // 65 153 /// 154 MATH_EXFUNC_CODE, 155 /// 156 MATH_EXINT_CODE, 157 /// 158 MATH_FONT_CODE, 159 /// 160 MATH_FONTOLD_CODE, 161 /// 162 MATH_FRAC_CODE, // 70 163 /// 164 MATH_GRID_CODE, 165 /// 166 MATH_HULL_CODE, 167 /// 168 MATH_KERN_CODE, 169 /// 170 MATH_LEFTEQN_CODE, 171 /// 172 MATH_LIM_CODE, // 75 173 /// 174 MATH_MATRIX_CODE, 175 /// 176 MATH_MBOX_CODE, 177 /// 178 MATH_NEST_CODE, 179 /// 180 MATH_NUMBER_CODE, 181 /// 182 MATH_OVERSET_CODE, // 80 183 /// 184 MATH_PAR_CODE, 185 /// 186 MATH_PHANTOM_CODE, 187 /// 188 MATH_REF_CODE, 189 /// 190 MATH_ROOT_CODE, 191 /// 192 MATH_SCRIPT_CODE, // 85 193 /// 194 MATH_SIZE_CODE, 195 /// 196 MATH_SPACE_CODE, 197 /// 198 MATH_SPECIALCHAR_CODE, 199 /// 200 MATH_SPLIT_CODE, 201 /// 202 MATH_SQRT_CODE, // 90 203 /// 204 MATH_STACKREL_CODE, 205 /// 206 MATH_STRING_CODE, 207 /// 208 MATH_SUBSTACK_CODE, 209 /// 210 MATH_SYMBOL_CODE, 211 /// 212 MATH_TABULAR_CODE, // 95 213 /// 214 MATH_UNDERSET_CODE, 215 /// 216 MATH_UNKNOWN_CODE, 217 /// 218 MATH_XARROW_CODE, 219 /// 220 MATH_XYMATRIX_CODE, 221 /// 222 MATH_MACRO_CODE, // 100 223 /// 224 ARGUMENT_PROXY_CODE, 225 /// 226 PREVIEW_CODE, 227 /// 228 MATH_DIAGRAM_CODE, 229 /// 230 SCRIPT_CODE, 231 /// 232 IPA_CODE, // 105 233 /// 234 IPACHAR_CODE, 235 /// 236 IPADECO_CODE, 237 /// 238 MATH_CLASS_CODE, 239 /// 240 INSET_CODE_SIZE 241 }; 242 243 } // namespace lyx 244 245 #endif 246