diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-03-14 08:40:16 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-03-14 08:40:16 +0000 |
commit | c16eafd4cd63bfb7dca3993034985395df3456b8 (patch) | |
tree | 0738e93343e9740483d5942407f5f6f71a773088 /svx/source | |
parent | 98d4643466566fd6432b964981c8f97b768a119d (diff) |
INTEGRATION: CWS tl19 (1.75.58); FILE MERGED
2006/02/13 10:55:37 tl 1.75.58.1: #i54913# (Thai) inout sequence checking for EditEngine
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/editeng/impedit.hxx | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/svx/source/editeng/impedit.hxx b/svx/source/editeng/impedit.hxx index b3dcee76d1c2..5f59688684b0 100644 --- a/svx/source/editeng/impedit.hxx +++ b/svx/source/editeng/impedit.hxx @@ -4,9 +4,9 @@ * * $RCSfile: impedit.hxx,v $ * - * $Revision: 1.77 $ + * $Revision: 1.78 $ * - * last change: $Author: kz $ $Date: 2006-02-01 14:35:40 $ + * last change: $Author: vg $ $Date: 2006-03-14 09:40:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -92,6 +92,10 @@ #include <com/sun/star/i18n/WordType.hpp> #endif +#ifndef _COM_SUN_STAR_I18N_XEXTENDEDINPUTSEQUENCECHECKER_HDL_ +#include <com/sun/star/i18n/XExtendedInputSequenceChecker.hpp> +#endif + #include <vos/ref.hxx> DBG_NAMEEX( EditView ); @@ -464,7 +468,7 @@ private: OutputDevice* pRefDev; svtools::ColorConfig* pColorConfig; - SvtCTLOptions* pCTLOptions; + mutable SvtCTLOptions* pCTLOptions; SfxItemSet* pEmptyItemSet; EditUndoManager* pUndoManager; @@ -499,6 +503,7 @@ private: ::com::sun::star::linguistic2::XHyphenator > xHyphenator; SpellInfo* pSpellInfo; mutable ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > xBI; + mutable ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XExtendedInputSequenceChecker > xISC; ConvInfo * pConvInfo; @@ -717,6 +722,7 @@ private: void SetValidPaperSize( const Size& rSz ); ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XBreakIterator > ImplGetBreakIterator() const; + ::com::sun::star::uno::Reference < ::com::sun::star::i18n::XExtendedInputSequenceChecker > ImplGetInputSequenceChecker() const; /** Decorate metafile output with verbose text comments @@ -814,7 +820,7 @@ public: void SetText( const String& rText ); EditPaM DeleteSelected( EditSelection aEditSelection); - EditPaM InsertText( const EditSelection& rCurEditSelection, sal_Unicode c, sal_Bool bOverwrite ); + EditPaM InsertText( const EditSelection& rCurEditSelection, sal_Unicode c, sal_Bool bOverwrite, sal_Bool bIsUserInput = sal_False ); EditPaM InsertText( EditSelection aCurEditSelection, const String& rStr ); EditPaM AutoCorrect( const EditSelection& rCurEditSelection, sal_Unicode c, sal_Bool bOverwrite ); EditPaM DeleteLeftOrRight( const EditSelection& rEditSelection, BYTE nMode, BYTE nDelMode = DELMODE_SIMPLE ); @@ -976,6 +982,9 @@ public: LanguageType nLang, USHORT nLangWhichId, const Font *pFont, USHORT nFontWhichId ); + // returns true if input sequence checking should be applied + sal_Bool IsInputSequenceChecking( sal_Unicode nChar, const EditSelection& rCurSel ) const; + //find the next error within the given selection - forward only! ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XSpellAlternatives > |