Methods' Details |
isSpellChecker
boolean |
isSpellChecker(); |
- Description
- whether is the text checked by the spellchecker
- Returns
- true if it is also a spell checker
|
|
startDocument
- Description
- start checking document. This enables the grammar checker to maintain
state information about the document
- Parameter nDocId
- the Document ID.
- Throws
- IllegalArgumentException
when any argument is wrong.
|
|
startParagraph
- Description
- start checking paragraph
- Parameter nDocId
- the Document ID.
- Throws
- IllegalArgumentException
when any argument is wrong.
|
|
endParagraph
- Description
- end checking paragraph
- Parameter nDocId
- the Document ID.
- Throws
- IllegalArgumentException
when any argument is wrong.
|
|
endDocument
- Description
- end checking document
- Parameter nDocId
- the Document ID.
- Throws
- IllegalArgumentException
when any argument is wrong.
|
|
doGrammarChecking
GrammarCheckingResult |
doGrammarChecking( |
[in] long |
nDocId, |
| [in] string |
aText, |
| [in] ::com::sun::star::lang::Locale |
aLocale, |
| [in] long |
nStartOfSentencePos, |
| [in] long |
nSuggestedEndOfSentencePos, |
| [in] sequence< long > |
aLanguagePortions, |
| [in] sequence< ::com::sun::star::lang::Locale > |
aLanguagePortionsLocales ) |
raises( |
::com::sun::star::lang::IllegalArgumentException ); |
- Description
- start checking
- Parameter nDocId
- the Document ID.
- Parameter rFlatParaText
- the flat text to be checked.
- Parameter xFlatPara
- the flat paragraph to be checked.
- Parameter aLocale
- Language used in the text.
- Parameter nStartOfSentencePos
- Start Index of the text.
- Parameter nSuggestedSentenceEndPos
- Probable end position of the text.
- Throws
- IllegalArgumentException
when any argument is wrong.
|
|
hasOptionsDialog
boolean |
hasOptionsDialog(); |
- Description
- check whether the checker has the options dialog
- Returns
- true If it has
false otherwise.
|
|
runOptionsDialog
- Description
- call a dialog in order to display the setting options
- Throws
- IllegalArgumentException
when any argument is wrong.
|
|
Copyright © 2008 Sun Microsystems, Inc.