You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ah...@apache.org on 2004/06/14 00:56:55 UTC
cvs commit: maven-plugins/pdf/src/plugin-resources fo-layouts.xslt
aheritier 2004/06/13 15:56:55
Modified: pdf/src/plugin-resources fo-layouts.xslt
Log:
PR: MPPDF-10
Submitted By: M. Sean Gilligan
Reviewed By: Arnaud Heritier
Add USLetter (8.5"x11") as a paperType
Revision Changes Path
1.7 +2 -0 maven-plugins/pdf/src/plugin-resources/fo-layouts.xslt
Index: fo-layouts.xslt
===================================================================
RCS file: /home/cvs/maven-plugins/pdf/src/plugin-resources/fo-layouts.xslt,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- fo-layouts.xslt 5 Mar 2004 10:27:26 -0000 1.6
+++ fo-layouts.xslt 13 Jun 2004 22:56:55 -0000 1.7
@@ -22,6 +22,7 @@
<xsl:variable name="pageWidth">
<xsl:choose>
<xsl:when test="$paperType = 'US'">8.5</xsl:when>
+ <xsl:when test="$paperType = 'USLetter'">8.5</xsl:when>
<xsl:when test="$paperType = 'A4'">8.25</xsl:when>
<xsl:otherwise>8.5</xsl:otherwise>
</xsl:choose>
@@ -30,6 +31,7 @@
<xsl:variable name="pageHeight">
<xsl:choose>
<xsl:when test="$paperType = 'US'">14</xsl:when>
+ <xsl:when test="$paperType = 'USLetter'">11</xsl:when>
<xsl:when test="$paperType = 'A4'">11.70</xsl:when>
<xsl:otherwise>14</xsl:otherwise>
</xsl:choose>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org