Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-5630

Add PDRectangle#TABLOID paper size

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.28
    • 2.0.30, 3.0.0 PDFBox
    • PDModel
    • None

    Description

      Currently `org.apache.pdfbox.pdmodel.common.PDRectangle` has constants for commonly used paper sizes like A3, A4, ... , as well as North American ones (LETTER and LEGAL).

       

      However, a constant for a common North American paper format TABLOID (similar to A3) is missing (see https://en.wikipedia.org/wiki/Paper_size#North_American_paper_sizes). The dimensions of it are 11×17 inches or 279×432 mm.

      It would be great if PDFBox added a constant for it.

       

      Workaround - create a PDRectangle of needed dimensions yourself via:

      new PDRectangle(PDRectangle.LETTER.getHeight(), PDRectangle.LETTER.getWidth() * 2);

      Attachments

        Activity

          People

            tilman Tilman Hausherr
            gediminas.rimsa Gediminas Rimša
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: