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:36:06 UTC

[jira] Commented: (MPPDF-10) Add USLetter (8.5"x11") as a paperType

The following comment has been added to this issue:

     Author: M. Sean Gilligan
    Created: Sun, 13 Jun 2004 6:34 PM
       Body:
I suppose the properties documentation page should be updated too:

Index: properties.xml
===================================================================
RCS file: /home/cvspublic/maven-plugins/pdf/xdocs/properties.xml,v
retrieving revision 1.9
diff -u -r1.9 properties.xml
--- properties.xml      4 Mar 2004 18:37:55 -0000       1.9
+++ properties.xml      13 Jun 2004 22:33:01 -0000
@@ -50,6 +50,8 @@
                                     <code>A4</code> : 8.25in x 11.70in</li>
                                 <li>
                                     <code>US</code> : 8.5in x 14in</li>
+                                <li>
+                                    <code>USLetter</code> : 8.5in x 11in</li>
                             </ul>
                         </td>
                         <td width="10%">Yes</td>

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPPDF-10?page=comments#action_20612

---------------------------------------------------------------------
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: Open
   Priority: Minor

 Original Estimate: 15 minutes
 Time Spent: Unknown
  Remaining: 15 minutes

    Project: maven-pdf-plugin
   Versions:
             2.1

   Assignee: Jason van Zyl
   Reporter: M. Sean Gilligan

    Created: Sun, 13 Jun 2004 6:27 PM
    Updated: Sun, 13 Jun 2004 6:34 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