mathematical 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +11 -21
- data/ext/mathematical/extconf.rb +21 -12
- data/ext/mathematical/lasem/Makefile +10 -10
- data/ext/mathematical/lasem/docs/Makefile +9 -9
- data/ext/mathematical/lasem/docs/reference/Makefile +9 -9
- data/ext/mathematical/lasem/docs/reference/lasem/Makefile +15 -9
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl-list.txt +245 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-decl.txt +856 -0
- data/ext/mathematical/lasem/docs/reference/lasem/lasem-overrides.txt +0 -0
- data/ext/mathematical/lasem/itex2mml/Makefile +9 -9
- data/ext/mathematical/lasem/src/Makefile +34 -13
- data/ext/mathematical/lasem/src/lasemrender.c +13 -7
- data/ext/mathematical/lasem/src/lsmdomenumtypes.c +99 -0
- data/ext/mathematical/lasem/src/lsmdomenumtypes.h +26 -0
- data/ext/mathematical/lasem/src/lsmmathmlenums.c +24 -0
- data/ext/mathematical/lasem/src/lsmmathmlenums.h +12 -1
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.c +793 -0
- data/ext/mathematical/lasem/src/lsmmathmlenumtypes.h +96 -0
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +14 -0
- data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +1 -1
- data/ext/mathematical/lasem/src/lsmmathmltraits.c +24 -0
- data/ext/mathematical/lasem/src/lsmmathmltraits.h +1 -0
- data/ext/mathematical/lasem/src/lsmsvgattributes.h +50 -0
- data/ext/mathematical/lasem/src/lsmsvgdocument.c +18 -0
- data/ext/mathematical/lasem/src/lsmsvgenums.c +130 -0
- data/ext/mathematical/lasem/src/lsmsvgenums.h +59 -0
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.c +1254 -0
- data/ext/mathematical/lasem/src/lsmsvgenumtypes.h +129 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +115 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +206 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +64 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +124 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +60 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +167 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +116 -0
- data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +58 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +9 -2
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +1169 -87
- data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +28 -2
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +142 -0
- data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +61 -0
- data/ext/mathematical/lasem/src/lsmsvgtraits.c +249 -0
- data/ext/mathematical/lasem/src/lsmsvgtraits.h +18 -0
- data/ext/mathematical/lasem/src/lsmsvgtypes.h +6 -0
- data/ext/mathematical/lasem/src/lsmsvgview.c +267 -66
- data/ext/mathematical/lasem/src/lsmsvgview.h +23 -0
- data/ext/mathematical/lasem/src/lsmtraits.c +53 -1
- data/ext/mathematical/lasem/src/lsmtraits.h +2 -0
- data/ext/mathematical/lasem/tests/Makefile +26 -15
- data/ext/mathematical/lasem/tests/filter.c +152 -0
- data/ext/mathematical/lasem/tests/lsmtest.c +34 -30
- data/ext/mathematical/lasem/tests/suite.c +5 -2
- data/ext/mathematical/lib/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/CMakeCache.txt +425 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +55 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +56 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake +15 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/2.8.10.1/CompilerIdC/CMakeCCompilerId.c +393 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +34 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +95 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +34 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +44 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +19 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +43 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +18 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean_target.cmake +3 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/DependInfo.cmake +27 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/cmake_clean.cmake +8 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +44 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +19 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +59 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +35 -0
- data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -0
- data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +7 -0
- data/ext/mathematical/mtex2MML/build/Makefile +1332 -0
- data/ext/mathematical/mtex2MML/build/cmake_install.cmake +43 -0
- data/ext/mathematical/mtex2MML/build/lexer.c +8877 -0
- data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
- data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +35 -0
- data/ext/mathematical/mtex2MML/build/parser.c +10202 -0
- data/ext/mathematical/mtex2MML/build/parser.h +619 -0
- data/ext/mathematical/mtex2MML/src/mtex2MML.h +1 -1
- data/lib/mathematical/version.rb +1 -1
- metadata +115 -2
@@ -0,0 +1,793 @@
|
|
1
|
+
|
2
|
+
/* Generated data (by glib-mkenums) */
|
3
|
+
|
4
|
+
#include "lsmmathmlenumtypes.h"
|
5
|
+
|
6
|
+
/* enumerations from "lsmmathmlenums.h" */
|
7
|
+
#include "lsmmathmlenums.h"
|
8
|
+
|
9
|
+
GType
|
10
|
+
lsm_mathml_css_type_get_type (void)
|
11
|
+
{
|
12
|
+
static GType the_type = 0;
|
13
|
+
|
14
|
+
if (the_type == 0)
|
15
|
+
{
|
16
|
+
static const GEnumValue values[] = {
|
17
|
+
{ LSM_MATHML_CSS_TYPE_USER,
|
18
|
+
"LSM_MATHML_CSS_TYPE_USER",
|
19
|
+
"user" },
|
20
|
+
{ LSM_MATHML_CSS_TYPE_AUTHOR,
|
21
|
+
"LSM_MATHML_CSS_TYPE_AUTHOR",
|
22
|
+
"author" },
|
23
|
+
{ LSM_MATHML_CSS_TYPE_AUTHOR_IMPORTANT,
|
24
|
+
"LSM_MATHML_CSS_TYPE_AUTHOR_IMPORTANT",
|
25
|
+
"author-important" },
|
26
|
+
{ LSM_MATHML_CSS_TYPE_USER_IMPORTANT,
|
27
|
+
"LSM_MATHML_CSS_TYPE_USER_IMPORTANT",
|
28
|
+
"user-important" },
|
29
|
+
{ 0, NULL, NULL }
|
30
|
+
};
|
31
|
+
the_type = g_enum_register_static (
|
32
|
+
g_intern_static_string ("LsmMathmlCssType"),
|
33
|
+
values);
|
34
|
+
}
|
35
|
+
return the_type;
|
36
|
+
}
|
37
|
+
|
38
|
+
GType
|
39
|
+
lsm_mathml_mode_get_type (void)
|
40
|
+
{
|
41
|
+
static GType the_type = 0;
|
42
|
+
|
43
|
+
if (the_type == 0)
|
44
|
+
{
|
45
|
+
static const GEnumValue values[] = {
|
46
|
+
{ LSM_MATHML_MODE_ERROR,
|
47
|
+
"LSM_MATHML_MODE_ERROR",
|
48
|
+
"error" },
|
49
|
+
{ LSM_MATHML_MODE_DISPLAY,
|
50
|
+
"LSM_MATHML_MODE_DISPLAY",
|
51
|
+
"display" },
|
52
|
+
{ LSM_MATHML_MODE_INLINE,
|
53
|
+
"LSM_MATHML_MODE_INLINE",
|
54
|
+
"inline" },
|
55
|
+
{ 0, NULL, NULL }
|
56
|
+
};
|
57
|
+
the_type = g_enum_register_static (
|
58
|
+
g_intern_static_string ("LsmMathmlMode"),
|
59
|
+
values);
|
60
|
+
}
|
61
|
+
return the_type;
|
62
|
+
}
|
63
|
+
|
64
|
+
GType
|
65
|
+
lsm_mathml_display_get_type (void)
|
66
|
+
{
|
67
|
+
static GType the_type = 0;
|
68
|
+
|
69
|
+
if (the_type == 0)
|
70
|
+
{
|
71
|
+
static const GEnumValue values[] = {
|
72
|
+
{ LSM_MATHML_DISPLAY_ERROR,
|
73
|
+
"LSM_MATHML_DISPLAY_ERROR",
|
74
|
+
"error" },
|
75
|
+
{ LSM_MATHML_DISPLAY_BLOCK,
|
76
|
+
"LSM_MATHML_DISPLAY_BLOCK",
|
77
|
+
"block" },
|
78
|
+
{ LSM_MATHML_DISPLAY_INLINE,
|
79
|
+
"LSM_MATHML_DISPLAY_INLINE",
|
80
|
+
"inline" },
|
81
|
+
{ 0, NULL, NULL }
|
82
|
+
};
|
83
|
+
the_type = g_enum_register_static (
|
84
|
+
g_intern_static_string ("LsmMathmlDisplay"),
|
85
|
+
values);
|
86
|
+
}
|
87
|
+
return the_type;
|
88
|
+
}
|
89
|
+
|
90
|
+
GType
|
91
|
+
lsm_mathml_space_name_get_type (void)
|
92
|
+
{
|
93
|
+
static GType the_type = 0;
|
94
|
+
|
95
|
+
if (the_type == 0)
|
96
|
+
{
|
97
|
+
static const GEnumValue values[] = {
|
98
|
+
{ LSM_MATHML_SPACE_NAME_ERROR,
|
99
|
+
"LSM_MATHML_SPACE_NAME_ERROR",
|
100
|
+
"error" },
|
101
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_VERY_THIN,
|
102
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_VERY_THIN",
|
103
|
+
"negative-very-very-thin" },
|
104
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_THIN,
|
105
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_THIN",
|
106
|
+
"negative-very-thin" },
|
107
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_THIN,
|
108
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_THIN",
|
109
|
+
"negative-thin" },
|
110
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_MEDIUM,
|
111
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_MEDIUM",
|
112
|
+
"negative-medium" },
|
113
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_THICK,
|
114
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_THICK",
|
115
|
+
"negative-thick" },
|
116
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_THICK,
|
117
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_THICK",
|
118
|
+
"negative-very-thick" },
|
119
|
+
{ LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_VERY_THICK,
|
120
|
+
"LSM_MATHML_SPACE_NAME_NEGATIVE_VERY_VERY_THICK",
|
121
|
+
"negative-very-very-thick" },
|
122
|
+
{ LSM_MATHML_SPACE_NAME_VERY_VERY_THIN,
|
123
|
+
"LSM_MATHML_SPACE_NAME_VERY_VERY_THIN",
|
124
|
+
"very-very-thin" },
|
125
|
+
{ LSM_MATHML_SPACE_NAME_VERY_THIN,
|
126
|
+
"LSM_MATHML_SPACE_NAME_VERY_THIN",
|
127
|
+
"very-thin" },
|
128
|
+
{ LSM_MATHML_SPACE_NAME_THIN,
|
129
|
+
"LSM_MATHML_SPACE_NAME_THIN",
|
130
|
+
"thin" },
|
131
|
+
{ LSM_MATHML_SPACE_NAME_MEDIUM,
|
132
|
+
"LSM_MATHML_SPACE_NAME_MEDIUM",
|
133
|
+
"medium" },
|
134
|
+
{ LSM_MATHML_SPACE_NAME_THICK,
|
135
|
+
"LSM_MATHML_SPACE_NAME_THICK",
|
136
|
+
"thick" },
|
137
|
+
{ LSM_MATHML_SPACE_NAME_VERY_THICK,
|
138
|
+
"LSM_MATHML_SPACE_NAME_VERY_THICK",
|
139
|
+
"very-thick" },
|
140
|
+
{ LSM_MATHML_SPACE_NAME_VERY_VERY_THICK,
|
141
|
+
"LSM_MATHML_SPACE_NAME_VERY_VERY_THICK",
|
142
|
+
"very-very-thick" },
|
143
|
+
{ LSM_MATHML_SPACE_NAME_INFINITY,
|
144
|
+
"LSM_MATHML_SPACE_NAME_INFINITY",
|
145
|
+
"infinity" },
|
146
|
+
{ 0, NULL, NULL }
|
147
|
+
};
|
148
|
+
the_type = g_enum_register_static (
|
149
|
+
g_intern_static_string ("LsmMathmlSpaceName"),
|
150
|
+
values);
|
151
|
+
}
|
152
|
+
return the_type;
|
153
|
+
}
|
154
|
+
|
155
|
+
GType
|
156
|
+
lsm_mathml_unit_get_type (void)
|
157
|
+
{
|
158
|
+
static GType the_type = 0;
|
159
|
+
|
160
|
+
if (the_type == 0)
|
161
|
+
{
|
162
|
+
static const GEnumValue values[] = {
|
163
|
+
{ LSM_MATHML_UNIT_ERROR,
|
164
|
+
"LSM_MATHML_UNIT_ERROR",
|
165
|
+
"error" },
|
166
|
+
{ LSM_MATHML_UNIT_NONE,
|
167
|
+
"LSM_MATHML_UNIT_NONE",
|
168
|
+
"none" },
|
169
|
+
{ LSM_MATHML_UNIT_EM,
|
170
|
+
"LSM_MATHML_UNIT_EM",
|
171
|
+
"em" },
|
172
|
+
{ LSM_MATHML_UNIT_EX,
|
173
|
+
"LSM_MATHML_UNIT_EX",
|
174
|
+
"ex" },
|
175
|
+
{ LSM_MATHML_UNIT_IN,
|
176
|
+
"LSM_MATHML_UNIT_IN",
|
177
|
+
"in" },
|
178
|
+
{ LSM_MATHML_UNIT_CM,
|
179
|
+
"LSM_MATHML_UNIT_CM",
|
180
|
+
"cm" },
|
181
|
+
{ LSM_MATHML_UNIT_MM,
|
182
|
+
"LSM_MATHML_UNIT_MM",
|
183
|
+
"mm" },
|
184
|
+
{ LSM_MATHML_UNIT_PT,
|
185
|
+
"LSM_MATHML_UNIT_PT",
|
186
|
+
"pt" },
|
187
|
+
{ LSM_MATHML_UNIT_PX,
|
188
|
+
"LSM_MATHML_UNIT_PX",
|
189
|
+
"px" },
|
190
|
+
{ LSM_MATHML_UNIT_PC,
|
191
|
+
"LSM_MATHML_UNIT_PC",
|
192
|
+
"pc" },
|
193
|
+
{ LSM_MATHML_UNIT_PERCENT,
|
194
|
+
"LSM_MATHML_UNIT_PERCENT",
|
195
|
+
"percent" },
|
196
|
+
{ 0, NULL, NULL }
|
197
|
+
};
|
198
|
+
the_type = g_enum_register_static (
|
199
|
+
g_intern_static_string ("LsmMathmlUnit"),
|
200
|
+
values);
|
201
|
+
}
|
202
|
+
return the_type;
|
203
|
+
}
|
204
|
+
|
205
|
+
GType
|
206
|
+
lsm_mathml_font_style_get_type (void)
|
207
|
+
{
|
208
|
+
static GType the_type = 0;
|
209
|
+
|
210
|
+
if (the_type == 0)
|
211
|
+
{
|
212
|
+
static const GEnumValue values[] = {
|
213
|
+
{ LSM_MATHML_FONT_STYLE_ERROR,
|
214
|
+
"LSM_MATHML_FONT_STYLE_ERROR",
|
215
|
+
"error" },
|
216
|
+
{ LSM_MATHML_FONT_STYLE_NORMAL,
|
217
|
+
"LSM_MATHML_FONT_STYLE_NORMAL",
|
218
|
+
"normal" },
|
219
|
+
{ LSM_MATHML_FONT_STYLE_ITALIC,
|
220
|
+
"LSM_MATHML_FONT_STYLE_ITALIC",
|
221
|
+
"italic" },
|
222
|
+
{ 0, NULL, NULL }
|
223
|
+
};
|
224
|
+
the_type = g_enum_register_static (
|
225
|
+
g_intern_static_string ("LsmMathmlFontStyle"),
|
226
|
+
values);
|
227
|
+
}
|
228
|
+
return the_type;
|
229
|
+
}
|
230
|
+
|
231
|
+
GType
|
232
|
+
lsm_mathml_font_weight_get_type (void)
|
233
|
+
{
|
234
|
+
static GType the_type = 0;
|
235
|
+
|
236
|
+
if (the_type == 0)
|
237
|
+
{
|
238
|
+
static const GEnumValue values[] = {
|
239
|
+
{ LSM_MATHML_FONT_WEIGHT_ERROR,
|
240
|
+
"LSM_MATHML_FONT_WEIGHT_ERROR",
|
241
|
+
"error" },
|
242
|
+
{ LSM_MATHML_FONT_WEIGHT_NORMAL,
|
243
|
+
"LSM_MATHML_FONT_WEIGHT_NORMAL",
|
244
|
+
"normal" },
|
245
|
+
{ LSM_MATHML_FONT_WEIGHT_BOLD,
|
246
|
+
"LSM_MATHML_FONT_WEIGHT_BOLD",
|
247
|
+
"bold" },
|
248
|
+
{ 0, NULL, NULL }
|
249
|
+
};
|
250
|
+
the_type = g_enum_register_static (
|
251
|
+
g_intern_static_string ("LsmMathmlFontWeight"),
|
252
|
+
values);
|
253
|
+
}
|
254
|
+
return the_type;
|
255
|
+
}
|
256
|
+
|
257
|
+
GType
|
258
|
+
lsm_mathml_variant_get_type (void)
|
259
|
+
{
|
260
|
+
static GType the_type = 0;
|
261
|
+
|
262
|
+
if (the_type == 0)
|
263
|
+
{
|
264
|
+
static const GEnumValue values[] = {
|
265
|
+
{ LSM_MATHML_VARIANT_ERROR,
|
266
|
+
"LSM_MATHML_VARIANT_ERROR",
|
267
|
+
"error" },
|
268
|
+
{ LSM_MATHML_VARIANT_NORMAL,
|
269
|
+
"LSM_MATHML_VARIANT_NORMAL",
|
270
|
+
"normal" },
|
271
|
+
{ LSM_MATHML_VARIANT_BOLD,
|
272
|
+
"LSM_MATHML_VARIANT_BOLD",
|
273
|
+
"bold" },
|
274
|
+
{ LSM_MATHML_VARIANT_ITALIC,
|
275
|
+
"LSM_MATHML_VARIANT_ITALIC",
|
276
|
+
"italic" },
|
277
|
+
{ LSM_MATHML_VARIANT_BOLD_ITALIC,
|
278
|
+
"LSM_MATHML_VARIANT_BOLD_ITALIC",
|
279
|
+
"bold-italic" },
|
280
|
+
{ LSM_MATHML_VARIANT_DOUBLE_STRUCK,
|
281
|
+
"LSM_MATHML_VARIANT_DOUBLE_STRUCK",
|
282
|
+
"double-struck" },
|
283
|
+
{ LSM_MATHML_VARIANT_FRAKTUR_BOLD,
|
284
|
+
"LSM_MATHML_VARIANT_FRAKTUR_BOLD",
|
285
|
+
"fraktur-bold" },
|
286
|
+
{ LSM_MATHML_VARIANT_SCRIPT,
|
287
|
+
"LSM_MATHML_VARIANT_SCRIPT",
|
288
|
+
"script" },
|
289
|
+
{ LSM_MATHML_VARIANT_SCRIPT_BOLD,
|
290
|
+
"LSM_MATHML_VARIANT_SCRIPT_BOLD",
|
291
|
+
"script-bold" },
|
292
|
+
{ LSM_MATHML_VARIANT_FRAKTUR,
|
293
|
+
"LSM_MATHML_VARIANT_FRAKTUR",
|
294
|
+
"fraktur" },
|
295
|
+
{ LSM_MATHML_VARIANT_SANS_SERIF,
|
296
|
+
"LSM_MATHML_VARIANT_SANS_SERIF",
|
297
|
+
"sans-serif" },
|
298
|
+
{ LSM_MATHML_VARIANT_SANS_SERIF_BOLD,
|
299
|
+
"LSM_MATHML_VARIANT_SANS_SERIF_BOLD",
|
300
|
+
"sans-serif-bold" },
|
301
|
+
{ LSM_MATHML_VARIANT_SANS_SERIF_ITALIC,
|
302
|
+
"LSM_MATHML_VARIANT_SANS_SERIF_ITALIC",
|
303
|
+
"sans-serif-italic" },
|
304
|
+
{ LSM_MATHML_VARIANT_SANS_SERIF_BOLD_ITALIC,
|
305
|
+
"LSM_MATHML_VARIANT_SANS_SERIF_BOLD_ITALIC",
|
306
|
+
"sans-serif-bold-italic" },
|
307
|
+
{ LSM_MATHML_VARIANT_MONOSPACE,
|
308
|
+
"LSM_MATHML_VARIANT_MONOSPACE",
|
309
|
+
"monospace" },
|
310
|
+
{ 0, NULL, NULL }
|
311
|
+
};
|
312
|
+
the_type = g_enum_register_static (
|
313
|
+
g_intern_static_string ("LsmMathmlVariant"),
|
314
|
+
values);
|
315
|
+
}
|
316
|
+
return the_type;
|
317
|
+
}
|
318
|
+
|
319
|
+
GType
|
320
|
+
lsm_mathml_form_get_type (void)
|
321
|
+
{
|
322
|
+
static GType the_type = 0;
|
323
|
+
|
324
|
+
if (the_type == 0)
|
325
|
+
{
|
326
|
+
static const GEnumValue values[] = {
|
327
|
+
{ LSM_MATHML_FORM_ERROR,
|
328
|
+
"LSM_MATHML_FORM_ERROR",
|
329
|
+
"error" },
|
330
|
+
{ LSM_MATHML_FORM_PREFIX,
|
331
|
+
"LSM_MATHML_FORM_PREFIX",
|
332
|
+
"prefix" },
|
333
|
+
{ LSM_MATHML_FORM_POSTFIX,
|
334
|
+
"LSM_MATHML_FORM_POSTFIX",
|
335
|
+
"postfix" },
|
336
|
+
{ LSM_MATHML_FORM_INFIX,
|
337
|
+
"LSM_MATHML_FORM_INFIX",
|
338
|
+
"infix" },
|
339
|
+
{ 0, NULL, NULL }
|
340
|
+
};
|
341
|
+
the_type = g_enum_register_static (
|
342
|
+
g_intern_static_string ("LsmMathmlForm"),
|
343
|
+
values);
|
344
|
+
}
|
345
|
+
return the_type;
|
346
|
+
}
|
347
|
+
|
348
|
+
GType
|
349
|
+
lsm_mathml_row_align_get_type (void)
|
350
|
+
{
|
351
|
+
static GType the_type = 0;
|
352
|
+
|
353
|
+
if (the_type == 0)
|
354
|
+
{
|
355
|
+
static const GEnumValue values[] = {
|
356
|
+
{ LSM_MATHML_ROW_ALIGN_ERROR,
|
357
|
+
"LSM_MATHML_ROW_ALIGN_ERROR",
|
358
|
+
"error" },
|
359
|
+
{ LSM_MATHML_ROW_ALIGN_BASELINE,
|
360
|
+
"LSM_MATHML_ROW_ALIGN_BASELINE",
|
361
|
+
"baseline" },
|
362
|
+
{ LSM_MATHML_ROW_ALIGN_TOP,
|
363
|
+
"LSM_MATHML_ROW_ALIGN_TOP",
|
364
|
+
"top" },
|
365
|
+
{ LSM_MATHML_ROW_ALIGN_BOTTOM,
|
366
|
+
"LSM_MATHML_ROW_ALIGN_BOTTOM",
|
367
|
+
"bottom" },
|
368
|
+
{ LSM_MATHML_ROW_ALIGN_CENTER,
|
369
|
+
"LSM_MATHML_ROW_ALIGN_CENTER",
|
370
|
+
"center" },
|
371
|
+
{ LSM_MATHML_ROW_ALIGN_AXIS,
|
372
|
+
"LSM_MATHML_ROW_ALIGN_AXIS",
|
373
|
+
"axis" },
|
374
|
+
{ 0, NULL, NULL }
|
375
|
+
};
|
376
|
+
the_type = g_enum_register_static (
|
377
|
+
g_intern_static_string ("LsmMathmlRowAlign"),
|
378
|
+
values);
|
379
|
+
}
|
380
|
+
return the_type;
|
381
|
+
}
|
382
|
+
|
383
|
+
GType
|
384
|
+
lsm_mathml_column_align_get_type (void)
|
385
|
+
{
|
386
|
+
static GType the_type = 0;
|
387
|
+
|
388
|
+
if (the_type == 0)
|
389
|
+
{
|
390
|
+
static const GEnumValue values[] = {
|
391
|
+
{ LSM_MATHML_COLUMN_ALIGN_ERROR,
|
392
|
+
"LSM_MATHML_COLUMN_ALIGN_ERROR",
|
393
|
+
"error" },
|
394
|
+
{ LSM_MATHML_COLUMN_ALIGN_CENTER,
|
395
|
+
"LSM_MATHML_COLUMN_ALIGN_CENTER",
|
396
|
+
"center" },
|
397
|
+
{ LSM_MATHML_COLUMN_ALIGN_LEFT,
|
398
|
+
"LSM_MATHML_COLUMN_ALIGN_LEFT",
|
399
|
+
"left" },
|
400
|
+
{ LSM_MATHML_COLUMN_ALIGN_RIGHT,
|
401
|
+
"LSM_MATHML_COLUMN_ALIGN_RIGHT",
|
402
|
+
"right" },
|
403
|
+
{ 0, NULL, NULL }
|
404
|
+
};
|
405
|
+
the_type = g_enum_register_static (
|
406
|
+
g_intern_static_string ("LsmMathmlColumnAlign"),
|
407
|
+
values);
|
408
|
+
}
|
409
|
+
return the_type;
|
410
|
+
}
|
411
|
+
|
412
|
+
GType
|
413
|
+
lsm_mathml_line_get_type (void)
|
414
|
+
{
|
415
|
+
static GType the_type = 0;
|
416
|
+
|
417
|
+
if (the_type == 0)
|
418
|
+
{
|
419
|
+
static const GEnumValue values[] = {
|
420
|
+
{ LSM_MATHML_LINE_ERROR,
|
421
|
+
"LSM_MATHML_LINE_ERROR",
|
422
|
+
"error" },
|
423
|
+
{ LSM_MATHML_LINE_NONE,
|
424
|
+
"LSM_MATHML_LINE_NONE",
|
425
|
+
"none" },
|
426
|
+
{ LSM_MATHML_LINE_SOLID,
|
427
|
+
"LSM_MATHML_LINE_SOLID",
|
428
|
+
"solid" },
|
429
|
+
{ LSM_MATHML_LINE_DASHED,
|
430
|
+
"LSM_MATHML_LINE_DASHED",
|
431
|
+
"dashed" },
|
432
|
+
{ 0, NULL, NULL }
|
433
|
+
};
|
434
|
+
the_type = g_enum_register_static (
|
435
|
+
g_intern_static_string ("LsmMathmlLine"),
|
436
|
+
values);
|
437
|
+
}
|
438
|
+
return the_type;
|
439
|
+
}
|
440
|
+
|
441
|
+
GType
|
442
|
+
lsm_mathml_script_level_sign_get_type (void)
|
443
|
+
{
|
444
|
+
static GType the_type = 0;
|
445
|
+
|
446
|
+
if (the_type == 0)
|
447
|
+
{
|
448
|
+
static const GEnumValue values[] = {
|
449
|
+
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_ERROR,
|
450
|
+
"LSM_MATHML_SCRIPT_LEVEL_SIGN_ERROR",
|
451
|
+
"error" },
|
452
|
+
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_NONE,
|
453
|
+
"LSM_MATHML_SCRIPT_LEVEL_SIGN_NONE",
|
454
|
+
"none" },
|
455
|
+
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_PLUS,
|
456
|
+
"LSM_MATHML_SCRIPT_LEVEL_SIGN_PLUS",
|
457
|
+
"plus" },
|
458
|
+
{ LSM_MATHML_SCRIPT_LEVEL_SIGN_MINUS,
|
459
|
+
"LSM_MATHML_SCRIPT_LEVEL_SIGN_MINUS",
|
460
|
+
"minus" },
|
461
|
+
{ 0, NULL, NULL }
|
462
|
+
};
|
463
|
+
the_type = g_enum_register_static (
|
464
|
+
g_intern_static_string ("LsmMathmlScriptLevelSign"),
|
465
|
+
values);
|
466
|
+
}
|
467
|
+
return the_type;
|
468
|
+
}
|
469
|
+
|
470
|
+
GType
|
471
|
+
lsm_mathml_notation_get_type (void)
|
472
|
+
{
|
473
|
+
static GType the_type = 0;
|
474
|
+
|
475
|
+
if (the_type == 0)
|
476
|
+
{
|
477
|
+
static const GEnumValue values[] = {
|
478
|
+
{ LSM_MATHML_NOTATION_ERROR,
|
479
|
+
"LSM_MATHML_NOTATION_ERROR",
|
480
|
+
"error" },
|
481
|
+
{ LSM_MATHML_NOTATION_LONGDIV,
|
482
|
+
"LSM_MATHML_NOTATION_LONGDIV",
|
483
|
+
"longdiv" },
|
484
|
+
{ LSM_MATHML_NOTATION_ACTUARIAL,
|
485
|
+
"LSM_MATHML_NOTATION_ACTUARIAL",
|
486
|
+
"actuarial" },
|
487
|
+
{ LSM_MATHML_NOTATION_RADICAL,
|
488
|
+
"LSM_MATHML_NOTATION_RADICAL",
|
489
|
+
"radical" },
|
490
|
+
{ LSM_MATHML_NOTATION_BOX,
|
491
|
+
"LSM_MATHML_NOTATION_BOX",
|
492
|
+
"box" },
|
493
|
+
{ LSM_MATHML_NOTATION_ROUNDED_BOX,
|
494
|
+
"LSM_MATHML_NOTATION_ROUNDED_BOX",
|
495
|
+
"rounded-box" },
|
496
|
+
{ LSM_MATHML_NOTATION_CIRCLE,
|
497
|
+
"LSM_MATHML_NOTATION_CIRCLE",
|
498
|
+
"circle" },
|
499
|
+
{ LSM_MATHML_NOTATION_LEFT,
|
500
|
+
"LSM_MATHML_NOTATION_LEFT",
|
501
|
+
"left" },
|
502
|
+
{ LSM_MATHML_NOTATION_RIGHT,
|
503
|
+
"LSM_MATHML_NOTATION_RIGHT",
|
504
|
+
"right" },
|
505
|
+
{ LSM_MATHML_NOTATION_TOP,
|
506
|
+
"LSM_MATHML_NOTATION_TOP",
|
507
|
+
"top" },
|
508
|
+
{ LSM_MATHML_NOTATION_BOTTOM,
|
509
|
+
"LSM_MATHML_NOTATION_BOTTOM",
|
510
|
+
"bottom" },
|
511
|
+
{ LSM_MATHML_NOTATION_UP_DIAGONAL_STRIKE,
|
512
|
+
"LSM_MATHML_NOTATION_UP_DIAGONAL_STRIKE",
|
513
|
+
"up-diagonal-strike" },
|
514
|
+
{ LSM_MATHML_NOTATION_DOWN_DIAGONAL_STRIKE,
|
515
|
+
"LSM_MATHML_NOTATION_DOWN_DIAGONAL_STRIKE",
|
516
|
+
"down-diagonal-strike" },
|
517
|
+
{ LSM_MATHML_NOTATION_VERTICAL_STRIKE,
|
518
|
+
"LSM_MATHML_NOTATION_VERTICAL_STRIKE",
|
519
|
+
"vertical-strike" },
|
520
|
+
{ LSM_MATHML_NOTATION_HORIZONTAL_STRIKE,
|
521
|
+
"LSM_MATHML_NOTATION_HORIZONTAL_STRIKE",
|
522
|
+
"horizontal-strike" },
|
523
|
+
{ LSM_MATHML_NOTATION_MADRUWB,
|
524
|
+
"LSM_MATHML_NOTATION_MADRUWB",
|
525
|
+
"madruwb" },
|
526
|
+
{ LSM_MATHML_NOTATION_UP_DIAGONAL_ARROW,
|
527
|
+
"LSM_MATHML_NOTATION_UP_DIAGONAL_ARROW",
|
528
|
+
"up-diagonal-arrow" },
|
529
|
+
{ LSM_MATHML_NOTATION_LAST,
|
530
|
+
"LSM_MATHML_NOTATION_LAST",
|
531
|
+
"last" },
|
532
|
+
{ 0, NULL, NULL }
|
533
|
+
};
|
534
|
+
the_type = g_enum_register_static (
|
535
|
+
g_intern_static_string ("LsmMathmlNotation"),
|
536
|
+
values);
|
537
|
+
}
|
538
|
+
return the_type;
|
539
|
+
}
|
540
|
+
|
541
|
+
GType
|
542
|
+
lsm_mathml_linebreak_get_type (void)
|
543
|
+
{
|
544
|
+
static GType the_type = 0;
|
545
|
+
|
546
|
+
if (the_type == 0)
|
547
|
+
{
|
548
|
+
static const GEnumValue values[] = {
|
549
|
+
{ LSM_MATHML_LINEBREAK_ERROR,
|
550
|
+
"LSM_MATHML_LINEBREAK_ERROR",
|
551
|
+
"error" },
|
552
|
+
{ LSM_MATHML_LINEBREAK_AUTO,
|
553
|
+
"LSM_MATHML_LINEBREAK_AUTO",
|
554
|
+
"auto" },
|
555
|
+
{ LSM_MATHML_LINEBREAK_NEWLINE,
|
556
|
+
"LSM_MATHML_LINEBREAK_NEWLINE",
|
557
|
+
"newline" },
|
558
|
+
{ LSM_MATHML_LINEBREAK_NOBREAK,
|
559
|
+
"LSM_MATHML_LINEBREAK_NOBREAK",
|
560
|
+
"nobreak" },
|
561
|
+
{ LSM_MATHML_LINEBREAK_GOODBREAK,
|
562
|
+
"LSM_MATHML_LINEBREAK_GOODBREAK",
|
563
|
+
"goodbreak" },
|
564
|
+
{ LSM_MATHML_LINEBREAK_BADBREAK,
|
565
|
+
"LSM_MATHML_LINEBREAK_BADBREAK",
|
566
|
+
"badbreak" },
|
567
|
+
{ 0, NULL, NULL }
|
568
|
+
};
|
569
|
+
the_type = g_enum_register_static (
|
570
|
+
g_intern_static_string ("LsmMathmlLinebreak"),
|
571
|
+
values);
|
572
|
+
}
|
573
|
+
return the_type;
|
574
|
+
}
|
575
|
+
|
576
|
+
/* enumerations from "lsmmathmltablerowelement.h" */
|
577
|
+
#include "lsmmathmltablerowelement.h"
|
578
|
+
|
579
|
+
GType
|
580
|
+
lsm_mathml_table_row_element_type_get_type (void)
|
581
|
+
{
|
582
|
+
static GType the_type = 0;
|
583
|
+
|
584
|
+
if (the_type == 0)
|
585
|
+
{
|
586
|
+
static const GEnumValue values[] = {
|
587
|
+
{ LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_ROW,
|
588
|
+
"LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_ROW",
|
589
|
+
"row" },
|
590
|
+
{ LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_LABELED_ROW,
|
591
|
+
"LSM_MATHML_TABLE_ROW_ELEMENT_TYPE_LABELED_ROW",
|
592
|
+
"labeled-row" },
|
593
|
+
{ 0, NULL, NULL }
|
594
|
+
};
|
595
|
+
the_type = g_enum_register_static (
|
596
|
+
g_intern_static_string ("LsmMathmlTableRowElementType"),
|
597
|
+
values);
|
598
|
+
}
|
599
|
+
return the_type;
|
600
|
+
}
|
601
|
+
|
602
|
+
/* enumerations from "lsmmathmlradicalelement.h" */
|
603
|
+
#include "lsmmathmlradicalelement.h"
|
604
|
+
|
605
|
+
GType
|
606
|
+
lsm_mathml_radical_element_type_get_type (void)
|
607
|
+
{
|
608
|
+
static GType the_type = 0;
|
609
|
+
|
610
|
+
if (the_type == 0)
|
611
|
+
{
|
612
|
+
static const GEnumValue values[] = {
|
613
|
+
{ LSM_MATHML_RADICAL_ELEMENT_TYPE_SQRT,
|
614
|
+
"LSM_MATHML_RADICAL_ELEMENT_TYPE_SQRT",
|
615
|
+
"sqrt" },
|
616
|
+
{ LSM_MATHML_RADICAL_ELEMENT_TYPE_ROOT,
|
617
|
+
"LSM_MATHML_RADICAL_ELEMENT_TYPE_ROOT",
|
618
|
+
"root" },
|
619
|
+
{ 0, NULL, NULL }
|
620
|
+
};
|
621
|
+
the_type = g_enum_register_static (
|
622
|
+
g_intern_static_string ("LsmMathmlRadicalElementType"),
|
623
|
+
values);
|
624
|
+
}
|
625
|
+
return the_type;
|
626
|
+
}
|
627
|
+
|
628
|
+
/* enumerations from "lsmmathmlscriptelement.h" */
|
629
|
+
#include "lsmmathmlscriptelement.h"
|
630
|
+
|
631
|
+
GType
|
632
|
+
lsm_mathml_script_element_type_get_type (void)
|
633
|
+
{
|
634
|
+
static GType the_type = 0;
|
635
|
+
|
636
|
+
if (the_type == 0)
|
637
|
+
{
|
638
|
+
static const GEnumValue values[] = {
|
639
|
+
{ LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB,
|
640
|
+
"LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB",
|
641
|
+
"sub" },
|
642
|
+
{ LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUP,
|
643
|
+
"LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUP",
|
644
|
+
"sup" },
|
645
|
+
{ LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB_SUP,
|
646
|
+
"LSM_MATHML_SCRIPT_ELEMENT_TYPE_SUB_SUP",
|
647
|
+
"sub-sup" },
|
648
|
+
{ 0, NULL, NULL }
|
649
|
+
};
|
650
|
+
the_type = g_enum_register_static (
|
651
|
+
g_intern_static_string ("LsmMathmlScriptElementType"),
|
652
|
+
values);
|
653
|
+
}
|
654
|
+
return the_type;
|
655
|
+
}
|
656
|
+
|
657
|
+
/* enumerations from "lsmmathmlunderoverelement.h" */
|
658
|
+
#include "lsmmathmlunderoverelement.h"
|
659
|
+
|
660
|
+
GType
|
661
|
+
lsm_mathml_under_over_element_type_get_type (void)
|
662
|
+
{
|
663
|
+
static GType the_type = 0;
|
664
|
+
|
665
|
+
if (the_type == 0)
|
666
|
+
{
|
667
|
+
static const GEnumValue values[] = {
|
668
|
+
{ LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER,
|
669
|
+
"LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER",
|
670
|
+
"under" },
|
671
|
+
{ LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_OVER,
|
672
|
+
"LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_OVER",
|
673
|
+
"over" },
|
674
|
+
{ LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER_OVER,
|
675
|
+
"LSM_MATHML_UNDER_OVER_ELEMENT_TYPE_UNDER_OVER",
|
676
|
+
"under-over" },
|
677
|
+
{ 0, NULL, NULL }
|
678
|
+
};
|
679
|
+
the_type = g_enum_register_static (
|
680
|
+
g_intern_static_string ("LsmMathmlUnderOverElementType"),
|
681
|
+
values);
|
682
|
+
}
|
683
|
+
return the_type;
|
684
|
+
}
|
685
|
+
|
686
|
+
/* enumerations from "lsmmathmlpresentationtoken.h" */
|
687
|
+
#include "lsmmathmlpresentationtoken.h"
|
688
|
+
|
689
|
+
GType
|
690
|
+
lsm_mathml_presentation_token_type_get_type (void)
|
691
|
+
{
|
692
|
+
static GType the_type = 0;
|
693
|
+
|
694
|
+
if (the_type == 0)
|
695
|
+
{
|
696
|
+
static const GEnumValue values[] = {
|
697
|
+
{ LSM_MATHML_PRESENTATION_TOKEN_TYPE_NUMBER,
|
698
|
+
"LSM_MATHML_PRESENTATION_TOKEN_TYPE_NUMBER",
|
699
|
+
"number" },
|
700
|
+
{ LSM_MATHML_PRESENTATION_TOKEN_TYPE_IDENTIFIER,
|
701
|
+
"LSM_MATHML_PRESENTATION_TOKEN_TYPE_IDENTIFIER",
|
702
|
+
"identifier" },
|
703
|
+
{ LSM_MATHML_PRESENTATION_TOKEN_TYPE_TEXT,
|
704
|
+
"LSM_MATHML_PRESENTATION_TOKEN_TYPE_TEXT",
|
705
|
+
"text" },
|
706
|
+
{ 0, NULL, NULL }
|
707
|
+
};
|
708
|
+
the_type = g_enum_register_static (
|
709
|
+
g_intern_static_string ("LsmMathmlPresentationTokenType"),
|
710
|
+
values);
|
711
|
+
}
|
712
|
+
return the_type;
|
713
|
+
}
|
714
|
+
|
715
|
+
/* enumerations from "lsmmathmlview.h" */
|
716
|
+
#include "lsmmathmlview.h"
|
717
|
+
|
718
|
+
GType
|
719
|
+
lsm_mathml_glyph_flags_get_type (void)
|
720
|
+
{
|
721
|
+
static GType the_type = 0;
|
722
|
+
|
723
|
+
if (the_type == 0)
|
724
|
+
{
|
725
|
+
static const GFlagsValue values[] = {
|
726
|
+
{ LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL,
|
727
|
+
"LSM_MATHML_GLYPH_FLAG_STRETCH_VERTICAL",
|
728
|
+
"stretch-vertical" },
|
729
|
+
{ LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL,
|
730
|
+
"LSM_MATHML_GLYPH_FLAG_STRETCH_HORIZONTAL",
|
731
|
+
"stretch-horizontal" },
|
732
|
+
{ LSM_MATHML_GLYPH_FLAG_TYPE_SIZED,
|
733
|
+
"LSM_MATHML_GLYPH_FLAG_TYPE_SIZED",
|
734
|
+
"type-sized" },
|
735
|
+
{ LSM_MATHML_GLYPH_FLAG_ALIGN_AXIS,
|
736
|
+
"LSM_MATHML_GLYPH_FLAG_ALIGN_AXIS",
|
737
|
+
"align-axis" },
|
738
|
+
{ LSM_MATHML_GLYPH_FLAG_HAS_LARGE_VERSION,
|
739
|
+
"LSM_MATHML_GLYPH_FLAG_HAS_LARGE_VERSION",
|
740
|
+
"has-large-version" },
|
741
|
+
{ LSM_MATHML_GLYPH_FLAG_INTEGRAL_SLANT,
|
742
|
+
"LSM_MATHML_GLYPH_FLAG_INTEGRAL_SLANT",
|
743
|
+
"integral-slant" },
|
744
|
+
{ 0, NULL, NULL }
|
745
|
+
};
|
746
|
+
the_type = g_flags_register_static (
|
747
|
+
g_intern_static_string ("LsmMathmlGlyphFlags"),
|
748
|
+
values);
|
749
|
+
}
|
750
|
+
return the_type;
|
751
|
+
}
|
752
|
+
|
753
|
+
GType
|
754
|
+
lsm_mathml_font_get_type (void)
|
755
|
+
{
|
756
|
+
static GType the_type = 0;
|
757
|
+
|
758
|
+
if (the_type == 0)
|
759
|
+
{
|
760
|
+
static const GEnumValue values[] = {
|
761
|
+
{ LSM_MATHML_FONT_ERROR,
|
762
|
+
"LSM_MATHML_FONT_ERROR",
|
763
|
+
"error" },
|
764
|
+
{ LSM_MATHML_FONT_DEFAULT,
|
765
|
+
"LSM_MATHML_FONT_DEFAULT",
|
766
|
+
"default" },
|
767
|
+
{ LSM_MATHML_FONT_CMR10,
|
768
|
+
"LSM_MATHML_FONT_CMR10",
|
769
|
+
"cmr10" },
|
770
|
+
{ LSM_MATHML_FONT_CMMI10,
|
771
|
+
"LSM_MATHML_FONT_CMMI10",
|
772
|
+
"cmmi10" },
|
773
|
+
{ LSM_MATHML_FONT_CMEX10,
|
774
|
+
"LSM_MATHML_FONT_CMEX10",
|
775
|
+
"cmex10" },
|
776
|
+
{ LSM_MATHML_FONT_CMSY10,
|
777
|
+
"LSM_MATHML_FONT_CMSY10",
|
778
|
+
"cmsy10" },
|
779
|
+
{ LSM_MATHML_FONT_SYMBOL,
|
780
|
+
"LSM_MATHML_FONT_SYMBOL",
|
781
|
+
"symbol" },
|
782
|
+
{ 0, NULL, NULL }
|
783
|
+
};
|
784
|
+
the_type = g_enum_register_static (
|
785
|
+
g_intern_static_string ("LsmMathmlFont"),
|
786
|
+
values);
|
787
|
+
}
|
788
|
+
return the_type;
|
789
|
+
}
|
790
|
+
|
791
|
+
|
792
|
+
/* Generated data ends here */
|
793
|
+
|