Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: i18n ::
constants group KParseType
Description Constants to specify the type of a parsed token. Set by XCharacterClassification::parseAnyToken() and XCharacterClassification::parsePredefinedToken() in ParseResult::TokenType.

Constants
ONE_SINGLE_CHAR | One single character like ! # ; : $ et al.
BOOLEAN | A Boolean operator like <, >, <>, =, <=, >=
IDENTNAME | A name matching the conditions passed.
SINGLE_QUOTE_NAME | "A single-quoted name matching the conditions passed ( 'na\'me' )." "Dequoted name in ParseResult::DequotedNameOrString ( na'me )."
DOUBLE_QUOTE_STRING | A double-quoted string ( "str\"i""ng" ). Dequoted string in ParseResult::DequotedNameOrString ( str"i"ng ).
ASC_NUMBER | A number where all digits are ASCII characters. Numerical value in ParseResult::Value.
UNI_NUMBER | A number where at least some digits are Unicode (and maybe ASCII) characters. Numerical value inKParseType ParseResult::Value.
MISSING_QUOTE | Set (ored) if SINGLE_QUOTE_NAME or DOUBLE_QUOTE_STRING has no closing quote.
ANY_NUMBER | Any ASCII or Unicode number

Constants' Details
ONE_SINGLE_CHAR
const long ONE_SINGLE_CHAR = 0x00000001; Description One single character like ! # ; : $ et al.
BOOLEAN
const long BOOLEAN = 0x00000002; Description A Boolean operator like <, >, <>, =, <=, >=
IDENTNAME
const long IDENTNAME = 0x00000004; Description A name matching the conditions passed.
SINGLE_QUOTE_NAME
const long SINGLE_QUOTE_NAME = 0x00000008; Description "A single-quoted name matching the conditions passed ( 'na\'me' )." "Dequoted name in ParseResult::DequotedNameOrString ( na'me )."
DOUBLE_QUOTE_STRING
const long DOUBLE_QUOTE_STRING = 0x00000010; Description A double-quoted string ( "str\"i""ng" ). Dequoted string in ParseResult::DequotedNameOrString ( str"i"ng ).
ASC_NUMBER
const long ASC_NUMBER = 0x00000020; Description A number where all digits are ASCII characters. Numerical value in ParseResult::Value.
UNI_NUMBER
const long UNI_NUMBER = 0x00000040; Description A number where at least some digits are Unicode (and maybe ASCII) characters. Numerical value inKParseType ParseResult::Value.
MISSING_QUOTE
const long MISSING_QUOTE = 0x40000000; Description Set (ored) if SINGLE_QUOTE_NAME or DOUBLE_QUOTE_STRING has no closing quote.
ANY_NUMBER
const long ANY_NUMBER = ASC_NUMBER | UNI_NUMBER; Description Any ASCII or Unicode number

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.