LibreOffice
LibreOffice 24.2 SDK API Reference
|
provides a proofreader (often known as grammar checker) for text More...
import"Proofreader.idl";
Additional Inherited Members | |
Public Member Functions inherited from XProofreader | |
boolean | isSpellChecker () |
whether is the text checked by the spell checker More... | |
ProofreadingResult | doProofreading ([in] string aDocumentIdentifier, [in] string aText, [in] com::sun::star::lang::Locale aLocale, [in] long nStartOfSentencePosition, [in] long nSuggestedBehindEndOfSentencePosition, [in] sequence< com::sun::star::beans::PropertyValue > aProperties) raises ( com::sun::star::lang::IllegalArgumentException ) |
start checking More... | |
void | ignoreRule ([in] string aRuleIdentifier, [in] com::sun::star::lang::Locale aLocale) raises ( com::sun::star::lang::IllegalArgumentException ) |
disables a specific rule for a given locale. More... | |
void | resetIgnoreRules () |
sets all rules back to their default settings. More... | |
Public Member Functions inherited from XSupportedLocales | |
sequence< com::sun::star::lang::Locale > | getLocales () |
boolean | hasLocale ([in] com::sun::star::lang::Locale aLocale) |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
provides a proofreader (often known as grammar checker) for text
An implementation of this service will receive text and has to identify the sentence end and report all errors found.
An implementation of this service is not limited to grammar checking at all. It might also check style, used terms etc. Basically it can check every aspect of a single sentence. Since the text provided is always the complete paragraph it can also choose to analyze the context of the sentence currently required to be checked. However error reports need to be limited to the current sentence.