summaryrefslogtreecommitdiff
path: root/sw/source/filter/rtf
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2000-12-12 13:37:48 +0000
committerjp <jp@openoffice.org>2000-12-12 13:37:48 +0000
commitff829f5488559114040d8d387c702e3b5be98c03 (patch)
treee52532f3ac514ece1d5f586fb1ba0732c03935e8 /sw/source/filter/rtf
parenta8804e32f19d69393959791eee21aaf89ab89103 (diff)
Bug #81815#: export rtl fonts with F instead of AF token
Diffstat (limited to 'sw/source/filter/rtf')
-rw-r--r--sw/source/filter/rtf/rtfatr.cxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/sw/source/filter/rtf/rtfatr.cxx b/sw/source/filter/rtf/rtfatr.cxx
index 9973976d97aa..caa9d3629629 100644
--- a/sw/source/filter/rtf/rtfatr.cxx
+++ b/sw/source/filter/rtf/rtfatr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: rtfatr.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: jp $ $Date: 2000-11-20 16:40:58 $
+ * last change: $Author: jp $ $Date: 2000-12-12 14:37:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -795,7 +795,7 @@ void RTFEndPosLst::OutFontAttrs( USHORT nScript )
switch( nScript )
{
case ::com::sun::star::i18n::ScriptType::LATIN:
- rWrt.Strm() << sRTF_RTLCH << sRTF_AF;
+ rWrt.Strm() << sRTF_RTLCH << sRTF_F;
rWrt.OutULong( nCmplx );
rWrt.Strm() << sRTF_LTRCH << sRTF_DBCH << sRTF_AF;
rWrt.OutULong( nAsian ) << sRTF_HICH << sRTF_AF;
@@ -803,7 +803,7 @@ void RTFEndPosLst::OutFontAttrs( USHORT nScript )
rWrt.OutULong( nLatin );
break;
case ::com::sun::star::i18n::ScriptType::ASIAN:
- rWrt.Strm() << sRTF_RTLCH << sRTF_AF;
+ rWrt.Strm() << sRTF_RTLCH << sRTF_F;
rWrt.OutULong( nCmplx );
rWrt.Strm() << sRTF_LTRCH << sRTF_LOCH << sRTF_AF;
rWrt.OutULong( nLatin ) << sRTF_HICH << sRTF_AF;
@@ -815,7 +815,7 @@ void RTFEndPosLst::OutFontAttrs( USHORT nScript )
case ::com::sun::star::i18n::ScriptType::COMPLEX:
rWrt.Strm() << sRTF_LTRCH << sRTF_DBCH << sRTF_AF;
rWrt.OutULong( nAsian ) << sRTF_LOCH << sRTF_AF;
- rWrt.OutULong( nLatin ) << sRTF_HICH << sRTF_AF;
+ rWrt.OutULong( nLatin ) << sRTF_HICH << sRTF_F;
rWrt.OutULong( nLatin );
rWrt.Strm() << sRTF_RTLCH << sRTF_F;
rWrt.OutULong( nCmplx );
@@ -3400,11 +3400,14 @@ SwNodeFnTab aRTFNodeFnTab = {
Source Code Control System - Header
- $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/rtf/rtfatr.cxx,v 1.7 2000-11-20 16:40:58 jp Exp $
+ $Header: /zpool/svn/migration/cvs_rep_09_09_08/code/sw/source/filter/rtf/rtfatr.cxx,v 1.8 2000-12-12 14:37:48 jp Exp $
Source Code Control System - Update
$Log: not supported by cvs2svn $
+ Revision 1.7 2000/11/20 16:40:58 jp
+ BreakIterator moved from text to i18n
+
Revision 1.6 2000/11/20 09:37:54 jp
new para attributes - expand para range