[ 
https://issues.apache.org/jira/browse/PDFBOX-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17739319#comment-17739319
 ] 

ASF subversion and git services commented on PDFBOX-5630:
---------------------------------------------------------

Commit 1910730 from Tilman Hausherr in branch 'pdfbox/branches/2.0'
[ https://svn.apache.org/r1910730 ]

PDFBOX-5630: introduce tabloid paper format, as suggested by Gediminas Rimša

> Add PDRectangle#TABLOID paper size
> ----------------------------------
>
>                 Key: PDFBOX-5630
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5630
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.28
>            Reporter: Gediminas Rimša
>            Priority: Minor
>             Fix For: 2.0.30, 3.0.0 PDFBox
>
>
> 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|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);}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to