LibreOffice Module starmath (master) 1
types.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20#pragma once
21
22#include <sal/types.h>
23#include <rtl/ustring.hxx>
24
25inline constexpr OUStringLiteral FONTNAME_MATH = u"OpenSymbol";
26
28{
32};
33
34// definitions for characters from the 'StarSymbol' font
35// (some chars have more than one alias!)
38
39sal_Unicode const MS_NONE = '\0';
41sal_Unicode const MS_FACT = 0x0021;
42sal_Unicode const MS_INFINITY = 0x221E;
43sal_Unicode const MS_SLASH = 0x002F;
44
45sal_Unicode const MS_NDIVIDES = 0x2224;
46sal_Unicode const MS_DRARROW = 0x21D2;
47sal_Unicode const MS_DLARROW = 0x21D0;
48sal_Unicode const MS_DLRARROW = 0x21D4;
51sal_Unicode const MS_CIRC = 0x2218;
52sal_Unicode const MS_ASSIGN = 0x003D;
53sal_Unicode const MS_ERROR = 0x00BF;
54
55sal_Unicode const MS_NEQ = 0x2260;
56sal_Unicode const MS_PLUS = 0x002B;
57sal_Unicode const MS_MINUS = 0x2212;
58sal_Unicode const MS_MULTIPLY = 0x2217;
59sal_Unicode const MS_TIMES = 0x00D7;
60sal_Unicode const MS_CDOT = 0x22C5;
61sal_Unicode const MS_DIV = 0x00F7;
64sal_Unicode const MS_OPLUS = 0x2295;
65sal_Unicode const MS_OMINUS = 0x2296;
66sal_Unicode const MS_OTIMES = 0x2297;
67sal_Unicode const MS_ODIVIDE = 0x2298;
68sal_Unicode const MS_ODOT = 0x2299;
69sal_Unicode const MS_UNION = 0x222A;
71
72sal_Unicode const MS_LT = 0x003C;
73sal_Unicode const MS_GT = 0x003E;
74sal_Unicode const MS_LE = 0x2264;
75sal_Unicode const MS_GE = 0x2265;
76sal_Unicode const MS_LESLANT = 0x2A7D;
77sal_Unicode const MS_GESLANT = 0x2A7E;
78sal_Unicode const MS_LL = 0x226A;
79sal_Unicode const MS_GG = 0x226B;
80sal_Unicode const MS_SIM = 0x223C;
81sal_Unicode const MS_SIMEQ = 0x2243;
82sal_Unicode const MS_APPROX = 0x2248;
83sal_Unicode const MS_DEF = 0x225D;
84sal_Unicode const MS_EQUIV = 0x2261;
85sal_Unicode const MS_PROP = 0x221D;
86sal_Unicode const MS_PARTIAL = 0x2202;
87sal_Unicode const MS_LAPLACE = 0x2112;
88sal_Unicode const MS_FOURIER = 0x2131;
89
90sal_Unicode const MS_SUBSET = 0x2282;
91sal_Unicode const MS_SUPSET = 0x2283;
92sal_Unicode const MS_SUBSETEQ = 0x2286;
93sal_Unicode const MS_SUPSETEQ = 0x2287;
94sal_Unicode const MS_NSUBSET = 0x2284;
95sal_Unicode const MS_NSUPSET = 0x2285;
98sal_Unicode const MS_IN = 0x2208;
99sal_Unicode const MS_NOTIN = 0x2209;
100sal_Unicode const MS_EXISTS = 0x2203;
103sal_Unicode const MS_ALEPH = 0x2135;
104sal_Unicode const MS_IM = 0x2111;
105sal_Unicode const MS_RE = 0x211C;
106sal_Unicode const MS_WP = 0x2118;
107
108sal_Unicode const MS_LINE = 0x2223;
110sal_Unicode const MS_DLINE = 0x2225;
112sal_Unicode const MS_ORTHO = 0x22A5;
113sal_Unicode const MS_DOTSLOW = 0x2026;
116sal_Unicode const MS_DOTSUP = 0x22F0;
118sal_Unicode const MS_TRANSR = 0x22B6;
119sal_Unicode const MS_TRANSL = 0x22B7;
121sal_Unicode const MS_NEG = 0x00AC;
122
123sal_Unicode const MS_FORALL = 0x2200;
124sal_Unicode const MS_NABLA = 0x2207;
125sal_Unicode const MS_PROD = 0x220F;
126sal_Unicode const MS_COPROD = 0x2210;
127sal_Unicode const MS_SUM = 0x2211;
128sal_Unicode const MS_SQRT = 0x221A;
129sal_Unicode const MS_INT = 0x222B;
130sal_Unicode const MS_IINT = 0x222C;
131sal_Unicode const MS_IIINT = 0x222D;
132sal_Unicode const MS_LINT = 0x222E;
133sal_Unicode const MS_LLINT = 0x222F;
134sal_Unicode const MS_LLLINT = 0x2230;
135
136sal_Unicode const MS_GRAVE = 0x0060;
138sal_Unicode const MS_ACUTE = 0x00B4;
140sal_Unicode const MS_HAT = 0x005E;
141sal_Unicode const MS_COMBHAT = 0x0302;
142sal_Unicode const MS_TILDE = 0x007E;
144sal_Unicode const MS_BAR = 0x00AF;
145sal_Unicode const MS_COMBBAR = 0x0304;
147sal_Unicode const MS_BREVE = 0x02D8;
149sal_Unicode const MS_CIRCLE = 0x02DA;
151sal_Unicode const MS_CHECK = 0x02C7;
153sal_Unicode const MS_HARPOON = 0x20D1;
154sal_Unicode const MS_VEC = 0x20D7;
155sal_Unicode const MS_DOT = 0x02D9;
156sal_Unicode const MS_DDOT = 0x00A8;
157sal_Unicode const MS_COMBDOT = 0x0307;
159sal_Unicode const MS_DDDOT = 0x20DB;
160sal_Unicode const MS_AND = 0x2227;
161sal_Unicode const MS_OR = 0x2228;
162sal_Unicode const MS_NI = 0x220B;
164
165sal_Unicode const MS_LPARENT = 0x0028;
166sal_Unicode const MS_RPARENT = 0x0029;
169sal_Unicode const MS_LBRACE = 0x007B;
170sal_Unicode const MS_RBRACE = 0x007D;
171sal_Unicode const MS_LCEIL = 0x2308;
172sal_Unicode const MS_RCEIL = 0x2309;
173sal_Unicode const MS_LFLOOR = 0x230A;
174sal_Unicode const MS_RFLOOR = 0x230B;
175sal_Unicode const MS_LANGLE = 0x2329;
176sal_Unicode const MS_RANGLE = 0x232A;
181
182sal_Unicode const MS_PLACE = 0x2751;
183
185sal_Unicode const MS_HBAR = 0x210F;
187sal_Unicode const MS_UPARROW = 0x2191;
190
191sal_Unicode const MS_SETN = 0x2115;
192sal_Unicode const MS_SETZ = 0x2124;
193sal_Unicode const MS_SETQ = 0x211A;
194sal_Unicode const MS_SETR = 0x211D;
195sal_Unicode const MS_SETC = 0x2102;
196
197sal_Unicode const MS_PERCENT = 0x0025;
198
207
208/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
float u
sal_uInt16 sal_Unicode
sal_Unicode const MS_UNDERBRACE
Definition: types.hxx:50
sal_Unicode const MS_NEG
Definition: types.hxx:121
sal_Unicode const MS_SUM
Definition: types.hxx:127
sal_Unicode const MS_DOTSDOWN
Definition: types.hxx:117
sal_Unicode const MS_DVERTLINE
Definition: types.hxx:111
sal_Unicode const MS_COMBOVERLINE
Definition: types.hxx:146
sal_Unicode const MS_TILDE
Definition: types.hxx:142
sal_Unicode const MS_ODOT
Definition: types.hxx:68
sal_Unicode const MS_DOWNARROW
Definition: types.hxx:189
sal_Unicode const MS_INFINITY
Definition: types.hxx:42
sal_Unicode const MS_WP
Definition: types.hxx:106
sal_Unicode const MS_RIGHTARROW
Definition: types.hxx:188
sal_Unicode const MS_LANGLE
Definition: types.hxx:175
sal_Unicode const MS_LEFTARROW
Definition: types.hxx:186
sal_Unicode const MS_FACT
Definition: types.hxx:41
sal_Unicode const MS_SUPSET
Definition: types.hxx:91
sal_Unicode const MS_HAT
Definition: types.hxx:140
sal_Unicode const MS_UNION
Definition: types.hxx:69
sal_Unicode const MS_SETN
Definition: types.hxx:191
sal_Unicode const MS_COMBBREVE
Definition: types.hxx:148
sal_Unicode const MS_IN
Definition: types.hxx:98
constexpr OUStringLiteral FONTNAME_MATH
Definition: types.hxx:25
sal_Unicode const MS_TRANSR
Definition: types.hxx:118
sal_Unicode const MS_LAPLACE
Definition: types.hxx:87
sal_Unicode const MS_COMBGRAVE
Definition: types.hxx:137
sal_Unicode const MS_TRANSL
Definition: types.hxx:119
sal_Unicode const MS_NOTIN
Definition: types.hxx:99
sal_Unicode const MS_LCEIL
Definition: types.hxx:171
sal_Unicode const MS_IIINT
Definition: types.hxx:131
sal_Unicode const MS_LAMBDABAR
Definition: types.hxx:184
sal_Unicode const MS_LLINT
Definition: types.hxx:133
sal_Unicode const MS_COMBACUTE
Definition: types.hxx:139
sal_Unicode const MS_PRECEDES
Definition: types.hxx:199
sal_Unicode const MS_GRAVE
Definition: types.hxx:136
sal_Unicode const MS_RMATHANGLE
Definition: types.hxx:180
sal_Unicode const MS_TIMES
Definition: types.hxx:59
sal_Unicode const MS_CIRC
Definition: types.hxx:51
sal_Unicode const MS_DDOT
Definition: types.hxx:156
sal_Unicode const MS_NSUPSETEQ
Definition: types.hxx:97
sal_Unicode const MS_NDIVIDES
Definition: types.hxx:45
sal_Unicode const MS_GG
Definition: types.hxx:79
sal_Unicode const MS_LBRACKET
Definition: types.hxx:167
sal_Unicode const MS_SETQ
Definition: types.hxx:193
sal_Unicode const MS_VEC
Definition: types.hxx:154
sal_Unicode const MS_SIM
Definition: types.hxx:80
sal_Unicode const MS_SETR
Definition: types.hxx:194
sal_Unicode const MS_DLINE
Definition: types.hxx:110
sal_Unicode const MS_ALEPH
Definition: types.hxx:103
sal_Unicode const MS_NOTSUCCEEDS
Definition: types.hxx:206
sal_Unicode const MS_SIMEQ
Definition: types.hxx:81
sal_Unicode const MS_LESLANT
Definition: types.hxx:76
sal_Unicode const MS_DDDOT
Definition: types.hxx:159
sal_Unicode const MS_IM
Definition: types.hxx:104
sal_Unicode const MS_FOURIER
Definition: types.hxx:88
sal_Unicode const MS_PLUS
Definition: types.hxx:56
sal_Unicode const MS_LT
Definition: types.hxx:72
sal_Unicode const MS_MINUS
Definition: types.hxx:57
sal_Unicode const MS_PROP
Definition: types.hxx:85
sal_Unicode const MS_DEF
Definition: types.hxx:83
sal_Unicode const MS_RFLOOR
Definition: types.hxx:174
sal_Unicode const MS_MINUSPLUS
Definition: types.hxx:63
sal_Unicode const MS_COMBDDOT
Definition: types.hxx:158
sal_Unicode const MS_RBRACKET
Definition: types.hxx:168
sal_Unicode const MS_CDOT
Definition: types.hxx:60
sal_Unicode const MS_DRARROW
Definition: types.hxx:46
sal_Unicode const MS_CHECK
Definition: types.hxx:151
sal_Unicode const MS_ASSIGN
Definition: types.hxx:52
sal_Unicode const MS_BAR
Definition: types.hxx:144
sal_Unicode const MS_NONE
Note: not listed here does not(!) mean "not used" (see alpha ... gamma for example)
Definition: types.hxx:39
sal_Unicode const MS_PLUSMINUS
Definition: types.hxx:62
sal_Unicode const MS_OR
Definition: types.hxx:161
sal_Unicode const MS_OVERBRACE
Definition: types.hxx:49
sal_Unicode const MS_NEQ
Definition: types.hxx:55
sal_Unicode const MS_DLARROW
Definition: types.hxx:47
sal_Unicode const MS_NABLA
Definition: types.hxx:124
sal_Unicode const MS_DOTSUP
Definition: types.hxx:116
sal_Unicode const MS_ACUTE
Definition: types.hxx:138
sal_Unicode const MS_SUCCEEDSEQUAL
Definition: types.hxx:203
sal_Unicode const MS_DOTSLOW
Definition: types.hxx:113
sal_Unicode const MS_OTIMES
Definition: types.hxx:66
sal_Unicode const MS_ODIVIDE
Definition: types.hxx:67
sal_Unicode const MS_INTERSECT
Definition: types.hxx:70
sal_Unicode const MS_INT
Definition: types.hxx:129
sal_Unicode const MS_RPARENT
Definition: types.hxx:166
sal_Unicode const MS_PERCENT
Definition: types.hxx:197
sal_Unicode const MS_LFLOOR
Definition: types.hxx:173
sal_Unicode const MS_SETC
Definition: types.hxx:195
sal_Unicode const MS_RANGLE
Definition: types.hxx:176
sal_Unicode const MS_LLLINT
Definition: types.hxx:134
sal_Unicode const MS_LDBRACKET
Definition: types.hxx:177
sal_Unicode const MS_SETZ
Definition: types.hxx:192
sal_Unicode const MS_LE
Definition: types.hxx:74
SmPrintSize
Definition: types.hxx:28
@ PRINT_SIZE_NORMAL
Definition: types.hxx:29
@ PRINT_SIZE_ZOOMED
Definition: types.hxx:31
@ PRINT_SIZE_SCALED
Definition: types.hxx:30
sal_Unicode const MS_CIRCLE
Definition: types.hxx:149
sal_Unicode const MS_RBRACE
Definition: types.hxx:170
sal_Unicode const MS_COMBBAR
Definition: types.hxx:145
sal_Unicode const MS_FORALL
Definition: types.hxx:123
sal_Unicode const MS_RCEIL
Definition: types.hxx:172
sal_Unicode const MS_COMBCIRCLE
Definition: types.hxx:150
sal_Unicode const MS_NOTEXISTS
Definition: types.hxx:101
sal_Unicode const MS_DOT
Definition: types.hxx:155
sal_Unicode const MS_GE
Definition: types.hxx:75
sal_Unicode const MS_PARTIAL
Definition: types.hxx:86
sal_Unicode const MS_SQRT
Definition: types.hxx:128
sal_Unicode const MS_EQUIV
Definition: types.hxx:84
sal_Unicode const MS_ERROR
Definition: types.hxx:53
sal_Unicode const MS_LL
Definition: types.hxx:78
sal_Unicode const MS_SUCCEEDSEQUIV
Definition: types.hxx:204
sal_Unicode const MS_SUBSETEQ
Definition: types.hxx:92
sal_Unicode const MS_UPARROW
Definition: types.hxx:187
sal_Unicode const MS_GT
Definition: types.hxx:73
sal_Unicode const MS_DIV
Definition: types.hxx:61
sal_Unicode const MS_PRECEDESEQUAL
Definition: types.hxx:200
sal_Unicode const MS_NI
Definition: types.hxx:162
sal_Unicode const MS_GESLANT
Definition: types.hxx:77
sal_Unicode const MS_DOTSVERT
Definition: types.hxx:115
sal_Unicode const MS_DOTSAXIS
Definition: types.hxx:114
sal_Unicode const MS_NOTPRECEDES
Definition: types.hxx:205
sal_Unicode const MS_COMBTILDE
Definition: types.hxx:143
sal_Unicode const MS_NSUPSET
Definition: types.hxx:95
sal_Unicode const MS_SUCCEEDS
Definition: types.hxx:202
sal_Unicode const MS_HBAR
Definition: types.hxx:185
sal_Unicode const MS_MULTIPLY
Definition: types.hxx:58
sal_Unicode const MS_LINE
Definition: types.hxx:108
sal_Unicode const MS_HARPOON
Definition: types.hxx:153
sal_Unicode const MS_COPROD
Definition: types.hxx:126
sal_Unicode const MS_COMBCHECK
Definition: types.hxx:152
sal_Unicode const MS_BACKSLASH
Definition: types.hxx:120
sal_Unicode const MS_LBRACE
Definition: types.hxx:169
sal_Unicode const MS_LMATHANGLE
Definition: types.hxx:179
sal_Unicode const MS_EMPTYSET
Definition: types.hxx:163
sal_Unicode const MS_SUBSET
Definition: types.hxx:90
sal_Unicode const MS_NSUBSETEQ
Definition: types.hxx:96
sal_Unicode const MS_IINT
Definition: types.hxx:130
sal_Unicode const MS_PROD
Definition: types.hxx:125
sal_Unicode const MS_LPARENT
Definition: types.hxx:165
sal_Unicode const MS_BACKEPSILON
Definition: types.hxx:102
sal_Unicode const MS_NULLCHAR
Definition: types.hxx:40
sal_Unicode const MS_RE
Definition: types.hxx:105
sal_Unicode const MS_DLRARROW
Definition: types.hxx:48
sal_Unicode const MS_SUPSETEQ
Definition: types.hxx:93
sal_Unicode const MS_PLACE
Definition: types.hxx:182
sal_Unicode const MS_EXISTS
Definition: types.hxx:100
sal_Unicode const MS_VERTLINE
Definition: types.hxx:109
sal_Unicode const MS_OPLUS
Definition: types.hxx:64
sal_Unicode const MS_COMBDOT
Definition: types.hxx:157
sal_Unicode const MS_AND
Definition: types.hxx:160
sal_Unicode const MS_RDBRACKET
Definition: types.hxx:178
sal_Unicode const MS_COMBHAT
Definition: types.hxx:141
sal_Unicode const MS_ORTHO
Definition: types.hxx:112
sal_Unicode const MS_PRECEDESEQUIV
Definition: types.hxx:201
sal_Unicode const MS_OMINUS
Definition: types.hxx:65
sal_Unicode const MS_NSUBSET
Definition: types.hxx:94
sal_Unicode const MS_LINT
Definition: types.hxx:132
sal_Unicode const MS_SLASH
Definition: types.hxx:43
sal_Unicode const MS_APPROX
Definition: types.hxx:82
sal_Unicode const MS_BREVE
Definition: types.hxx:147