Overview | Module | Use | Devguide | Index

Constants | Constants' Details

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

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.