Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / starmath / source / mathml / def.cxx
blob484dcd6653939216b2f235a32f2a81442f2e16cd
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <mathml/attribute.hxx>
12 SmMlAttributePos starmathdatabase::MlAttributeListEmpty[] = {
13 // clang-format off
14 { SmMlAttributeValueType::NMlEmpty, 0 }
15 // clang-format on
18 SmMlAttributePos starmathdatabase::MlAttributeListMath[] = {
19 // clang-format off
20 { SmMlAttributeValueType::NMlEmpty, 0 }
21 // clang-format on
24 SmMlAttributePos starmathdatabase::MlAttributeListMi[] = {
25 // clang-format off
26 { SmMlAttributeValueType::MlHref, 0 },
27 { SmMlAttributeValueType::MlDir, 1 },
28 { SmMlAttributeValueType::MlMathbackground, 2 },
29 { SmMlAttributeValueType::MlMathcolor, 3 },
30 { SmMlAttributeValueType::MlDisplaystyle, 4 },
31 { SmMlAttributeValueType::MlMathsize, 5 },
32 { SmMlAttributeValueType::MlMathvariant, 6 }
33 // clang-format on
36 SmMlAttributePos starmathdatabase::MlAttributeListMerror[] = {
37 // clang-format off
38 { SmMlAttributeValueType::MlHref, 0 },
39 { SmMlAttributeValueType::MlMathbackground, 1 },
40 { SmMlAttributeValueType::MlMathcolor, 2 },
41 { SmMlAttributeValueType::MlDisplaystyle, 3 }
42 // clang-format on
45 SmMlAttributePos starmathdatabase::MlAttributeListMn[] = {
46 // clang-format off
47 { SmMlAttributeValueType::MlHref, 0 },
48 { SmMlAttributeValueType::MlDir, 1 },
49 { SmMlAttributeValueType::MlMathbackground, 2 },
50 { SmMlAttributeValueType::MlMathcolor, 3 },
51 { SmMlAttributeValueType::MlDisplaystyle, 4 },
52 { SmMlAttributeValueType::MlMathsize, 5 },
53 { SmMlAttributeValueType::MlMathvariant, 6 }
54 // clang-format on
57 SmMlAttributePos starmathdatabase::MlAttributeListMo[] = {
58 // clang-format off
59 { SmMlAttributeValueType::MlHref, 0 },
60 { SmMlAttributeValueType::MlDir, 1 },
61 { SmMlAttributeValueType::MlMathbackground, 2 },
62 { SmMlAttributeValueType::MlMathcolor, 3 },
63 { SmMlAttributeValueType::MlDisplaystyle, 4 },
64 { SmMlAttributeValueType::MlMathsize, 5 },
65 { SmMlAttributeValueType::MlMathvariant, 6 },
66 { SmMlAttributeValueType::MlFence, 7 },
67 { SmMlAttributeValueType::MlForm, 8 },
68 { SmMlAttributeValueType::MlMaxsize, 9 },
69 { SmMlAttributeValueType::MlMinsize, 10 },
70 { SmMlAttributeValueType::MlMovablelimits, 11 },
71 { SmMlAttributeValueType::MlLspace, 12 },
72 { SmMlAttributeValueType::MlRspace, 13 },
73 { SmMlAttributeValueType::MlAccent, 14 },
74 { SmMlAttributeValueType::MlStretchy, 15 },
75 { SmMlAttributeValueType::MlSeparator, 16 },
76 { SmMlAttributeValueType::MlSymmetric, 17 }
77 // clang-format on
80 SmMlAttributePos starmathdatabase::MlAttributeListMrow[] = {
81 // clang-format off
82 { SmMlAttributeValueType::MlHref, 0 },
83 { SmMlAttributeValueType::MlDir, 1 },
84 { SmMlAttributeValueType::MlMathbackground, 2 },
85 { SmMlAttributeValueType::MlMathcolor, 3 }
86 // clang-format on
89 SmMlAttributePos starmathdatabase::MlAttributeListMtext[] = {
90 // clang-format off
91 { SmMlAttributeValueType::MlHref, 0 },
92 { SmMlAttributeValueType::MlDir, 1 },
93 { SmMlAttributeValueType::MlMathbackground, 2 },
94 { SmMlAttributeValueType::MlMathcolor, 3 },
95 { SmMlAttributeValueType::MlDisplaystyle, 4 },
96 { SmMlAttributeValueType::MlMathsize, 5 },
97 { SmMlAttributeValueType::MlMathvariant, 6 }
98 // clang-format on
101 SmMlAttributePos starmathdatabase::MlAttributeListMstyle[] = {
102 // clang-format off
103 { SmMlAttributeValueType::MlHref, 0 },
104 { SmMlAttributeValueType::MlDir, 1 },
105 { SmMlAttributeValueType::MlMathbackground, 2 },
106 { SmMlAttributeValueType::MlMathcolor, 3 },
107 { SmMlAttributeValueType::MlDisplaystyle, 4 },
108 { SmMlAttributeValueType::MlMathsize, 5 },
109 { SmMlAttributeValueType::MlMathvariant, 6 },
110 { SmMlAttributeValueType::MlFence, 7 },
111 { SmMlAttributeValueType::MlForm, 8 },
112 { SmMlAttributeValueType::MlMaxsize, 9 },
113 { SmMlAttributeValueType::MlMinsize, 10 },
114 { SmMlAttributeValueType::MlMovablelimits, 11 },
115 { SmMlAttributeValueType::MlLspace, 12 },
116 { SmMlAttributeValueType::MlRspace, 13 },
117 { SmMlAttributeValueType::MlAccent, 14 },
118 { SmMlAttributeValueType::MlStretchy, 15 },
119 { SmMlAttributeValueType::MlSeparator, 16 },
120 { SmMlAttributeValueType::MlSymmetric, 17 }
121 // clang-format on
124 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */