(incubating) | The Free and Open Productivity Suite
Announcing Apache OpenOffice 3.4

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

:: 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

Apache Feather

Copyright & License | Privacy | Contact Us

Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.