summaryrefslogtreecommitdiff
path: root/sw/inc/hhcwrp.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-11-08 08:05:12 +0000
committerRüdiger Timm <rt@openoffice.org>2005-11-08 08:05:12 +0000
commit9a4657e1c83595a1db4969b912073b810476baa5 (patch)
tree396f7ad41aded147a88c1de8ea251d0ed5c846f0 /sw/inc/hhcwrp.hxx
parent6fbfd9fd206b9084152e83c3b336658d85a7ab43 (diff)
INTEGRATION: CWS textconversion (1.3.154); FILE MERGED
2005/10/25 15:17:49 tl 1.3.154.3: RESYNC: (1.3-1.5); FILE MERGED 2005/09/09 12:54:00 tl 1.3.154.2: #124006# keep attributes as much as possible in Chinese text conversion 2005/08/16 09:26:00 tl 1.3.154.1: #124006# manual resync to CWS tl12
Diffstat (limited to 'sw/inc/hhcwrp.hxx')
-rw-r--r--sw/inc/hhcwrp.hxx12
1 files changed, 9 insertions, 3 deletions
diff --git a/sw/inc/hhcwrp.hxx b/sw/inc/hhcwrp.hxx
index 4199a2152681..c58ba6cc6314 100644
--- a/sw/inc/hhcwrp.hxx
+++ b/sw/inc/hhcwrp.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hhcwrp.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: kz $ $Date: 2005-10-05 13:18:19 $
+ * last change: $Author: rt $ $Date: 2005-11-08 09:05:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -90,7 +90,11 @@ class SwHHCWrapper : public svx::HangulHanjaConversion
void SelectNewUnit_impl( const sal_Int32 nUnitStart,
const sal_Int32 nUnitEnd );
- void ChangeText( const String &rNewText );
+ void ChangeText( const String &rNewText,
+ const ::rtl::OUString& rOrigText,
+ const ::com::sun::star::uno::Sequence< sal_Int32 > *pOffsets,
+ SwPaM *pCrsr );
+ void ChangeText_impl( const String &rNewText, sal_Bool bKeepAttributes );
inline BOOL IsDrawObj() { return bIsDrawObj; }
inline void SetDrawObj( BOOL bNew ) { bIsDrawObj = bNew; }
@@ -103,7 +107,9 @@ protected:
const sal_Int32 nUnitEnd );
virtual void ReplaceUnit(
const sal_Int32 nUnitStart, const sal_Int32 nUnitEnd,
+ const ::rtl::OUString& rOrigText,
const ::rtl::OUString& rReplaceWith,
+ const ::com::sun::star::uno::Sequence< sal_Int32 > &rOffsets,
ReplacementAction eAction,
LanguageType *pNewUnitLanguage );