You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/14 00:56:07 UTC
[jira] Closed: (MPPDF-10) Add USLetter (8.5"x11") as a paperType
Message:
The following issue has been closed.
Resolver: Arnaud HERITIER
Date: Sun, 13 Jun 2004 6:55 PM
Applied in CVS. Thanks.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MPPDF-10
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MPPDF-10
Summary: Add USLetter (8.5"x11") as a paperType
Type: Improvement
Status: Closed
Priority: Minor
Resolution: FIXED
Original Estimate: 15 minutes
Time Spent: Unknown
Remaining: 15 minutes
Project: maven-pdf-plugin
Fix Fors:
2.2
Versions:
2.1
Assignee: Arnaud HERITIER
Reporter: M. Sean Gilligan
Created: Sun, 13 Jun 2004 6:27 PM
Updated: Sun, 13 Jun 2004 6:55 PM
Environment: All.
Description:
Add "USLetter" as a paperType setting to be able to produce standard size printed output for the U.S. cvsdiff below:
Index: fo-layouts.xslt
===================================================================
RCS file: /home/cvspublic/maven-plugins/pdf/src/plugin-resources/fo-layouts.xslt,v
retrieving revision 1.6
diff -u -r1.6 fo-layouts.xslt
--- fo-layouts.xslt 5 Mar 2004 10:27:26 -0000 1.6
+++ fo-layouts.xslt 13 Jun 2004 22:16:33 -0000
@@ -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>
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org