[richfaces-svn-commits] JBoss Rich Faces SVN: r13757 - trunk/docs/common-resources/en/src/main/xslt.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Wed Apr 22 07:12:12 EDT 2009


Author: artdaw
Date: 2009-04-22 07:12:12 -0400 (Wed, 22 Apr 2009)
New Revision: 13757

Added:
   trunk/docs/common-resources/en/src/main/xslt/pdf-common.xsl
Log:
https://jira.jboss.org/jira/browse/RF-5655 - XSL files were fixed. pdf-common.xsl was added as the stylesheet for PDF generation

Added: trunk/docs/common-resources/en/src/main/xslt/pdf-common.xsl
===================================================================
--- trunk/docs/common-resources/en/src/main/xslt/pdf-common.xsl	                        (rev 0)
+++ trunk/docs/common-resources/en/src/main/xslt/pdf-common.xsl	2009-04-22 11:12:12 UTC (rev 13757)
@@ -0,0 +1,28 @@
+<?xml version='1.0'?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+		        version="1.0"
+		        xmlns="http://www.w3.org/TR/xhtml1/transitional"
+		        xmlns:fo="http://www.w3.org/1999/XSL/Format"
+                xmlns:jbh="java:org.jboss.highlight.renderer.FORenderer"
+		        exclude-result-prefixes="jbh">
+
+<xsl:import href="classpath:/xslt/org/jboss/pdf.xsl" />
+<xsl:attribute-set name="book.titlepage.recto.style">
+	<xsl:attribute name="font-family">
+		<xsl:value-of select="$title.fontset"/>
+	</xsl:attribute>
+	<xsl:attribute name="color"><xsl:value-of select="$titlepage.color"/></xsl:attribute>
+	<xsl:attribute name="font-weight">bold</xsl:attribute>
+	<xsl:attribute name="font-size">12pt</xsl:attribute>
+	<xsl:attribute name="text-align">center</xsl:attribute>
+</xsl:attribute-set>
+
+   <!--avoid page sequence  to generate blank pages after even page numbers -->
+   
+   <xsl:template name="force.page.count">
+      <xsl:param name="element" select="local-name(.)"/>
+      <xsl:param name="master-reference" select="''"/>
+      <xsl:text>no-force</xsl:text>
+   </xsl:template>
+   
+</xsl:stylesheet>


Property changes on: trunk/docs/common-resources/en/src/main/xslt/pdf-common.xsl
___________________________________________________________________
Name: svn:executable
   + *




More information about the richfaces-svn-commits mailing list