summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-19 09:37:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-19 11:04:14 +0200
commit80062928084abf0cdf506dbe744fb1187006c0ab (patch)
treefaf477199b5cc277b5d4287cc85c17df65c4a294 /starmath
parentccda9e46074059f5ade64888689d946139d5c202 (diff)
These values shall be of type sal_Unicode
Change-Id: I505400d539c36744a5ac138e63346a2a38f07b51
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/types.hxx323
1 files changed, 160 insertions, 163 deletions
diff --git a/starmath/inc/types.hxx b/starmath/inc/types.hxx
index aeb1dcf94ef3..cd8be00162b4 100644
--- a/starmath/inc/types.hxx
+++ b/starmath/inc/types.hxx
@@ -34,173 +34,170 @@ inline bool IsInPrivateUseArea( sal_Unicode cChar ) { return 0xE000 <= cChar &&
sal_Unicode ConvertMathToMathML( sal_Unicode cChar );
-// enum definitions for characters from the 'StarSymbol' font
+// definitions for characters from the 'StarSymbol' font
// (some chars have more than one alias!)
//! Note: not listed here does not(!) mean "not used"
//! (see %alpha ... %gamma for example)
-enum MathSymbol
-{
- MS_FACT = (sal_Unicode) 0x0021,
- MS_INFINITY = (sal_Unicode) 0x221E,
- MS_SLASH = (sal_Unicode) 0x002F,
-
- MS_NDIVIDES = (sal_Unicode) 0x2224,
- MS_DRARROW = (sal_Unicode) 0x21D2,
- MS_DLARROW = (sal_Unicode) 0x21D0,
- MS_DLRARROW = (sal_Unicode) 0x21D4,
- MS_OVERBRACE = (sal_Unicode) 0x23DE,
- MS_UNDERBRACE = (sal_Unicode) 0x23DF,
- MS_CIRC = (sal_Unicode) 0x2218,
- MS_ASSIGN = (sal_Unicode) 0x003D,
- MS_ERROR = (sal_Unicode) 0x00BF,
-
- MS_NEQ = (sal_Unicode) 0x2260,
- MS_PLUS = (sal_Unicode) 0x002B,
- MS_MINUS = (sal_Unicode) 0x2212,
- MS_MULTIPLY = (sal_Unicode) 0x2217,
- MS_TIMES = (sal_Unicode) 0x00D7,
- MS_CDOT = (sal_Unicode) 0x22C5,
- MS_DIV = (sal_Unicode) 0x00F7,
- MS_PLUSMINUS = (sal_Unicode) 0x00B1,
- MS_MINUSPLUS = (sal_Unicode) 0x2213,
- MS_OPLUS = (sal_Unicode) 0x2295,
- MS_OMINUS = (sal_Unicode) 0x2296,
- MS_OTIMES = (sal_Unicode) 0x2297,
- MS_ODIVIDE = (sal_Unicode) 0x2298,
- MS_ODOT = (sal_Unicode) 0x2299,
- MS_UNION = (sal_Unicode) 0x222A,
- MS_INTERSECT = (sal_Unicode) 0x2229,
-
- MS_LT = (sal_Unicode) 0x003C,
- MS_GT = (sal_Unicode) 0x003E,
- MS_LE = (sal_Unicode) 0x2264,
- MS_GE = (sal_Unicode) 0x2265,
- MS_LESLANT = (sal_Unicode) 0x2A7D,
- MS_GESLANT = (sal_Unicode) 0x2A7E,
- MS_LL = (sal_Unicode) 0x226A,
- MS_GG = (sal_Unicode) 0x226B,
- MS_SIM = (sal_Unicode) 0x223C,
- MS_SIMEQ = (sal_Unicode) 0x2243,
- MS_APPROX = (sal_Unicode) 0x2248,
- MS_DEF = (sal_Unicode) 0x225D,
- MS_EQUIV = (sal_Unicode) 0x2261,
- MS_PROP = (sal_Unicode) 0x221D,
- MS_PARTIAL = (sal_Unicode) 0x2202,
-
- MS_SUBSET = (sal_Unicode) 0x2282,
- MS_SUPSET = (sal_Unicode) 0x2283,
- MS_SUBSETEQ = (sal_Unicode) 0x2286,
- MS_SUPSETEQ = (sal_Unicode) 0x2287,
- MS_NSUBSET = (sal_Unicode) 0x2284,
- MS_NSUPSET = (sal_Unicode) 0x2285,
- MS_NSUBSETEQ = (sal_Unicode) 0x2288,
- MS_NSUPSETEQ = (sal_Unicode) 0x2289,
- MS_IN = (sal_Unicode) 0x2208,
- MS_NOTIN = (sal_Unicode) 0x2209,
- MS_EXISTS = (sal_Unicode) 0x2203,
- MS_NOTEXISTS = (sal_Unicode) 0x2204,
- MS_BACKEPSILON = (sal_Unicode) 0x220D,
- MS_ALEPH = (sal_Unicode) 0x2135,
- MS_IM = (sal_Unicode) 0x2111,
- MS_RE = (sal_Unicode) 0x211C,
- MS_WP = (sal_Unicode) 0x2118,
-
- MS_LINE = (sal_Unicode) 0x2223,
- MS_VERTLINE = (sal_Unicode) 0x007C,
- MS_DLINE = (sal_Unicode) 0x2225,
- MS_DVERTLINE = (sal_Unicode) 0x2016,
- MS_ORTHO = (sal_Unicode) 0x22A5,
- MS_DOTSLOW = (sal_Unicode) 0x2026,
- MS_DOTSAXIS = (sal_Unicode) 0x22EF,
- MS_DOTSVERT = (sal_Unicode) 0x22EE,
- MS_DOTSUP = (sal_Unicode) 0x22F0,
- MS_DOTSDOWN = (sal_Unicode) 0x22F1,
- MS_TRANSR = (sal_Unicode) 0x22B6,
- MS_TRANSL = (sal_Unicode) 0x22B7,
- MS_BACKSLASH = (sal_Unicode) 0x2216,
- MS_NEG = (sal_Unicode) 0x00AC,
-
- MS_FORALL = (sal_Unicode) 0x2200,
- MS_NABLA = (sal_Unicode) 0x2207,
- MS_PROD = (sal_Unicode) 0x220F,
- MS_COPROD = (sal_Unicode) 0x2210,
- MS_SUM = (sal_Unicode) 0x2211,
- MS_SQRT = (sal_Unicode) 0x221A,
- MS_INT = (sal_Unicode) 0x222B,
- MS_IINT = (sal_Unicode) 0x222C,
- MS_IIINT = (sal_Unicode) 0x222D,
- MS_LINT = (sal_Unicode) 0x222E,
- MS_LLINT = (sal_Unicode) 0x222F,
- MS_LLLINT = (sal_Unicode) 0x2230,
-
- MS_GRAVE = (sal_Unicode) 0x0060,
- MS_COMBGRAVE = (sal_Unicode) 0x0300,
- MS_ACUTE = (sal_Unicode) 0x00B4,
- MS_COMBACUTE = (sal_Unicode) 0x0301,
- MS_HAT = (sal_Unicode) 0x005E,
- MS_COMBHAT = (sal_Unicode) 0x0302,
- MS_TILDE = (sal_Unicode) 0x007E,
- MS_COMBTILDE = (sal_Unicode) 0x0303,
- MS_BAR = (sal_Unicode) 0x00AF,
- MS_COMBBAR = (sal_Unicode) 0x0304,
- MS_BREVE = (sal_Unicode) 0x02D8,
- MS_COMBBREVE = (sal_Unicode) 0x0306,
- MS_CIRCLE = (sal_Unicode) 0x02DA,
- MS_COMBCIRCLE = (sal_Unicode) 0x030A,
- MS_CHECK = (sal_Unicode) 0x02C7,
- MS_COMBCHECK = (sal_Unicode) 0x030C,
- MS_VEC = (sal_Unicode) 0x20D7,
- MS_DOT = (sal_Unicode) 0x02D9,
- MS_DDOT = (sal_Unicode) 0x00A8,
- MS_DDDOT = (sal_Unicode) 0x20DB,
- MS_AND = (sal_Unicode) 0x2227,
- MS_OR = (sal_Unicode) 0x2228,
- MS_NI = (sal_Unicode) 0x220B,
- MS_EMPTYSET = (sal_Unicode) 0x2205,
-
- MS_LPARENT = (sal_Unicode) 0x0028,
- MS_RPARENT = (sal_Unicode) 0x0029,
- MS_LBRACKET = (sal_Unicode) 0x005B,
- MS_RBRACKET = (sal_Unicode) 0x005D,
- MS_LBRACE = (sal_Unicode) 0x007B,
- MS_RBRACE = (sal_Unicode) 0x007D,
- MS_LCEIL = (sal_Unicode) 0x2308,
- MS_RCEIL = (sal_Unicode) 0x2309,
- MS_LFLOOR = (sal_Unicode) 0x230A,
- MS_RFLOOR = (sal_Unicode) 0x230B,
- MS_LANGLE = (sal_Unicode) 0x2329,
- MS_RANGLE = (sal_Unicode) 0x232A,
- MS_LDBRACKET = (sal_Unicode) 0x27E6,
- MS_RDBRACKET = (sal_Unicode) 0x27E7,
- MS_LMATHANGLE = (sal_Unicode) 0x27E8,
- MS_RMATHANGLE = (sal_Unicode) 0x27E9,
-
- MS_PLACE = (sal_Unicode) 0x2751,
-
- MS_LAMBDABAR = (sal_Unicode) 0x019B,
- MS_HBAR = (sal_Unicode) 0x210F,
- MS_LEFTARROW = (sal_Unicode) 0x2190,
- MS_UPARROW = (sal_Unicode) 0x2191,
- MS_RIGHTARROW = (sal_Unicode) 0x2192,
- MS_DOWNARROW = (sal_Unicode) 0x2193,
- MS_SETN = (sal_Unicode) 0x2115,
- MS_SETZ = (sal_Unicode) 0x2124,
- MS_SETQ = (sal_Unicode) 0x211A,
- MS_SETR = (sal_Unicode) 0x211D,
- MS_SETC = (sal_Unicode) 0x2102,
-
- MS_PERCENT = (sal_Unicode) 0x0025,
-
- MS_PRECEDES = (sal_Unicode) 0x227A,
- MS_PRECEDESEQUAL= (sal_Unicode) 0x227C,
- MS_PRECEDESEQUIV= (sal_Unicode) 0x227E,
- MS_SUCCEEDS = (sal_Unicode) 0x227B,
- MS_SUCCEEDSEQUAL= (sal_Unicode) 0x227D,
- MS_SUCCEEDSEQUIV= (sal_Unicode) 0x227F,
- MS_NOTPRECEDES = (sal_Unicode) 0x2280,
- MS_NOTSUCCEEDS = (sal_Unicode) 0x2281,
-};
+sal_Unicode const MS_FACT = 0x0021;
+sal_Unicode const MS_INFINITY = 0x221E;
+sal_Unicode const MS_SLASH = 0x002F;
+
+sal_Unicode const MS_NDIVIDES = 0x2224;
+sal_Unicode const MS_DRARROW = 0x21D2;
+sal_Unicode const MS_DLARROW = 0x21D0;
+sal_Unicode const MS_DLRARROW = 0x21D4;
+sal_Unicode const MS_OVERBRACE = 0x23DE;
+sal_Unicode const MS_UNDERBRACE = 0x23DF;
+sal_Unicode const MS_CIRC = 0x2218;
+sal_Unicode const MS_ASSIGN = 0x003D;
+sal_Unicode const MS_ERROR = 0x00BF;
+
+sal_Unicode const MS_NEQ = 0x2260;
+sal_Unicode const MS_PLUS = 0x002B;
+sal_Unicode const MS_MINUS = 0x2212;
+sal_Unicode const MS_MULTIPLY = 0x2217;
+sal_Unicode const MS_TIMES = 0x00D7;
+sal_Unicode const MS_CDOT = 0x22C5;
+sal_Unicode const MS_DIV = 0x00F7;
+sal_Unicode const MS_PLUSMINUS = 0x00B1;
+sal_Unicode const MS_MINUSPLUS = 0x2213;
+sal_Unicode const MS_OPLUS = 0x2295;
+sal_Unicode const MS_OMINUS = 0x2296;
+sal_Unicode const MS_OTIMES = 0x2297;
+sal_Unicode const MS_ODIVIDE = 0x2298;
+sal_Unicode const MS_ODOT = 0x2299;
+sal_Unicode const MS_UNION = 0x222A;
+sal_Unicode const MS_INTERSECT = 0x2229;
+
+sal_Unicode const MS_LT = 0x003C;
+sal_Unicode const MS_GT = 0x003E;
+sal_Unicode const MS_LE = 0x2264;
+sal_Unicode const MS_GE = 0x2265;
+sal_Unicode const MS_LESLANT = 0x2A7D;
+sal_Unicode const MS_GESLANT = 0x2A7E;
+sal_Unicode const MS_LL = 0x226A;
+sal_Unicode const MS_GG = 0x226B;
+sal_Unicode const MS_SIM = 0x223C;
+sal_Unicode const MS_SIMEQ = 0x2243;
+sal_Unicode const MS_APPROX = 0x2248;
+sal_Unicode const MS_DEF = 0x225D;
+sal_Unicode const MS_EQUIV = 0x2261;
+sal_Unicode const MS_PROP = 0x221D;
+sal_Unicode const MS_PARTIAL = 0x2202;
+
+sal_Unicode const MS_SUBSET = 0x2282;
+sal_Unicode const MS_SUPSET = 0x2283;
+sal_Unicode const MS_SUBSETEQ = 0x2286;
+sal_Unicode const MS_SUPSETEQ = 0x2287;
+sal_Unicode const MS_NSUBSET = 0x2284;
+sal_Unicode const MS_NSUPSET = 0x2285;
+sal_Unicode const MS_NSUBSETEQ = 0x2288;
+sal_Unicode const MS_NSUPSETEQ = 0x2289;
+sal_Unicode const MS_IN = 0x2208;
+sal_Unicode const MS_NOTIN = 0x2209;
+sal_Unicode const MS_EXISTS = 0x2203;
+sal_Unicode const MS_NOTEXISTS = 0x2204;
+sal_Unicode const MS_BACKEPSILON = 0x220D;
+sal_Unicode const MS_ALEPH = 0x2135;
+sal_Unicode const MS_IM = 0x2111;
+sal_Unicode const MS_RE = 0x211C;
+sal_Unicode const MS_WP = 0x2118;
+
+sal_Unicode const MS_LINE = 0x2223;
+sal_Unicode const MS_VERTLINE = 0x007C;
+sal_Unicode const MS_DLINE = 0x2225;
+sal_Unicode const MS_DVERTLINE = 0x2016;
+sal_Unicode const MS_ORTHO = 0x22A5;
+sal_Unicode const MS_DOTSLOW = 0x2026;
+sal_Unicode const MS_DOTSAXIS = 0x22EF;
+sal_Unicode const MS_DOTSVERT = 0x22EE;
+sal_Unicode const MS_DOTSUP = 0x22F0;
+sal_Unicode const MS_DOTSDOWN = 0x22F1;
+sal_Unicode const MS_TRANSR = 0x22B6;
+sal_Unicode const MS_TRANSL = 0x22B7;
+sal_Unicode const MS_BACKSLASH = 0x2216;
+sal_Unicode const MS_NEG = 0x00AC;
+
+sal_Unicode const MS_FORALL = 0x2200;
+sal_Unicode const MS_NABLA = 0x2207;
+sal_Unicode const MS_PROD = 0x220F;
+sal_Unicode const MS_COPROD = 0x2210;
+sal_Unicode const MS_SUM = 0x2211;
+sal_Unicode const MS_SQRT = 0x221A;
+sal_Unicode const MS_INT = 0x222B;
+sal_Unicode const MS_IINT = 0x222C;
+sal_Unicode const MS_IIINT = 0x222D;
+sal_Unicode const MS_LINT = 0x222E;
+sal_Unicode const MS_LLINT = 0x222F;
+sal_Unicode const MS_LLLINT = 0x2230;
+
+sal_Unicode const MS_GRAVE = 0x0060;
+sal_Unicode const MS_COMBGRAVE = 0x0300;
+sal_Unicode const MS_ACUTE = 0x00B4;
+sal_Unicode const MS_COMBACUTE = 0x0301;
+sal_Unicode const MS_HAT = 0x005E;
+sal_Unicode const MS_COMBHAT = 0x0302;
+sal_Unicode const MS_TILDE = 0x007E;
+sal_Unicode const MS_COMBTILDE = 0x0303;
+sal_Unicode const MS_BAR = 0x00AF;
+sal_Unicode const MS_COMBBAR = 0x0304;
+sal_Unicode const MS_BREVE = 0x02D8;
+sal_Unicode const MS_COMBBREVE = 0x0306;
+sal_Unicode const MS_CIRCLE = 0x02DA;
+sal_Unicode const MS_COMBCIRCLE = 0x030A;
+sal_Unicode const MS_CHECK = 0x02C7;
+sal_Unicode const MS_COMBCHECK = 0x030C;
+sal_Unicode const MS_VEC = 0x20D7;
+sal_Unicode const MS_DOT = 0x02D9;
+sal_Unicode const MS_DDOT = 0x00A8;
+sal_Unicode const MS_DDDOT = 0x20DB;
+sal_Unicode const MS_AND = 0x2227;
+sal_Unicode const MS_OR = 0x2228;
+sal_Unicode const MS_NI = 0x220B;
+sal_Unicode const MS_EMPTYSET = 0x2205;
+
+sal_Unicode const MS_LPARENT = 0x0028;
+sal_Unicode const MS_RPARENT = 0x0029;
+sal_Unicode const MS_LBRACKET = 0x005B;
+sal_Unicode const MS_RBRACKET = 0x005D;
+sal_Unicode const MS_LBRACE = 0x007B;
+sal_Unicode const MS_RBRACE = 0x007D;
+sal_Unicode const MS_LCEIL = 0x2308;
+sal_Unicode const MS_RCEIL = 0x2309;
+sal_Unicode const MS_LFLOOR = 0x230A;
+sal_Unicode const MS_RFLOOR = 0x230B;
+sal_Unicode const MS_LANGLE = 0x2329;
+sal_Unicode const MS_RANGLE = 0x232A;
+sal_Unicode const MS_LDBRACKET = 0x27E6;
+sal_Unicode const MS_RDBRACKET = 0x27E7;
+sal_Unicode const MS_LMATHANGLE = 0x27E8;
+sal_Unicode const MS_RMATHANGLE = 0x27E9;
+
+sal_Unicode const MS_PLACE = 0x2751;
+
+sal_Unicode const MS_LAMBDABAR = 0x019B;
+sal_Unicode const MS_HBAR = 0x210F;
+sal_Unicode const MS_LEFTARROW = 0x2190;
+sal_Unicode const MS_UPARROW = 0x2191;
+sal_Unicode const MS_RIGHTARROW = 0x2192;
+sal_Unicode const MS_DOWNARROW = 0x2193;
+sal_Unicode const MS_SETN = 0x2115;
+sal_Unicode const MS_SETZ = 0x2124;
+sal_Unicode const MS_SETQ = 0x211A;
+sal_Unicode const MS_SETR = 0x211D;
+sal_Unicode const MS_SETC = 0x2102;
+
+sal_Unicode const MS_PERCENT = 0x0025;
+
+sal_Unicode const MS_PRECEDES = 0x227A;
+sal_Unicode const MS_PRECEDESEQUAL = 0x227C;
+sal_Unicode const MS_PRECEDESEQUIV = 0x227E;
+sal_Unicode const MS_SUCCEEDS = 0x227B;
+sal_Unicode const MS_SUCCEEDSEQUAL = 0x227D;
+sal_Unicode const MS_SUCCEEDSEQUIV = 0x227F;
+sal_Unicode const MS_NOTPRECEDES = 0x2280;
+sal_Unicode const MS_NOTSUCCEEDS = 0x2281;
#endif