LibreOffice
LibreOffice 6.2 SDK API Reference
KParseTokens.idl
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 #ifndef __com_sun_star_i18n_KParseTokens_idl__
20 #define __com_sun_star_i18n_KParseTokens_idl__
21 
22 
23 module com { module sun { module star { module i18n {
24 
25 
37 published constants KParseTokens
38 {
40  const long ASC_UPALPHA = 0x00000001;
41 
43  const long ASC_LOALPHA = 0x00000002;
44 
46  const long ASC_DIGIT = 0x00000004;
47 
49  const long ASC_UNDERSCORE = 0x00000008;
50 
52  const long ASC_DOLLAR = 0x00000010;
53 
55  const long ASC_DOT = 0x00000020;
56 
58  const long ASC_COLON = 0x00000040;
59 
61  const long ASC_CONTROL = 0x00000200;
62 
66  const long ASC_ANY_BUT_CONTROL = 0x00000400;
67 
72  const long ASC_OTHER = 0x00000800;
73 
75  const long UNI_UPALPHA = 0x00001000;
76 
78  const long UNI_LOALPHA = 0x00002000;
79 
81  const long UNI_DIGIT = 0x00004000;
82 
84  const long UNI_TITLE_ALPHA = 0x00008000;
85 
87  const long UNI_MODIFIER_LETTER = 0x00010000;
88 
90  const long UNI_OTHER_LETTER = 0x00020000;
91 
93  const long UNI_LETTER_NUMBER = 0x00040000;
94 
96  const long UNI_OTHER_NUMBER = 0x00080000;
97 
109  const long TWO_DOUBLE_QUOTES_BREAK_STRING = 0x10000000;
110 
114  const long UNI_OTHER = 0x20000000;
115 
121  const long IGNORE_LEADING_WS = 0x40000000;
122 
123 
124  // useful combinations
125 
127  const long ASC_ALPHA = ASC_UPALPHA | ASC_LOALPHA;
128 
130  const long ASC_ALNUM = ASC_ALPHA | ASC_DIGIT;
131 
133  const long UNI_ALPHA = UNI_UPALPHA | UNI_LOALPHA | UNI_TITLE_ALPHA;
134 
136  const long UNI_ALNUM = UNI_ALPHA | UNI_DIGIT;
137 
139  const long UNI_LETTER = UNI_ALPHA | UNI_MODIFIER_LETTER |
141 
143  const long UNI_NUMBER = UNI_DIGIT | UNI_LETTER_NUMBER |
145 
147  const long ANY_ALPHA = ASC_ALPHA | UNI_ALPHA;
148 
150  const long ANY_DIGIT = ASC_DIGIT | UNI_DIGIT;
151 
153  const long ANY_ALNUM = ASC_ALNUM | UNI_ALNUM;
154 
156  const long ANY_LETTER = ASC_ALPHA | UNI_LETTER;
157 
159  const long ANY_NUMBER = ASC_DIGIT | UNI_NUMBER;
160 
162  const long ANY_LETTER_OR_NUMBER = ANY_LETTER | ANY_NUMBER;
163 };
164 
165 }; }; }; };
166 
167 #endif
168 
169 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const long ASC_UPALPHA
ASCII A-Z upper alpha.
Definition: KParseTokens.idl:40
const long UNI_TITLE_ALPHA
Unicode (above 127) title case letter.
Definition: KParseTokens.idl:84
const long UNI_DIGIT
Unicode (above 127) decimal digit number.
Definition: KParseTokens.idl:81
const long UNI_ALPHA
Unicode (above 127) lower or upper or title case alpha.
Definition: KParseTokens.idl:133
const long ANY_LETTER_OR_NUMBER
any (ASCII or Unicode) letter or number
Definition: KParseTokens.idl:162
const long ASC_CONTROL
Special value to allow control characters (0x00 < char < 0x20)
Definition: KParseTokens.idl:61
const long ANY_ALNUM
any (ASCII or Unicode) alphanumeric
Definition: KParseTokens.idl:153
const long ASC_DOLLAR
ASCII &#39;$&#39; dollar.
Definition: KParseTokens.idl:52
const long UNI_LETTER_NUMBER
Unicode (above 127) letter number.
Definition: KParseTokens.idl:93
const long UNI_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:114
Definition: Ambiguous.idl:22
const long ASC_COLON
ASCII &#39;:&#39; colon.
Definition: KParseTokens.idl:58
const long ANY_ALPHA
any (ASCII or Unicode) alpha
Definition: KParseTokens.idl:147
const long UNI_LETTER
Unicode (above 127) alpha or letter.
Definition: KParseTokens.idl:139
const long IGNORE_LEADING_WS
Only valid for nStartCharFlags parameter to ChararacterClassification::parseAnyToken() and Chararacte...
Definition: KParseTokens.idl:121
const long UNI_MODIFIER_LETTER
Unicode (above 127) modifier letter.
Definition: KParseTokens.idl:87
const long ASC_DOT
ASCII &#39;.&#39; dot/point.
Definition: KParseTokens.idl:55
const long UNI_OTHER_NUMBER
Unicode (above 127) other number.
Definition: KParseTokens.idl:96
const long UNI_LOALPHA
Unicode (above 127) lower case letter.
Definition: KParseTokens.idl:78
const long UNI_ALNUM
Unicode (above 127) alphanumeric.
Definition: KParseTokens.idl:136
const long ASC_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:72
const long ASC_ANY_BUT_CONTROL
Special value to allow anything below 128 except control characters.
Definition: KParseTokens.idl:66
const long ASC_ALNUM
ASCII a-zA-Z0-9 alphanumeric.
Definition: KParseTokens.idl:130
const long UNI_NUMBER
Unicode (above 127) number.
Definition: KParseTokens.idl:143
const long TWO_DOUBLE_QUOTES_BREAK_STRING
If this bit is set in nContCharFlags parameters and a string enclosed in double quotes is parsed and ...
Definition: KParseTokens.idl:109
const long UNI_OTHER_LETTER
Unicode (above 127) other letter.
Definition: KParseTokens.idl:90
const long ASC_LOALPHA
ASCII a-z lower alpha.
Definition: KParseTokens.idl:43
const long ASC_UNDERSCORE
ASCII &#39;_&#39; underscore.
Definition: KParseTokens.idl:49
const long UNI_UPALPHA
Unicode (above 127) upper case letter.
Definition: KParseTokens.idl:75
const long ASC_DIGIT
ASCII 0-9 digit.
Definition: KParseTokens.idl:46
const long ANY_NUMBER
any (ASCII or Unicode) number
Definition: KParseTokens.idl:159
const long ASC_ALPHA
ASCII a-zA-Z lower or upper alpha.
Definition: KParseTokens.idl:127
const long ANY_DIGIT
any (ASCII or Unicode) digit
Definition: KParseTokens.idl:150
const long ANY_LETTER
any (ASCII or Unicode) letter
Definition: KParseTokens.idl:156