You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/08/07 12:08:00 UTC
[jira] [Commented] (PDFBOX-5253) Create PDImmutableRectangle class
for fixed sizes
[ https://issues.apache.org/jira/browse/PDFBOX-5253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395205#comment-17395205 ]
ASF subversion and git services commented on PDFBOX-5253:
---------------------------------------------------------
Commit 1892071 from Tilman Hausherr in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1892071 ]
PDFBOX-5253: add and use immutable class for paper sizes, as suggested by valerybokov
> Create PDImmutableRectangle class for fixed sizes
> -------------------------------------------------
>
> Key: PDFBOX-5253
> URL: https://issues.apache.org/jira/browse/PDFBOX-5253
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.24
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
>
> As suggested by valerybokov in PR 107.
> It prevents a theoretical problem, i.e. that a developer assigns a paper size (e.g. PDRectangle.A4) to a page and then modifies the rectangle of this page for some reason. This would also modify all further uses of this paper size.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org