summaryrefslogtreecommitdiffstats
path: root/sw/inc/splargs.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 12:19:01 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 12:19:01 +0000
commit973db3f8649a4f0fc77942286a9a0686e3bb7af3 (patch)
treebaf501f3f0d54173dc69355ddd7dd85fd0b33d48 /sw/inc/splargs.hxx
parentINTEGRATION: CWS tl12 (1.36.70); FILE MERGED (diff)
downloadcore-973db3f8649a4f0fc77942286a9a0686e3bb7af3.tar.gz
core-973db3f8649a4f0fc77942286a9a0686e3bb7af3.zip
INTEGRATION: CWS tl12 (1.2.52); FILE MERGED
2005/09/22 17:26:46 tl 1.2.52.2: RESYNC: (1.2-1.3); FILE MERGED 2005/06/22 11:16:52 tl 1.2.52.1: #i44567# Chinese text conversion language attribute for non chinese non Asian text now set to target language also
Diffstat (limited to 'sw/inc/splargs.hxx')
-rw-r--r--sw/inc/splargs.hxx19
1 files changed, 14 insertions, 5 deletions
diff --git a/sw/inc/splargs.hxx b/sw/inc/splargs.hxx
index 385ddfaa385e..97f545fa5a02 100644
--- a/sw/inc/splargs.hxx
+++ b/sw/inc/splargs.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: splargs.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 02:10:01 $
+ * last change: $Author: kz $ $Date: 2005-10-05 13:19:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -97,16 +97,25 @@ struct SwArgsBase // used for text conversion (Hangul/Hanja, ...)
struct SwConversionArgs : SwArgsBase
{
- rtl::OUString aConvText;
+ rtl::OUString aConvText; // convertible text found
LanguageType nConvSrcLang; // (source) language to look for
- LanguageType nConvTextLang; // language of aConvText if that one was found
+ LanguageType nConvTextLang; // language of aConvText (if the latter one was found)
+
+ // used for chinese translation
+ LanguageType nConvTargetLang; // target language of text to be changed
+ const Font *pTargetFont; // target font of text to be changed
+ // explicitly enables or disables application of the above two
+ sal_Bool bAllowImplicitChangesForNotConvertibleText;
SwConversionArgs( LanguageType nLang,
SwTxtNode* pStart, SwIndex& rStart,
SwTxtNode* pEnd, SwIndex& rEnd )
: SwArgsBase( pStart, rStart, pEnd, rEnd ),
nConvSrcLang( nLang ),
- nConvTextLang( LANGUAGE_NONE )
+ nConvTextLang( LANGUAGE_NONE ),
+ nConvTargetLang( LANGUAGE_NONE ),
+ pTargetFont( NULL ),
+ bAllowImplicitChangesForNotConvertibleText( sal_False )
{}
};