1 /* Lasem 2 * 3 * Copyright © 2007-2008 Emmanuel Pacaud 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it under the terms of the GNU Lesser General Public 7 * License as published by the Free Software Foundation; either 8 * version 2 of the License, or (at your option) any later version. 9 * 10 * This library is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 * Lesser General Public License for more details. 14 * 15 * You should have received a copy of the GNU Lesser General 16 * Public License along with this library; if not, write to the 17 * Free Software Foundation, Inc., 59 Temple Place, Suite 330, 18 * Boston, MA 02111-1307, USA. 19 * 20 * Author: 21 * Emmanuel Pacaud <emmanuel@gnome.org> 22 */ 23 24 #ifndef LSM_MATHML_OPERATOR_DICTIONARY_H 25 #define LSM_MATHML_OPERATOR_DICTIONARY_H 26 27 #include <lsmmathmltypes.h> 28 #include <lsmmathmlenums.h> 29 #include <lsmmathmlattributes.h> 30 31 G_BEGIN_DECLS 32 33 typedef struct { 34 const char *name; 35 LsmMathmlForm form; 36 LsmMathmlSpace left_space; 37 LsmMathmlSpace right_space; 38 gboolean stretchy; 39 gboolean fence; 40 gboolean accent; 41 gboolean large_op; 42 gboolean movable_limits; 43 gboolean separator; 44 LsmMathmlSpace min_size; 45 LsmMathmlSpace max_size; 46 gboolean symmetric; 47 } LsmMathmlOperatorDictionaryEntry; 48 49 const LsmMathmlOperatorDictionaryEntry * lsm_mathml_operator_dictionary_lookup (const char *utf8, LsmMathmlForm form); 50 51 G_END_DECLS 52 53 #endif 54 55