summaryrefslogtreecommitdiffstats
path: root/sw/inc/txatritr.hxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-10-05 12:19:21 +0000
committerKurt Zenker <kz@openoffice.org>2005-10-05 12:19:21 +0000
commit81343ae76bca5242cef90ae184e539648e4256db (patch)
treeea21debff2941bd92807067a49860c7d62b85918 /sw/inc/txatritr.hxx
parentINTEGRATION: CWS tl12 (1.2.52); FILE MERGED (diff)
downloadcore-81343ae76bca5242cef90ae184e539648e4256db.tar.gz
core-81343ae76bca5242cef90ae184e539648e4256db.zip
INTEGRATION: CWS tl12 (1.3.1262); FILE MERGED
2005/09/22 17:41:29 tl 1.3.1262.2: RESYNC: (1.3-1.4); FILE MERGED 2005/06/22 11:16:52 tl 1.3.1262.1: #i44567# Chinese text conversion language attribute for non chinese non Asian text now set to target language also
Diffstat (limited to 'sw/inc/txatritr.hxx')
-rw-r--r--sw/inc/txatritr.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/sw/inc/txatritr.hxx b/sw/inc/txatritr.hxx
index 5c67c5e5708d..9a5e7e8385ac 100644
--- a/sw/inc/txatritr.hxx
+++ b/sw/inc/txatritr.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: txatritr.hxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 02:21:34 $
+ * last change: $Author: kz $ $Date: 2005-10-05 13:19:21 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -78,13 +78,14 @@ class SwTxtAttrIterator
const SfxPoolItem *pParaItem, *pCurItem;
xub_StrLen nChgPos;
sal_uInt16 nAttrPos, nWhichId;
+ sal_Bool bIsUseGetWhichOfScript;
void AddToStack( const SwTxtAttr& rAttr );
void SearchNextChg();
public:
SwTxtAttrIterator( const SwTxtNode& rTxtNd, USHORT nWhichId,
- xub_StrLen nStart = 0 );
+ xub_StrLen nStart = 0, sal_Bool bUseGetWhichOfScript = sal_True );
sal_Bool Next();
@@ -98,8 +99,10 @@ public:
class SwLanguageIterator : public SwTxtAttrIterator
{
public:
- SwLanguageIterator( const SwTxtNode& rTxtNd, xub_StrLen nStart = 0 )
- : SwTxtAttrIterator( rTxtNd, RES_CHRATR_LANGUAGE, nStart )
+ SwLanguageIterator( const SwTxtNode& rTxtNd, xub_StrLen nStart = 0,
+ USHORT nWhichId = RES_CHRATR_LANGUAGE,
+ sal_Bool bUseGetWhichOfScript = sal_True )
+ : SwTxtAttrIterator( rTxtNd, nWhichId, nStart, bUseGetWhichOfScript )
{}
sal_uInt16 GetLanguage() const