Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.28
-
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);