Anonymous avatar Anonymous committed 953a6f8

rtftok01: add some more charfmts

Comments (0)

Files changed (2)

writerfilter/source/rtftok/rtfactions.xml

 <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>

writerfilter/source/rtftok/rtfcontrols.xsl

             <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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.