diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2004-09-17 13:07:58 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2004-09-17 13:07:58 +0000 |
commit | 660641c04900a7ad7f5ee7c1d7b67c43fa2da5c8 (patch) | |
tree | da2c0afb4f7a87656d9294c4fd6ed81365673c84 /sc | |
parent | 4347c2f3959275f9c6dc8fdaeaf9504f995d85a7 (diff) |
INTEGRATION: CWS os34 (1.6.14); FILE MERGED
2004/08/10 14:46:56 tl 1.6.14.5: #i30302# Chinese simplified/traditional conversion
2004/08/06 15:07:30 tl 1.6.14.4: RESYNC: (1.6-1.7); FILE MERGED
2004/08/04 13:47:12 tl 1.6.14.3: #i30302# simplified/traditional Chinese conversion
2004/07/29 09:00:30 tl 1.6.14.2: #i30303# implementation of simplified/traditional Chinese conversion
2004/07/27 13:53:35 tl 1.6.14.1: #i30303# preparational changes for simplified/traditional Chinese conversion
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/spelleng.cxx | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/sc/source/ui/view/spelleng.cxx b/sc/source/ui/view/spelleng.cxx index 37c6a7263b92..b41d50fade73 100644 --- a/sc/source/ui/view/spelleng.cxx +++ b/sc/source/ui/view/spelleng.cxx @@ -2,9 +2,9 @@ * * $RCSfile: spelleng.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2004-09-17 13:55:04 $ + * last change: $Author: rt $ $Date: 2004-09-17 14:07:58 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -415,16 +415,27 @@ Window* ScSpellingEngine::GetDialogParent() ScTextConversionEngine::ScTextConversionEngine( SfxItemPool* pEnginePool, ScViewData& rViewData, ScDocument* pUndoDoc, ScDocument* pRedoDoc, - LanguageType eConvLanguage ) : - ScConversionEngineBase( pEnginePool, rViewData, pUndoDoc, pRedoDoc ), - meConvLang( eConvLanguage ) + ESelection* pEdSelection, + SCCOL nCol, SCROW nRow, SCTAB nTab, + bool bCellSelection, + LanguageType eSourceLanguage, + LanguageType eTargetLanguage, + const Font *pTargetFont, + sal_Int32 nOptions, + sal_Bool bIsInteractive ) : + ScConversionEngineBase( pEnginePool, rViewData, pUndoDoc, pRedoDoc, pEdSelection, nCol, nRow, nTab, bCellSelection ), + meSourceLang( eSourceLanguage ), + meTargetLang( eTargetLanguage ), + mpTargetFont( pTargetFont ), + mnOptions( nOptions ), + mbIsInteractive( bIsInteractive ) { } void ScTextConversionEngine::ConvertAll( EditView& rEditView ) { if( FindNextConversionCell() ) - rEditView.StartTextConversion( meConvLang, TRUE ); + rEditView.StartTextConversion( meSourceLang, meTargetLang, mpTargetFont, mnOptions, mbIsInteractive, TRUE ); } BOOL ScTextConversionEngine::ConvertNextDocument() @@ -434,7 +445,7 @@ BOOL ScTextConversionEngine::ConvertNextDocument() bool ScTextConversionEngine::NeedsConversion() { - return HasConvertibleTextPortion( meConvLang ); + return HasConvertibleTextPortion( meSourceLang ); } // ============================================================================ |