LibreOffice
LibreOffice 24.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 
20 
21 module com { module sun { module star { module i18n {
22 
23 
35 published constants KParseTokens
36 {
38  const long ASC_UPALPHA = 0x00000001;
39 
41  const long ASC_LOALPHA = 0x00000002;
42 
44  const long ASC_DIGIT = 0x00000004;
45 
47  const long ASC_UNDERSCORE = 0x00000008;
48 
50  const long ASC_DOLLAR = 0x00000010;
51 
53  const long ASC_DOT = 0x00000020;
54 
56  const long ASC_COLON = 0x00000040;
57 
59  const long ASC_CONTROL = 0x00000200;
60 
64  const long ASC_ANY_BUT_CONTROL = 0x00000400;
65 
70  const long ASC_OTHER = 0x00000800;
71 
73  const long UNI_UPALPHA = 0x00001000;
74 
76  const long UNI_LOALPHA = 0x00002000;
77 
79  const long UNI_DIGIT = 0x00004000;
80 
82  const long UNI_TITLE_ALPHA = 0x00008000;
83 
85  const long UNI_MODIFIER_LETTER = 0x00010000;
86 
88  const long UNI_OTHER_LETTER = 0x00020000;
89 
91  const long UNI_LETTER_NUMBER = 0x00040000;
92 
94  const long UNI_OTHER_NUMBER = 0x00080000;
95 
116  const long GROUP_SEPARATOR_IN_NUMBER = 0x08000000;
117 
129  const long TWO_DOUBLE_QUOTES_BREAK_STRING = 0x10000000;
130 
134  const long UNI_OTHER = 0x20000000;
135 
141  const long IGNORE_LEADING_WS = 0x40000000;
142 
143 
144  // useful combinations
145 
148 
150  const long ASC_ALNUM = ASC_ALPHA | ASC_DIGIT;
151 
154 
156  const long UNI_ALNUM = UNI_ALPHA | UNI_DIGIT;
157 
161 
165 
167  const long ANY_ALPHA = ASC_ALPHA | UNI_ALPHA;
168 
170  const long ANY_DIGIT = ASC_DIGIT | UNI_DIGIT;
171 
173  const long ANY_ALNUM = ASC_ALNUM | UNI_ALNUM;
174 
177 
180 
183 };
184 
185 }; }; }; };
186 
187 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const long ASC_UPALPHA
ASCII A-Z upper alpha.
Definition: KParseTokens.idl:38
const long UNI_TITLE_ALPHA
Unicode (above 127) title case letter.
Definition: KParseTokens.idl:82
const long UNI_DIGIT
Unicode (above 127) decimal digit number.
Definition: KParseTokens.idl:79
const long UNI_ALPHA
Unicode (above 127) lower or upper or title case alpha.
Definition: KParseTokens.idl:153
const long ANY_LETTER_OR_NUMBER
any (ASCII or Unicode) letter or number
Definition: KParseTokens.idl:182
const long ASC_CONTROL
Special value to allow control characters (0x00 < char < 0x20)
Definition: KParseTokens.idl:59
const long ANY_ALNUM
any (ASCII or Unicode) alphanumeric
Definition: KParseTokens.idl:173
const long ASC_DOLLAR
ASCII &#39;$&#39; dollar.
Definition: KParseTokens.idl:50
const long UNI_LETTER_NUMBER
Unicode (above 127) letter number.
Definition: KParseTokens.idl:91
const long UNI_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:134
Definition: Ambiguous.idl:20
const long ASC_COLON
ASCII &#39;:&#39; colon.
Definition: KParseTokens.idl:56
const long ANY_ALPHA
any (ASCII or Unicode) alpha
Definition: KParseTokens.idl:167
const long GROUP_SEPARATOR_IN_NUMBER
If this bit is set in nContCharFlags parameters, the locale&#39;s group separator characters in numbers a...
Definition: KParseTokens.idl:116
const long UNI_LETTER
Unicode (above 127) alpha or letter.
Definition: KParseTokens.idl:159
const long IGNORE_LEADING_WS
Only valid for nStartCharFlags parameter to CharacterClassification::parseAnyToken() and CharacterCla...
Definition: KParseTokens.idl:141
const long UNI_MODIFIER_LETTER
Unicode (above 127) modifier letter.
Definition: KParseTokens.idl:85
const long ASC_DOT
ASCII &#39;.&#39; dot/point.
Definition: KParseTokens.idl:53
const long UNI_OTHER_NUMBER
Unicode (above 127) other number.
Definition: KParseTokens.idl:94
const long UNI_LOALPHA
Unicode (above 127) lower case letter.
Definition: KParseTokens.idl:76
const long UNI_ALNUM
Unicode (above 127) alphanumeric.
Definition: KParseTokens.idl:156
const long ASC_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:70
const long ASC_ANY_BUT_CONTROL
Special value to allow anything below 128 except control characters.
Definition: KParseTokens.idl:64
const long ASC_ALNUM
ASCII a-zA-Z0-9 alphanumeric.
Definition: KParseTokens.idl:150
const long UNI_NUMBER
Unicode (above 127) number.
Definition: KParseTokens.idl:163
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:129
const long UNI_OTHER_LETTER
Unicode (above 127) other letter.
Definition: KParseTokens.idl:88
const long ASC_LOALPHA
ASCII a-z lower alpha.
Definition: KParseTokens.idl:41
const long ASC_UNDERSCORE
ASCII &#39;_&#39; underscore.
Definition: KParseTokens.idl:47
const long UNI_UPALPHA
Unicode (above 127) upper case letter.
Definition: KParseTokens.idl:73
const long ASC_DIGIT
ASCII 0-9 digit.
Definition: KParseTokens.idl:44
const long ANY_NUMBER
any (ASCII or Unicode) number
Definition: KParseTokens.idl:179
const long ASC_ALPHA
ASCII a-zA-Z lower or upper alpha.
Definition: KParseTokens.idl:147
const long ANY_DIGIT
any (ASCII or Unicode) digit
Definition: KParseTokens.idl:170
const long ANY_LETTER
any (ASCII or Unicode) letter
Definition: KParseTokens.idl:176