Maven 1.x PDF Plugin
  1. Maven 1.x PDF Plugin
  2. MPPDF-10

Add USLetter (8.5"x11") as a paperType

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.2
    • Labels:
      None
    • Environment:
      All.
    • Number of attachments :
      0

      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>

        Activity

        Hide
        Sean Gilligan added a comment -

        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>

        Show
        Sean Gilligan added a comment - 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>
        Hide
        Arnaud Heritier added a comment -

        Applied in CVS. Thanks.

        Show
        Arnaud Heritier added a comment - Applied in CVS. Thanks.

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            Sean Gilligan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 15 minutes
              15m
              Remaining:
              Remaining Estimate - 15 minutes
              15m
              Logged:
              Time Spent - Not Specified
              Not Specified