LibreOffice: com::sun::star::linguistic2 Module Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
com::sun::star::linguistic2 Module Reference

Spell checker, hyphenation and thesaurus interfaces. More...

## Constant Groups
constants | ConversionDictionaryType
| specifies the conversion dictionary type to be used with XConversionDictionary.
constants | ConversionPropertyType
| specifies the property type of an entry in a conversion dictionary.
constants | DictionaryEventFlags
| flags used for the event type in dictionary events.
constants | DictionaryListEventFlags
| constants representing a single dictionary-list event.
constants | LinguServiceEventFlags
| to be used in lingu-service events.
constants | SpellFailure
| these define the various return types for spell checking to fail verification.

## Classes
service | ConversionDictionary
| represents a dictionary used in a conversion dictionary list. More...
service | ConversionDictionaryList
| represents a list of available conversion dictionaries. More...
service | Dictionary
| represents a dictionary used for spell checking and hyphenation. More...
struct | DictionaryEvent
| represents a dictionary event. More...
service | DictionaryList
| is the list of personal dictionaries. More...
struct | DictionaryListEvent
| structure representing a dictionary-list event. More...
service | HangulHanjaConversionDictionary
| represents a dictionary for Hangul/Hanja text conversion. More...
service | Hyphenator
| offers hyphenation functionality. More...
service | LanguageGuessing
service | LinguProperties
| the set of linguistic relevant properties. More...
struct | LinguServiceEvent
| represents a linguistic service event. More...
service | LinguServiceManager
| offers linguistic functionality. More...
service | NumberText
| provides converter to spell out numbers and money amounts More...
service | Proofreader
| provides a proofreader (often known as grammar checker) for text More...
service | ProofreadingIterator
| provides a proofreading iterator More...
struct | ProofreadingResult
| holds the results from proofreading a sentence. More...
struct | SingleProofreadingError
| holds a single error found by the proofreader. More...
service | SpellChecker
| offers spell checking functionality. More...
service | Thesaurus
| offers thesaurus functionality. More...
interface | XAvailableLocales
| retrieves the list of available languages. More...
interface | XConversionDictionary
| Allows the user to access a conversion dictionary. More...
interface | XConversionDictionaryList
| is used to manage and maintain a list of conversion dictionaries. More...
interface | XConversionPropertyType
| allows set and retrieve the property type of an entry in a conversion dictionary More...
interface | XDictionary
| This interfaces enables the object to access personal dictionaries. More...
interface | XDictionary1
interface | XDictionaryEntry
| This interfaces gives access to a dictionary entry. More...
interface | XDictionaryEventListener
| This interfaces allows the object to act according to dictionary events. More...
interface | XDictionaryList
| is used to manage and maintain a list of dictionaries. More...
interface | XDictionaryListEventListener
| This interfaces allows the object to act according to dictionary-list events. More...
interface | XHyphenatedWord
| gives information obtained by a successful hyphenation attempt. More...
interface | XHyphenator
| provides functionality for hyphenation of single words. More...
interface | XLanguageGuessing
| This interface allows to guess the language of a text. More...
interface | XLinguProperties
| Interface for LinguProperties service. More...
interface | XLinguServiceEventBroadcaster
| is used to register a listener for LinguServiceEvents. More...
interface | XLinguServiceEventListener
| is used to inform listeners about LinguServiceEvents. More...
interface | XLinguServiceManager
| the basic interface to be used to access linguistic functionality. More...
interface | XLinguServiceManager2
| Provides a unified interface for the LinguServiceManager service to implement. More...
interface | XMeaning
| one of the possible meanings for a word. More...
interface | XNumberText
| This interface allows to spell out numbers and money amounts. More...
interface | XPossibleHyphens
| Gives information about a word's possible hyphenation points. More...
interface | XProofreader
| API for proofreading a text. More...
interface | XProofreadingIterator
| API for the proofreading iterator that mediates between the document and the proofreader. More...
interface | XSearchableDictionary
| This interfaces allows to retrieve suggestions for spell checking from a dictionary. More...
interface | XSearchableDictionaryList
| allows searching for an entry in all dictionaries of the dictionary-list. More...
interface | XSetSpellAlternatives
| allows to modify the suggestion list returned by a spell checker. More...
interface | XSpellAlternatives
| Gives access to the results of failed spell checking attempts and may provide spelling alternatives. More...
interface | XSpellChecker
| This interface allows for spell checking. More...
interface | XSpellChecker1
interface | XSupportedLanguages
interface | XSupportedLocales
| Offers information about which languages are supported by the object. More...
interface | XThesaurus
| allows for the retrieval of possible meanings for a given word and language. More...

## Enumerations
enum | ConversionDirection { FROM_LEFT , FROM_RIGHT }
| Conversion direction to be used with XConversionDictionary when looking for conversions. More...
enum | DictionaryType { POSITIVE , NEGATIVE , MIXED }
| describes the type of a personal dictionary. More...

## Detailed Description

Spell checker, hyphenation and thesaurus interfaces.

## Enumeration Type Documentation

## ◆ ConversionDirection

enum ConversionDirection
| published

Conversion direction to be used with XConversionDictionary when looking for conversions.

Since
  OOo 1.1.2

Enumerator
FROM_LEFT | the text to be looked for should match the left part of a dictionary entry.
FROM_RIGHT | the text to be looked for should match the right part of a dictionary entry.

## ◆ DictionaryType

enum DictionaryType
| published

describes the type of a personal dictionary.

This defines the type of a dictionary. It may be positive or negative. A positive dictionary may hold only positive entries (words defined to be correct for spell checking) and a negative one only negative entries (words defined to be reported as incorrect by the spell checker).

See also
  com::sun::star::linguistic2::XDictionary
  com::sun::star::linguistic2::XDictionaryEntry

Enumerator
POSITIVE | all entries in the dictionary are positive.
NEGATIVE | all entries in the dictionary are negative.
MIXED | Deprecated