LibreOffice
LibreOffice 7.4 SDK API Reference
Variables
com::sun::star::i18n::KCharacterType Constant Group Referencepublished

Constants to identify the character type. More...

Variables

const long DIGIT = 0x00000001
 digit More...
 
const long UPPER = 0x00000002
 upper case alpha letter More...
 
const long LOWER = 0x00000004
 lower case alpha letter More...
 
const long TITLE_CASE = 0x00000008
 title case alpha letter More...
 
const long ALPHA = 0x0000000E
 any alpha, ALPHA = UPPER | LOWER | TITLE_CASE More...
 
const long CONTROL = 0x00000010
 control character More...
 
const long PRINTABLE = 0x00000020
 printable character More...
 
const long BASE_FORM = 0x00000040
 base form More...
 
const long LETTER = 0x00000080
 any UnicodeType::..._LETTER. More...
 

Detailed Description

Constants to identify the character type.

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

Variable Documentation

◆ ALPHA

const long ALPHA = 0x0000000E

any alpha, ALPHA = UPPER | LOWER | TITLE_CASE

◆ BASE_FORM

const long BASE_FORM = 0x00000040

base form

◆ CONTROL

const long CONTROL = 0x00000010

control character

◆ DIGIT

const long DIGIT = 0x00000001

digit

◆ LETTER

const long LETTER = 0x00000080

any UnicodeType::..._LETTER.

Note that a LETTER must not necessarily be ALPHA

◆ LOWER

const long LOWER = 0x00000004

lower case alpha letter

◆ PRINTABLE

const long PRINTABLE = 0x00000020

printable character

◆ TITLE_CASE

const long TITLE_CASE = 0x00000008

title case alpha letter

◆ UPPER

const long UPPER = 0x00000002

upper case alpha letter