[Libreoffice-commits] .: xmlhelp/util
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 29 12:55:38 PST 2012
xmlhelp/util/main_transform.xsl | 9 +++++++++
1 file changed, 9 insertions(+)
New commits:
commit ab5af23e7240959e77b4329b55da72f235859d27
Author: Andras Timar <atimar at suse.com>
Date: Thu Nov 29 21:56:53 2012 +0100
keep indentation in Logo code examples
Change-Id: Ife5aed42af9daeebba4d70899383d2bd0213aded
diff --git a/xmlhelp/util/main_transform.xsl b/xmlhelp/util/main_transform.xsl
index 0a612fc..6df417f 100644
--- a/xmlhelp/util/main_transform.xsl
+++ b/xmlhelp/util/main_transform.xsl
@@ -365,6 +365,10 @@
<xsl:call-template name="insertbascode" />
</xsl:when>
+ <xsl:when test="@role='logocode'">
+ <xsl:call-template name="insertlogocode" />
+ </xsl:when>
+
<xsl:otherwise>
<xsl:call-template name="insertpara" />
</xsl:otherwise>
@@ -593,6 +597,11 @@
<pre><xsl:apply-templates /></pre>
</xsl:template>
+<!-- Insert Logo code snippet -->
+<xsl:template name="insertlogocode">
+ <pre><xsl:apply-templates /></pre>
+</xsl:template>
+
<!-- Insert "How to get Link" -->
<xsl:template name="insert_howtoget">
<xsl:param name="linkhref" />
More information about the Libreoffice-commits
mailing list