summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-17 12:58:27 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-17 12:58:27 +0000
commit5ce3f99df2fb0702a98ffc23d7d16c062027b16e (patch)
tree1a5976e58a7156a7ef2a9b505cd4bb9aa63dc3e3 /sw/inc/editsh.hxx
parent40cda9b9b6a9f36745ce20018cc91c4106cea342 (diff)
INTEGRATION: CWS os19 (1.28.190); FILE MERGED
2004/09/12 16:55:02 os 1.28.190.7: RESYNC: (1.36-1.38); FILE MERGED 2004/07/12 15:17:23 os 1.28.190.6: RESYNC: (1.34-1.36); FILE MERGED 2004/06/14 05:50:35 os 1.28.190.5: RESYNC: (1.31-1.34); FILE MERGED 2004/04/29 13:54:54 os 1.28.190.4: RESYNC: (1.28-1.31); FILE MERGED 2003/10/16 13:58:38 os 1.28.190.3: #i18881# SpellSentence() returns bool 2003/10/08 14:52:52 os 1.28.190.2: #i18881# method signature corrected 2003/09/23 07:00:21 os 1.28.190.1: #i18881# spelling by sentence added
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index 6268588ae1f6..0c907cad224d 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: editsh.hxx,v $
*
- * $Revision: 1.40 $
+ * $Revision: 1.41 $
*
- * last change: $Author: rt $ $Date: 2004-09-17 13:27:18 $
+ * last change: $Author: rt $ $Date: 2004-09-17 13:58:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,6 +90,7 @@
#ifndef _COM_SUN_STAR_LINGUISTIC2_XSPELLALTERNATIVES_HPP_
#include <com/sun/star/linguistic2/XSpellAlternatives.hpp>
#endif
+#include <vector>
class PolyPolygon;
class SwDoc;
@@ -164,7 +165,10 @@ class SwRewriter;
namespace com { namespace sun { namespace star { namespace uno {
template < class > class Sequence;
}}}};
-
+namespace svx{
+struct SpellPortion;
+typedef std::vector<SpellPortion> SpellPortions;
+}
// Flags for GetScriptType - to define how handle weak - scripts (b.e.
// symbol characters):
@@ -733,6 +737,12 @@ public:
USHORT* pPageCnt, USHORT* pPageSt,
SwHHCWrapper *pConvWrapper = 0 );
+ // spells on a sentence basis - the SpellPortions are needed
+ // returns false if no error could be found
+ bool SpellSentence(::svx::SpellPortions& rToFill);
+ //applies a changed sentence
+ void ApplyChangedSentence(const ::svx::SpellPortions& rNewPortions);
+
// Is spelling active somewhere else?
BOOL HasSpellIter() const;
// Is text conversion active somewhere else?