diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-16 12:51:51 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2008-07-16 12:51:51 +0000 |
commit | 9c78e819d9d69f55f70044f995c6b4d32ee4ab7d (patch) | |
tree | fb02b9e311b08eddd022798ed7ea3df4df5195d4 /offapi/com/sun/star/linguistic2 | |
parent | 07d92a5167a635f546207ab0f1f8de70ba400472 (diff) |
INTEGRATION: CWS tl55 (1.3.44); FILE MERGED
2008/06/25 05:37:55 tl 1.3.44.3: #i85999# grammar checking framework
2008/06/07 15:23:35 tl 1.3.44.2: #i85999# grammar checking framework
2008/05/27 11:17:17 tl 1.3.44.1: #i85999# improve grammar checking framework
Diffstat (limited to 'offapi/com/sun/star/linguistic2')
-rw-r--r-- | offapi/com/sun/star/linguistic2/GrammarCheckingResult.idl | 31 |
1 files changed, 24 insertions, 7 deletions
diff --git a/offapi/com/sun/star/linguistic2/GrammarCheckingResult.idl b/offapi/com/sun/star/linguistic2/GrammarCheckingResult.idl index 183cf53fd9b8..892dfb999adc 100644 --- a/offapi/com/sun/star/linguistic2/GrammarCheckingResult.idl +++ b/offapi/com/sun/star/linguistic2/GrammarCheckingResult.idl @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: GrammarCheckingResult.idl,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -42,27 +42,44 @@ #include <com/sun/star/linguistic2/SingleGrammarError.idl> #endif +//#ifndef __com_sun_star_linguistic2_XGrammarChecker_idl__ +//#include <com/sun/star/linguistic2/XGrammarChecker.idl> +//#endif + + //============================================================================= module com { module sun { module star { module linguistic2 { +// forward declaration +interface XGrammarChecker; + //============================================================================= struct GrammarCheckingResult { - //the paragraph that was checked - com::sun::star::text::XFlatParagraph xPara; + // the document ID + long nDocumentId; - //text that was checked(may have changed meanwhile!) + // the paragraph that was checked + com::sun::star::text::XFlatParagraph xFlatParagraph; + + // text that was checked (the paragraphs content may have changed meanwhile!) string aText; - //language used for checking + // language used for checking com::sun::star::lang::Locale aLocale; - // the sentence boundary + // the start of sentence position passed to the grammar checker + long nStartOfSentencePos; + + // the end of sentence position found by the grammar checker long nEndOfSentencePos; - //a list of grammar error + // the list of errors sequence< com::sun::star::linguistic2::SingleGrammarError > aGrammarErrors; + + // reference to the specific grammar checker implementation that reported the error + com::sun::star::linguistic2::XGrammarChecker xGrammarChecker; }; //============================================================================= |