constants group KParseTokens in module com::sun::star::i18n:: |
constants group KParseTokens;
These constants specify the characters, a name or identifier token to be parsed, can have. They are also set in the ParseResult::StartFlags and ParseResult::ContFlags .
Constants Summary |
|
ASC_UPALPHA | Flags for characters below 128 |
ASC_LOALPHA | |
ASC_DIGIT | |
ASC_UNDERSCORE | |
ASC_DOLLAR | '_' |
ASC_DOT | '$' |
ASC_COLON | '.' |
ASC_CONTROL | Special value to allow control characters (0x00 < char < 0x20) |
ASC_ANY_BUT_CONTROL | Special value to allow anything below 128 except control characters. Not set in ParseResult . |
ASC_OTHER | Additional flags set in ParseResult::StartFlags or ParseResult::ContFlags . Set if none of the above ASC_... (except ASC_ANY_...) single values match a character. |
UNI_UPALPHA | Flags for characters above 127 |
UNI_LOALPHA | UPPERCASE_LETTER |
UNI_DIGIT | LOWERCASE_LETTER |
UNI_TITLE_ALPHA | DECIMAL_DIGIT_NUMBER |
UNI_MODIFIER_LETTER | TITLECASE_LETTER |
UNI_OTHER_LETTER | |
UNI_LETTER_NUMBER | |
UNI_OTHER_NUMBER | |
TWO_DOUBLE_QUOTES_BREAK_STRING | If this bit is set in nContCharFlags parameters and a string enclosed in double quotes is parsed and two consecutive double quotes are encountered, the string is ended. If this bit is not set, the two double quotes are parsed as one escaped double quote and string parsing continues. The bit is ignored in nStartCharFlags parameters. Example: "abc""def" --> bit not set => abc"def "abc""def" --> bit set => abc |
UNI_OTHER | Additional flags set in ParseResult::StartFlags or ParseResult::ContFlags . Set if none of the above UNI_... single values match a character. |
IGNORE_LEADING_WS | Only valid for nStartCharFlags parameter to ChararacterClassification::parseAnyToken and ChararacterClassification::parsePredefinedToken , ignored on nContCharFlags parameter. Not set in ParseResult . |
ASC_ALPHA | Useful combinations |
ASC_ALNUM | |
UNI_ALPHA | |
UNI_ALNUM | |
UNI_LETTER | |
UNI_NUMBER | |
ANY_ALPHA | |
ANY_DIGIT | |
ANY_ALNUM | |
ANY_LETTER | |
ANY_NUMBER | |
ANY_LETTER_OR_NUMBER | |
Field Details |
||||||||||||||||||||||||||||||||||
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.