:: com :: sun :: star :: linguistic2 ::
|
interface XDictionaryEntry |
|
- Description
- This interfaces gives access to a dictionary entry.
A dictionary entry can supply a word and its hyphenation
and indicate if it is a negative word.
If it is a negative entry it may supply a replacement text to
be used instead of the entry word.
Hyphenation positions are represented by an "=" in the word.
If the "=" is the last character of the word this means it should not
be hyphenated. If there is no "=" charter in the word, hyphenation
positions will be determined automatically (i.e., from the hyphenator
service alone).
Entries whose words only differ in hyphenation are considered
to be equal. Also a "." at the end of the word will make no
difference.
- See also
- XDictionary, ::com::sun::star::uno::XInterface
|
Methods' Details |
getDictionaryWord
string |
getDictionaryWord(); |
- Returns
- the word defining this entry.
|
|
isNegative
- Returns
- true if the word (entry) is a negative one and should not be
used, false otherwise.
|
|
getReplacementText
string |
getReplacementText(); |
- Description
- is the suggested replacement text for negative words.
It is undefined if the entry is not negative.
- Returns
- the replacement text for a negative entry.
An empty string indicates that no replacement text is provided.
|
|
Top of Page
Copyright © 2000, 2014 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.