summaryrefslogtreecommitdiff
path: root/filter/source/docbook
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-03-09 09:04:58 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-03-09 09:04:58 +0000
commit07853451673ce40d3d0df114d91c06ddd162208a (patch)
tree6a90f8a916f4da84003282787bd4ac8c17309ad2 /filter/source/docbook
parent289007e70de44535ccba009b4be5a0e057e3076f (diff)
INTEGRATION: CWS fwkmerge1 (1.5.40); FILE MERGED
2004/02/16 13:04:15 lo 1.5.40.2: #115238# merge for i9081: emty lines in docbook export 2004/02/03 13:38:58 lo 1.5.40.1: #115238# merge in fixes from cws fwk01pp1
Diffstat (limited to 'filter/source/docbook')
-rw-r--r--filter/source/docbook/sofftodocbookheadings.xsl17
1 files changed, 12 insertions, 5 deletions
diff --git a/filter/source/docbook/sofftodocbookheadings.xsl b/filter/source/docbook/sofftodocbookheadings.xsl
index 79b0b1ced72a..8233f06ada80 100644
--- a/filter/source/docbook/sofftodocbookheadings.xsl
+++ b/filter/source/docbook/sofftodocbookheadings.xsl
@@ -137,7 +137,7 @@
<xsl:element name="article">
<xsl:attribute name="lang"><xsl:value-of select="/office:document/office:meta/dc:language"/>
</xsl:attribute>
- <xsl:apply-templates />
+ <xsl:apply-templates select="office:body"/>
</xsl:element>
</xsl:template>
@@ -604,13 +604,12 @@
</variablelist>
</xsl:when>
<xsl:when test="@text:style-name='UnOrdered List'">
- <variablelist>
+ <itemizedlist>
<xsl:apply-templates/>
- </variablelist>
+ </itemizedlist>
</xsl:when>
<xsl:otherwise>
<itemizedlist>
- <title></title>
<xsl:apply-templates/>
</itemizedlist>
</xsl:otherwise>
@@ -831,6 +830,14 @@
<xsl:apply-templates/>
</xsl:element>
</xsl:when>
+ <xsl:when test="contains(@xlink:href,'mailto:')">
+ <xsl:element name="ulink">
+ <xsl:attribute name ="url">
+ <xsl:value-of select="@xlink:href"/>
+ </xsl:attribute>
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:when>
<xsl:when test="not(contains(@xlink:href,'#'))">
<xsl:element name="olink">
<xsl:attribute name="targetdocent">
@@ -852,4 +859,4 @@
</xsl:template>
-</xsl:stylesheet> \ No newline at end of file
+</xsl:stylesheet>