You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Pei-Tang Huang (JIRA)" <ji...@apache.org> on 2015/08/12 10:28:45 UTC
[jira] [Commented] (PDFBOX-2931) Make PDFPrintable margin-aligning
and centering optional
[ https://issues.apache.org/jira/browse/PDFBOX-2931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14693118#comment-14693118 ]
Pei-Tang Huang commented on PDFBOX-2931:
----------------------------------------
A use case is user want to print custom sized document on A4 paper without centering the content.
On current code base, I have to copy whole {{PDFPrintable}} and {{PDFPageable}} and comment out all related code in {{PDFPrintable}} to achieve this requirement.
If {{PDFPrintable}} is configurable, I can just copy (or subclassing if it is not {{final}}) {{PDFPageable}} and overwrite its {{getPrintable()}} method.
> Make PDFPrintable margin-aligning and centering optional
> --------------------------------------------------------
>
> Key: PDFBOX-2931
> URL: https://issues.apache.org/jira/browse/PDFBOX-2931
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Reporter: Pei-Tang Huang
>
> As mentioned in PDFBOX-2922 , it will be great if there exists option to control whether to margin-aligning / centering or not.
> Besides, should pdfbox have a "printing" component in JIRA?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org