LibreOffice LibreOffice 25.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
21module com { module sun { module star { module i18n {
22
23
35published 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
101 const long GROUP_SEPARATOR_IN_NUMBER_3 = 0x04000000;
102
123 const long GROUP_SEPARATOR_IN_NUMBER = 0x08000000;
124
136 const long TWO_DOUBLE_QUOTES_BREAK_STRING = 0x10000000;
137
141 const long UNI_OTHER = 0x20000000;
142
148 const long IGNORE_LEADING_WS = 0x40000000;
149
150
151 // useful combinations
152
154 const long ASC_ALPHA = ASC_UPALPHA | ASC_LOALPHA;
155
157 const long ASC_ALNUM = ASC_ALPHA | ASC_DIGIT;
158
160 const long UNI_ALPHA = UNI_UPALPHA | UNI_LOALPHA | UNI_TITLE_ALPHA;
161
163 const long UNI_ALNUM = UNI_ALPHA | UNI_DIGIT;
164
166 const long UNI_LETTER = UNI_ALPHA | UNI_MODIFIER_LETTER |
167 UNI_OTHER_LETTER;
168
170 const long UNI_NUMBER = UNI_DIGIT | UNI_LETTER_NUMBER |
171 UNI_OTHER_NUMBER;
172
174 const long ANY_ALPHA = ASC_ALPHA | UNI_ALPHA;
175
177 const long ANY_DIGIT = ASC_DIGIT | UNI_DIGIT;
178
180 const long ANY_ALNUM = ASC_ALNUM | UNI_ALNUM;
181
183 const long ANY_LETTER = ASC_ALPHA | UNI_LETTER;
184
186 const long ANY_NUMBER = ASC_DIGIT | UNI_NUMBER;
187
189 const long ANY_LETTER_OR_NUMBER = ANY_LETTER | ANY_NUMBER;
190};
191
192}; }; }; };
193
194/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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:189
com::sun::star::i18n::KParseTokens::ASC_DOT
const long ASC_DOT
ASCII '.' dot/point.
Definition: KParseTokens.idl:53
com::sun::star::i18n::KParseTokens::UNI_OTHER_NUMBER
const long UNI_OTHER_NUMBER
Unicode (above 127) other number.
Definition: KParseTokens.idl:94
com::sun::star::i18n::KParseTokens::ANY_DIGIT
const long ANY_DIGIT
any (ASCII or Unicode) digit
Definition: KParseTokens.idl:177
com::sun::star::i18n::KParseTokens::ANY_ALNUM
const long ANY_ALNUM
any (ASCII or Unicode) alphanumeric
Definition: KParseTokens.idl:180
com::sun::star::i18n::KParseTokens::UNI_OTHER
const long UNI_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:141
com::sun::star::i18n::KParseTokens::UNI_OTHER_LETTER
const long UNI_OTHER_LETTER
Unicode (above 127) other letter.
Definition: KParseTokens.idl:88
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:64
com::sun::star::i18n::KParseTokens::ASC_OTHER
const long ASC_OTHER
Additional flag set in ParseResult::StartFlags or ParseResult::ContFlags.
Definition: KParseTokens.idl:70
com::sun::star::i18n::KParseTokens::UNI_ALPHA
const long UNI_ALPHA
Unicode (above 127) lower or upper or title case alpha.
Definition: KParseTokens.idl:160
com::sun::star::i18n::KParseTokens::ANY_NUMBER
const long ANY_NUMBER
any (ASCII or Unicode) number
Definition: KParseTokens.idl:186
com::sun::star::i18n::KParseTokens::IGNORE_LEADING_WS
const long IGNORE_LEADING_WS
Only valid for nStartCharFlags parameter to CharacterClassification::parseAnyToken() and CharacterCla...
Definition: KParseTokens.idl:148
com::sun::star::i18n::KParseTokens::ASC_UNDERSCORE
const long ASC_UNDERSCORE
ASCII '_' underscore.
Definition: KParseTokens.idl:47
com::sun::star::i18n::KParseTokens::ASC_UPALPHA
const long ASC_UPALPHA
ASCII A-Z upper alpha.
Definition: KParseTokens.idl:38
com::sun::star::i18n::KParseTokens::ASC_ALNUM
const long ASC_ALNUM
ASCII a-zA-Z0-9 alphanumeric.
Definition: KParseTokens.idl:157
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:123
com::sun::star::i18n::KParseTokens::ANY_ALPHA
const long ANY_ALPHA
any (ASCII or Unicode) alpha
Definition: KParseTokens.idl:174
com::sun::star::i18n::KParseTokens::UNI_MODIFIER_LETTER
const long UNI_MODIFIER_LETTER
Unicode (above 127) modifier letter.
Definition: KParseTokens.idl:85
com::sun::star::i18n::KParseTokens::UNI_LETTER_NUMBER
const long UNI_LETTER_NUMBER
Unicode (above 127) letter number.
Definition: KParseTokens.idl:91
com::sun::star::i18n::KParseTokens::UNI_TITLE_ALPHA
const long UNI_TITLE_ALPHA
Unicode (above 127) title case letter.
Definition: KParseTokens.idl:82
com::sun::star::i18n::KParseTokens::ASC_ALPHA
const long ASC_ALPHA
ASCII a-zA-Z lower or upper alpha.
Definition: KParseTokens.idl:154
com::sun::star::i18n::KParseTokens::UNI_DIGIT
const long UNI_DIGIT
Unicode (above 127) decimal digit number.
Definition: KParseTokens.idl:79
com::sun::star::i18n::KParseTokens::ASC_COLON
const long ASC_COLON
ASCII ':' colon.
Definition: KParseTokens.idl:56
com::sun::star::i18n::KParseTokens::ASC_DOLLAR
const long ASC_DOLLAR
ASCII '$' dollar.
Definition: KParseTokens.idl:50
com::sun::star::i18n::KParseTokens::UNI_LOALPHA
const long UNI_LOALPHA
Unicode (above 127) lower case letter.
Definition: KParseTokens.idl:76
com::sun::star::i18n::KParseTokens::ASC_DIGIT
const long ASC_DIGIT
ASCII 0-9 digit.
Definition: KParseTokens.idl:44
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:136
com::sun::star::i18n::KParseTokens::UNI_NUMBER
const long UNI_NUMBER
Unicode (above 127) number.
Definition: KParseTokens.idl:170
com::sun::star::i18n::KParseTokens::UNI_UPALPHA
const long UNI_UPALPHA
Unicode (above 127) upper case letter.
Definition: KParseTokens.idl:73
com::sun::star::i18n::KParseTokens::UNI_LETTER
const long UNI_LETTER
Unicode (above 127) alpha or letter.
Definition: KParseTokens.idl:166
com::sun::star::i18n::KParseTokens::GROUP_SEPARATOR_IN_NUMBER_3
const long GROUP_SEPARATOR_IN_NUMBER_3
The same as GROUP_SEPARATOR_IN_NUMBER, but require 3 digits following the group separator.
Definition: KParseTokens.idl:101
com::sun::star::i18n::KParseTokens::ASC_LOALPHA
const long ASC_LOALPHA
ASCII a-z lower alpha.
Definition: KParseTokens.idl:41
com::sun::star::i18n::KParseTokens::UNI_ALNUM
const long UNI_ALNUM
Unicode (above 127) alphanumeric.
Definition: KParseTokens.idl:163
com::sun::star::i18n::KParseTokens::ASC_CONTROL
const long ASC_CONTROL
Special value to allow control characters (0x00 < char < 0x20)
Definition: KParseTokens.idl:59
com::sun::star::i18n::KParseTokens::ANY_LETTER
const long ANY_LETTER
any (ASCII or Unicode) letter
Definition: KParseTokens.idl:183
com
Definition: Ambiguous.idl:20