summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorobo <obo@openoffice.org>2010-06-14 16:22:01 +0200
committerobo <obo@openoffice.org>2010-06-14 16:22:01 +0200
commitd810752e8dc522c8622d78ab2cfc1f474f534899 (patch)
treeeea687f746f331ca4bc4f46770854d05b3d1ba6c /svx
parentc9167b569a204a3e2da4b73e176bb226993077cc (diff)
parent6a894a2b96fcb83d7ed3a097d172c2323c00c605 (diff)
CWS-TOOLING: integrate CWS tl80
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/SpellDialogChildWindow.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/svx/inc/svx/SpellDialogChildWindow.hxx b/svx/inc/svx/SpellDialogChildWindow.hxx
index 034b6372f6f1..3702b643e17e 100644
--- a/svx/inc/svx/SpellDialogChildWindow.hxx
+++ b/svx/inc/svx/SpellDialogChildWindow.hxx
@@ -69,15 +69,19 @@ protected:
@return
returns an empty vector if no error could be found
*/
- virtual SpellPortions GetNextWrongSentence (void) = 0;
+ virtual SpellPortions GetNextWrongSentence (bool bRecheck) = 0;
/** This abstract method applies the changes made in the spelling dialog
to the document.
The dialog always updates its settings when it gets the focus. The document
can rely on the fact that the methods ApplyChangedSentence() is called for the
position that the last GetNextWrongSentence() returned.
+ If 'bRecheck' is set to true then the same sentence should be rechecked once from
+ the start. This should be used too find errors that the user has introduced by
+ manual changes in the edit field, and in order to not miss the still following errors
+ in that sentence.
*/
- virtual void ApplyChangedSentence(const SpellPortions& rChanged) = 0;
+ virtual void ApplyChangedSentence(const SpellPortions& rChanged, bool bRecheck ) = 0;
/** This methods determines whether the application supports AutoCorrection
*/
virtual bool HasAutoCorrection();