# HG changeset patch
# User Michael Stahl <mst@openoffice.org>
# Date 1285343073 -7200
# Node ID 953a6f8e2290fa17c3d6ec2106f6109482175dde
# Parent  4fe751e3262829ab1c785b3e4ae0f4da9030db20
rtftok01: add some more charfmts

diff --git a/writerfilter/source/rtftok/rtfactions.xml b/writerfilter/source/rtftok/rtfactions.xml
--- a/writerfilter/source/rtftok/rtfactions.xml
+++ b/writerfilter/source/rtftok/rtfactions.xml
@@ -2,6 +2,15 @@
 <actions>
   <charprops>
     <ref name="plain" action="ResetCharacterProperties()"/>
+    <ref name="b" tokenid="sprm:CFBold"/>
+    <ref name="caps" tokenid="sprm:CFCaps"/>
+    <ref name="embo" tokenid="sprm:CFEmboss"/>
+    <ref name="fittext" tokenid="sprm:CFitText"/>
     <ref name="i" tokenid="sprm:CFItalic"/>
+    <ref name="impr" tokenid="sprm:CFImprint"/>
+    <ref name="scaps" tokenid="sprm:CFSmallCaps"/>
+    <ref name="shad" tokenid="sprm:CFShadow"/>
+    <ref name="strike" tokenid="sprm:CFStrike"/>
+    <ref name="striked" tokenid="sprm:CFDStrike"/>
   </charprops>
 </actions>
diff --git a/writerfilter/source/rtftok/rtfcontrols.xsl b/writerfilter/source/rtftok/rtfcontrols.xsl
--- a/writerfilter/source/rtftok/rtfcontrols.xsl
+++ b/writerfilter/source/rtftok/rtfcontrols.xsl
@@ -98,6 +98,8 @@
             <xsl:text>RTFValue::Pointer_t const pValue(new RTFValueBool(0 != n));&#xA;</xsl:text>
           </xsl:when>
           <xsl:when test="$type='value'">
+            <xsl:text>sal_Int32 const n( ('\0' == *value) ? 0 : ::rtl::OString(value).toInt32() );&#xA;</xsl:text>
+            <xsl:text>RTFValue::Pointer_t const pValue(new RTFValueInt(n));&#xA;</xsl:text>
           </xsl:when>
           <xsl:otherwise>
             <xsl:text>#error token: </xsl:text>
