summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl18
1 files changed, 18 insertions, 0 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 467f093a9b..6127ca924c 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -1099,6 +1099,24 @@
<audio src="{$data}" type="{@type}" controls="'1'"></audio>
</div>
</xsl:when>
+ <xsl:when test="@type='application/vnd.oasis.opendocument.spreadsheet'">
+ <a class="objectfiles" href="{concat($target,@data)}"><img src="{concat($target,'media/navigation/libo-calc.svg')}" width="25px" height="30px"></img></a>
+ </xsl:when>
+ <xsl:when test="@type='application/vnd.oasis.opendocument.text'">
+ <a class="objectfiles" href="{concat($target,@data)}"><img src="{concat($target,'media/navigation/libo-writer.svg')}" width="25px" height="30px"></img></a>
+ </xsl:when>
+ <xsl:when test="@type='application/vnd.oasis.opendocument.presentation'">
+ <a class="objectfiles" href="{concat($target,@data)}"><img src="{concat($target,'media/navigation/libo-impress.svg')}" width="25px" height="30px"></img></a>
+ </xsl:when>
+ <xsl:when test="@type='application/vnd.oasis.opendocument.drawing'">
+ <a class="objectfiles" href="{concat($target,@data)}"><img src="{concat($target,'media/navigation/libo-draw.svg')}" width="25px" height="30px"></img></a>
+ </xsl:when>
+ <xsl:when test="@type='application/vnd.oasis.opendocument.formula'">
+ <a class="objectfiles" href="{concat($target,@data)}"><img src="{concat($target,'media/navigation/libo-math.svg')}" width="25px" height="30px"></img></a>
+ </xsl:when>
+ <xsl:when test="@type='application/vnd.oasis.opendocument.database'">
+ <a class="objectfiles" href="{concat($target,@data)}"><img src="{concat($target,'media/navigation/libo-base.svg')}" width="25px" height="30px"></img></a>
+ </xsl:when>
<xsl:otherwise>
<object width="{$width}" height="{$height}" data="{$data}" type="{@type}"></object>
</xsl:otherwise>