LibreOffice
LibreOffice 6.4 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 
118  const long GROUP_SEPARATOR_IN_NUMBER = 0x08000000;
119 
131  const long TWO_DOUBLE_QUOTES_BREAK_STRING = 0x10000000;
132 
136  const long UNI_OTHER = 0x20000000;
137 
143  const long IGNORE_LEADING_WS = 0x40000000;
144 
145 
146  // useful combinations
147 
150 
152  const long ASC_ALNUM = ASC_ALPHA | ASC_DIGIT;
153 
156 
158  const long UNI_ALNUM = UNI_ALPHA | UNI_DIGIT;
159 
163 
167 
169  const long ANY_ALPHA = ASC_ALPHA | UNI_ALPHA;
170 
172  const long ANY_DIGIT = ASC_DIGIT | UNI_DIGIT;
173 
175  const long ANY_ALNUM = ASC_ALNUM | UNI_ALNUM;
176 
179 
182 
185 };
186 
187 }; }; }; };
188 
189 #endif
190 
191 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::i18n::KParseTokens::UNI_OTHER_LETTER
const long UNI_OTHER_LETTER
Unicode (above 127) other letter.
Definition: KParseTokens.idl:90
com::sun::star::i18n::KParseTokens::TWO_DOUBLE_QUOTES_BREAK_STRING
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:131
com::sun::star::i18n::KParseTokens::ASC_COLON
const long ASC_COLON
ASCII ':' colon.
Definition: KParseTokens.idl:58
com::sun::star::i18n::KParseTokens::ANY_LETTER
const long ANY_LETTER
any (ASCII or Unicode) letter
Definition: KParseTokens.idl:178
com::sun::star::i18n::KParseTokens::ASC_CONTROL
const long ASC_CONTROL
Special value to allow control characters (0x00 < char < 0x20)
Definition: KParseTokens.idl:61
com::sun::star::i18n::KParseTokens::UNI_LETTER_NUMBER
const long UNI_LETTER_NUMBER
Unicode (above 127) letter number.
Definition: KParseTokens.idl:93
com::sun::star::i18n::KParseTokens::ANY_LETTER_OR_NUMBER
const long ANY_LETTER_OR_NUMBER
any (ASCII or Unicode) letter or number
Definition: KParseTokens.idl:184
com::sun::star::i18n::KParseTokens::UNI_LETTER
const long UNI_LETTER
Unicode (above 127) alpha or letter.
Definition: KParseTokens.idl:161
com::sun::star::i18n::KParseTokens::ASC_DIGIT
const long ASC_DIGIT
ASCII 0-9 digit.
Definition: KParseTokens.idl:46
com::sun::star::i18n::KParseTokens::UNI_ALPHA
const long UNI_ALPHA
Unicode (above 127) lower or upper or title case alpha.
Definition: KParseTokens.idl:155
com::sun::star::i18n::KParseTokens::ASC_ANY_BUT_CONTROL
const long ASC_ANY_BUT_CONTROL
Special value to allow anything below 128 except control characters.
Definition: KParseTokens.idl:66
com::sun::star::i18n::KParseTokens::UNI_MODIFIER_LETTER
const long UNI_MODIFIER_LETTER
Unicode (above 127) modifier letter.
Definition: KParseTokens.idl:87
com::sun::star::i18n::KParseTokens::UNI_OTHER
const long UNI_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:136
com::sun::star::i18n::KParseTokens::GROUP_SEPARATOR_IN_NUMBER
const long GROUP_SEPARATOR_IN_NUMBER
If this bit is set in nContCharFlags parameters, the locale's group separator characters in numbers a...
Definition: KParseTokens.idl:118
com::sun::star::i18n::KParseTokens::IGNORE_LEADING_WS
const long IGNORE_LEADING_WS
Only valid for nStartCharFlags parameter to ChararacterClassification::parseAnyToken() and Chararacte...
Definition: KParseTokens.idl:143
com::sun::star::i18n::KParseTokens::ASC_OTHER
const long ASC_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:72
com::sun::star::i18n::KParseTokens::UNI_NUMBER
const long UNI_NUMBER
Unicode (above 127) number.
Definition: KParseTokens.idl:165
com::sun::star::i18n::KParseTokens::ASC_DOLLAR
const long ASC_DOLLAR
ASCII '$' dollar.
Definition: KParseTokens.idl:52
com::sun::star::i18n::KParseTokens::ANY_ALPHA
const long ANY_ALPHA
any (ASCII or Unicode) alpha
Definition: KParseTokens.idl:169
com::sun::star::i18n::KParseTokens::ANY_ALNUM
const long ANY_ALNUM
any (ASCII or Unicode) alphanumeric
Definition: KParseTokens.idl:175
com::sun::star::i18n::KParseTokens::ASC_DOT
const long ASC_DOT
ASCII '.' dot/point.
Definition: KParseTokens.idl:55
com::sun::star::i18n::KParseTokens::ASC_ALPHA
const long ASC_ALPHA
ASCII a-zA-Z lower or upper alpha.
Definition: KParseTokens.idl:149
com::sun::star::i18n::KParseTokens::UNI_LOALPHA
const long UNI_LOALPHA
Unicode (above 127) lower case letter.
Definition: KParseTokens.idl:78
com::sun::star::i18n::KParseTokens::ASC_ALNUM
const long ASC_ALNUM
ASCII a-zA-Z0-9 alphanumeric.
Definition: KParseTokens.idl:152
com::sun::star::i18n::KParseTokens::ASC_LOALPHA
const long ASC_LOALPHA
ASCII a-z lower alpha.
Definition: KParseTokens.idl:43
com::sun::star::i18n::KParseTokens::UNI_OTHER_NUMBER
const long UNI_OTHER_NUMBER
Unicode (above 127) other number.
Definition: KParseTokens.idl:96
com::sun::star::i18n::KParseTokens::UNI_ALNUM
const long UNI_ALNUM
Unicode (above 127) alphanumeric.
Definition: KParseTokens.idl:158
com::sun::star::i18n::KParseTokens::UNI_DIGIT
const long UNI_DIGIT
Unicode (above 127) decimal digit number.
Definition: KParseTokens.idl:81
com
Definition: Ambiguous.idl:22
com::sun::star::i18n::KParseTokens::ANY_NUMBER
const long ANY_NUMBER
any (ASCII or Unicode) number
Definition: KParseTokens.idl:181
com::sun::star::i18n::KParseTokens::UNI_UPALPHA
const long UNI_UPALPHA
Unicode (above 127) upper case letter.
Definition: KParseTokens.idl:75
com::sun::star::i18n::KParseTokens::ANY_DIGIT
const long ANY_DIGIT
any (ASCII or Unicode) digit
Definition: KParseTokens.idl:172
com::sun::star::i18n::KParseTokens::UNI_TITLE_ALPHA
const long UNI_TITLE_ALPHA
Unicode (above 127) title case letter.
Definition: KParseTokens.idl:84
com::sun::star::i18n::KParseTokens::ASC_UNDERSCORE
const long ASC_UNDERSCORE
ASCII '_' underscore.
Definition: KParseTokens.idl:49
com::sun::star::i18n::KParseTokens::ASC_UPALPHA
const long ASC_UPALPHA
ASCII A-Z upper alpha.
Definition: KParseTokens.idl:40