summaryrefslogtreecommitdiff
path: root/filter/source/docbook
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-06-12 10:13:23 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-06-12 10:13:23 +0000
commiteeb85c6aca5a4c3a2a9bbb7fdf913970867fea73 (patch)
treeceaf948db6f0d19f843f31a3f84ccfce5b743612 /filter/source/docbook
parent800822dde418f42e5271f79c1e552aad2601c541 (diff)
INTEGRATION: CWS mh11rc (1.2.36); FILE MERGED
2003/06/06 12:42:58 mh 1.2.36.1: join: from cws_srx644_ooo11beta2
Diffstat (limited to 'filter/source/docbook')
-rw-r--r--filter/source/docbook/DocBookTemplate.stwbin0 -> 6688 bytes
-rw-r--r--filter/source/docbook/docbooktosoffheadings.xsl15
2 files changed, 15 insertions, 0 deletions
diff --git a/filter/source/docbook/DocBookTemplate.stw b/filter/source/docbook/DocBookTemplate.stw
new file mode 100644
index 000000000000..ebc95f9f68cb
--- /dev/null
+++ b/filter/source/docbook/DocBookTemplate.stw
Binary files differ
diff --git a/filter/source/docbook/docbooktosoffheadings.xsl b/filter/source/docbook/docbooktosoffheadings.xsl
index ca5be04e650a..e4fcd0859fb2 100644
--- a/filter/source/docbook/docbooktosoffheadings.xsl
+++ b/filter/source/docbook/docbooktosoffheadings.xsl
@@ -497,7 +497,19 @@ xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.
</xsl:element>
</xsl:template>
+
+
+
+
<xsl:template match="para">
+<xsl:choose>
+<xsl:when test="ancestor::varlistentry">
+ <xsl:element name="text:p">
+ <xsl:attribute name="text:style-name">VarList Term</xsl:attribute>
+ <xsl:apply-templates />
+ </xsl:element>
+</xsl:when>
+<xsl:otherwise>
<xsl:element name="text:p">
<xsl:choose>
<xsl:when test="ancestor-or-self::footnote">
@@ -528,6 +540,9 @@ xmlns:office="http://openoffice.org/2000/office" xmlns:style="http://openoffice.
</xsl:choose>
<xsl:apply-templates/>
</xsl:element>
+
+</xsl:otherwise>
+</xsl:choose>
</xsl:template>
<xsl:template match="section">