summaryrefslogtreecommitdiff
path: root/filter/source/docbook
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-07-22 10:06:27 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-07-22 10:06:27 +0000
commited478eb929a7f52bcd974e4b5e4ac1b3b4635d5e (patch)
treef55fa6e76817103aafea81f248c69da966c1be74 /filter/source/docbook
parent576f0579747959acdf53077da4cd724323fd590b (diff)
INTEGRATION: CWS fwkrc32 (1.4.30); FILE MERGED
2003/07/16 16:19:55 dvo 1.4.30.1: #i16951# work-around for Java XSLT problem: multiple <xsl:key> elements with the same name appear not to work properly, so we don't use them. Also import sect5 elements.
Diffstat (limited to 'filter/source/docbook')
-rw-r--r--filter/source/docbook/docbooktosoffheadings.xsl8
1 files changed, 8 insertions, 0 deletions
diff --git a/filter/source/docbook/docbooktosoffheadings.xsl b/filter/source/docbook/docbooktosoffheadings.xsl
index e4fcd0859fb2..54c1af5bee83 100644
--- a/filter/source/docbook/docbooktosoffheadings.xsl
+++ b/filter/source/docbook/docbooktosoffheadings.xsl
@@ -602,6 +602,14 @@ xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.
<xsl:apply-templates/>
</xsl:template>
+<xsl:template match="sect5">
+ <xsl:element name="text:h">
+ <xsl:attribute name="text:level">5</xsl:attribute>
+ <xsl:value-of select="child::title"/>
+ </xsl:element>
+ <xsl:apply-templates/>
+</xsl:template>
+
<!--<xsl:template match="sect5">
<xsl:element name="text:section">
<xsl:attribute name="text:style-name">Sect1</xsl:attribute>