[jira] [Updated] (PDFBOX-5630) Add PDRectangle#TABLOID paper size

2023-07-01 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-5630:

Fix Version/s: 2.0.30
   3.0.0 PDFBox

> 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



[jira] [Updated] (PDFBOX-5630) Add PDRectangle#TABLOID paper size

2023-07-01 Thread Tilman Hausherr (Jira)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-5630:

Affects Version/s: 2.0.28

> 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
>
> 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



[jira] [Updated] (PDFBOX-5630) Add PDRectangle#TABLOID paper size

2023-06-30 Thread Jira


 [ 
https://issues.apache.org/jira/browse/PDFBOX-5630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gediminas Rimša updated PDFBOX-5630:

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|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);}}

  was:
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.

 

Workaround - create a PDRectangle of needed dimensions yourself via:

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


> Add PDRectangle#TABLOID paper size
> --
>
> Key: PDFBOX-5630
> URL: https://issues.apache.org/jira/browse/PDFBOX-5630
> Project: PDFBox
>  Issue Type: Improvement
>  Components: PDModel
>Reporter: Gediminas Rimša
>Priority: Minor
>
> 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