diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-02-21 12:52:17 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-02-21 12:52:17 +0000 |
commit | da416d6461e0325f81c0ed3fa3d359e867b8ebb3 (patch) | |
tree | 164721afe88e21997344497469eb3839f55aac53 /sc/source/ui/inc/viewfunc.hxx | |
parent | 8efcb0689186cf68419038772abe8893d47e6562 (diff) |
INTEGRATION: CWS dr32 (1.24.56); FILE MERGED
2005/01/12 10:41:01 dr 1.24.56.1: #i34769# conversion parameter handling; restore cursor after conversion
Diffstat (limited to 'sc/source/ui/inc/viewfunc.hxx')
-rw-r--r-- | sc/source/ui/inc/viewfunc.hxx | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index c54881e1a..43f4d014c 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.hxx @@ -2,9 +2,9 @@ * * $RCSfile: viewfunc.hxx,v $ * - * $Revision: 1.24 $ + * $Revision: 1.25 $ * - * last change: $Author: obo $ $Date: 2004-11-15 16:38:13 $ + * last change: $Author: vg $ $Date: 2005-02-21 13:52:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,7 +58,6 @@ * * ************************************************************************/ - #ifndef SC_VIEWFUNC_HXX #define SC_VIEWFUNC_HXX @@ -102,6 +101,7 @@ struct ScTabOpParam; class ScPostIt; class ScConditionalFormat; class ScValidationData; +class ScConversionParam; class SdrModel; class Graphic; class Exchange; @@ -112,24 +112,6 @@ namespace com { namespace sun { namespace star { namespace datatransfer { class //================================================================== -struct ChineseTranslationParams -{ - Font aTargetFont; - sal_Int32 nOptions; - LanguageType nSourceLang; - LanguageType nTargetLang; - - ChineseTranslationParams( LanguageType nSL, LanguageType nTL, const Font &rTF , sal_Int32 nOpt ) : - nSourceLang( nSL ), - nTargetLang( nTL ), - aTargetFont( rTF ), - nOptions( nOpt ) - { - } -}; - -//================================================================== - class ScViewFunc : public ScTabView { private: @@ -352,12 +334,11 @@ public: void SetNote( SCCOL nCol, SCROW nRow, SCTAB nTab, const ScPostIt& rNote ); void DoSpellingChecker( BOOL bRecord = TRUE ); void DoHangulHanjaConversion( BOOL bRecord = TRUE ); - void DoChineseTranslation( const ChineseTranslationParams &rParams, BOOL bRecord = TRUE ); void DoThesaurus( BOOL bRecord = TRUE ); DECL_LINK( SpellError, void * ); /** Generic implementation of sheet conversion functions. */ - void DoSheetConversion( ScConversionType eConvType, BOOL bRecord, const ChineseTranslationParams *pChParams = NULL); + void DoSheetConversion( const ScConversionParam& rParam, BOOL bRecord = TRUE ); void SetPrintRanges( BOOL bEntireSheet, const String* pPrint, |