Language

The Free and Open Productivity Suite
Apache OpenOffice 4.1.10 released

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: i18n ::

constants group KCharacterType
Description
Constants to identify the character type.

Returned by XCharacterClassification::getCharacterType() and XCharacterClassification::getStringType()


Constants
DIGIT digit 
UPPER upper case alpha letter 
LOWER lower case alpha letter 
TITLE_CASE title case alpha letter 
ALPHA any alpha, ALPHA = UPPER | LOWER | TITLE_CASE 
CONTROL control character 
PRINTABLE printable character 
BASE_FORM base form 
LETTER any UnicodeType::..._LETTER. Note that a LETTER must not necessarily be ALPHA  
Constants' Details
DIGIT
const long DIGIT = 0x00000001;
Description
digit
UPPER
const long UPPER = 0x00000002;
Description
upper case alpha letter
LOWER
const long LOWER = 0x00000004;
Description
lower case alpha letter
TITLE_CASE
const long TITLE_CASE = 0x00000008;
Description
title case alpha letter
ALPHA
const long ALPHA = 0x0000000E;
Description
any alpha, ALPHA = UPPER | LOWER | TITLE_CASE
CONTROL
const long CONTROL = 0x00000010;
Description
control character
PRINTABLE
const long PRINTABLE = 0x00000020;
Description
printable character
BASE_FORM
const long BASE_FORM = 0x00000040;
Description
base form
LETTER
const long LETTER = 0x00000080;
Description
any UnicodeType::..._LETTER. Note that a LETTER must not necessarily be ALPHA
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

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