summaryrefslogtreecommitdiff
path: root/sw/inc/editsh.hxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2008-07-16 12:23:13 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2008-07-16 12:23:13 +0000
commitfe016e13a5c2f6b492d23c48d18f444f3f0e23f2 (patch)
tree14b8fa23caf734efd761b554b781475ff4371319 /sw/inc/editsh.hxx
parent1e1ad0424d848f0294a4fb81dbef5118b7f36501 (diff)
INTEGRATION: CWS tl55 (1.67.48); FILE MERGED
2008/07/07 15:11:39 tl 1.67.48.5: RESYNC: (1.67-1.68); FILE MERGED 2008/06/30 14:22:26 tl 1.67.48.4: #i85999# grammar checking framework 2008/06/23 13:42:57 os 1.67.48.3: #i85999# dialog interface extended for grammar checking 2008/06/19 12:15:33 tl 1.67.48.2: #i85999# grammar checking framework 2008/06/19 09:26:20 tl 1.67.48.1: #i85999# grammar checking framework
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r--sw/inc/editsh.hxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx
index aead39c56e9f..c3bdb302c75d 100644
--- a/sw/inc/editsh.hxx
+++ b/sw/inc/editsh.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: editsh.hxx,v $
- * $Revision: 1.69 $
+ * $Revision: 1.70 $
*
* This file is part of OpenOffice.org.
*
@@ -41,6 +41,7 @@
#include <itabenum.hxx>
#include <swdbdata.hxx>
#include <com/sun/star/linguistic2/XSpellAlternatives.hpp>
+#include <com/sun/star/linguistic2/GrammarCheckingResult.hpp>
#include <fldupde.hxx>
#include <tblenum.hxx>
@@ -733,9 +734,9 @@ public:
// spells on a sentence basis - the SpellPortions are needed
// returns false if no error could be found
- bool SpellSentence(::svx::SpellPortions& rToFill);
+ bool SpellSentence(::svx::SpellPortions& rToFill, bool bIsGrammarCheck );
//applies a changed sentence
- void ApplyChangedSentence(const ::svx::SpellPortions& rNewPortions);
+ void ApplyChangedSentence(const ::svx::SpellPortions& rNewPortions, bool bIsGrammarCheck);
// Is text conversion active somewhere else?
BOOL HasConvIter() const;
@@ -746,6 +747,13 @@ public:
::com::sun::star::linguistic2::XSpellAlternatives >
GetCorrection( const Point* pPt, SwRect& rSelectRect );
+
+ bool GetGrammarCorrection( ::com::sun::star::linguistic2::GrammarCheckingResult /*out*/ &rResult,
+ sal_Int32 /*out*/ &rErrorPosInText,
+ sal_Int32 /*out*/ &rErrorIndexInResult,
+ ::com::sun::star::uno::Sequence< rtl::OUString > /*out*/ &rSuggestions,
+ const Point* pPt, SwRect& rSelectRect );
+
void SetLinguRange( SwDocPositions eStart, SwDocPositions eEnde );
// returne zum Namen die im Doc gesetzte Referenz