# HG changeset patch
# User Henning Brinkmann <hbrinkm@openoffice.org>
# Date 1284565052 -7200
# Node ID b412126dced6aaa3209980311aaba8ec9c73fe12
# Parent  66c51895956a5aa6aea57e20f1b805515e0cd8e3
rtftok01: handle <secfmt> and <docfmt>

diff --git a/writerfilter/source/rtftok/spectobnf.xsl b/writerfilter/source/rtftok/spectobnf.xsl
--- a/writerfilter/source/rtftok/spectobnf.xsl
+++ b/writerfilter/source/rtftok/spectobnf.xsl
@@ -626,6 +626,14 @@
       <xsl:with-param name="search">Paragraph Formatting Properties</xsl:with-param>
     </xsl:call-template>
     <xsl:call-template name="chrfmtetc">
+      <xsl:with-param name="define">docfmt</xsl:with-param>
+      <xsl:with-param name="search">Document Formatting Properties</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="chrfmtetc">
+      <xsl:with-param name="define">secfmt</xsl:with-param>
+      <xsl:with-param name="search">Section Formatting Properties</xsl:with-param>
+    </xsl:call-template>
+    <xsl:call-template name="chrfmtetc">
       <xsl:with-param name="define">aprops</xsl:with-param>
       <xsl:with-param name="search">Associated Character Properties</xsl:with-param>
       <xsl:with-param name="number">2</xsl:with-param>
