(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

constants group WordType
Description
Constants to specify the type of words.

Used with XBreakIterator::nextWord(), XBreakIterator::previousWord(), XBreakIterator::getWordBoundary(), XBreakIterator::getWordType(), XBreakIterator::isBeginWord(), XBreakIterator::isEndWord()


Constants
ANY_WORD Any "words" - words in the meaning of same character types, collection of alphanumeric characters, or collection of non-alphanumeric characters.  
ANYWORD_IGNOREWHITESPACES Any "words" - words in the meaning of same character types, collection of alphanumeric characters, or collection of non-alphanumeric characters except blanks.  
DICTIONARY_WORD "words" - in the meaning of a collection of alphanumeric characters and some punctuations, like dot for abbreviation.  
WORD_COUNT The mode for counting words, it will combine punctuations and spaces as word trail.  
Constants' Details
ANY_WORD
const short ANY_WORD = 0;
Description
Any "words" - words in the meaning of same character types, collection of alphanumeric characters, or collection of non-alphanumeric characters.
ANYWORD_IGNOREWHITESPACES
const short ANYWORD_IGNOREWHITESPACES = 1;
Description
Any "words" - words in the meaning of same character types, collection of alphanumeric characters, or collection of non-alphanumeric characters except blanks.
DICTIONARY_WORD
const short DICTIONARY_WORD = 2;
Description
"words" - in the meaning of a collection of alphanumeric characters and some punctuations, like dot for abbreviation.
WORD_COUNT
const short WORD_COUNT = 3;
Description
The mode for counting words, it will combine punctuations and spaces as word trail.
Top of Page

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.

Copyright & License
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.