Author: ochikvina
Date: 2008-06-10 11:17:47 -0400 (Tue, 10 Jun 2008)
New Revision: 8681
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl
Log:
http://jira.jboss.com/jira/browse/JBDS-336 - all links are underlined & displayed URLs
after them are ommited.
Modified:
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl
===================================================================
---
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl 2008-06-10
15:17:12 UTC (rev 8680)
+++
trunk/documentation/jbosstools-docbook-xslt/src/main/resources/xslt/org/jboss/tools/pdf.xsl 2008-06-10
15:17:47 UTC (rev 8681)
@@ -9,8 +9,19 @@
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="classpath:/xslt/org/jboss/pdf.xsl"/>
-
- <!-- Ignore image scaling in html version -->
- <xsl:param name="ignore.image.scaling" select="1"/>
+ <!-- overwriting links properties -->
+ <xsl:param name="ulink.show" select="0"></xsl:param>
+
+ <xsl:attribute-set name="xref.properties">
+ <xsl:attribute name="text-decoration">
+ <xsl:choose>
+ <xsl:when test="self::ulink">underline</xsl:when>
+ <xsl:when test="self::link">underline</xsl:when>
+ <!--xsl:otherwise>inherit</xsl:otherwise-->
+ </xsl:choose>
+ </xsl:attribute>
+ </xsl:attribute-set>
+
+
</xsl:stylesheet>