You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2016/04/28 20:12:12 UTC
[jira] [Resolved] (PDFBOX-3316) Add comment to PDF
[ https://issues.apache.org/jira/browse/PDFBOX-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-3316.
-------------------------------------
Resolution: Fixed
Assignee: Tilman Hausherr
Fix Version/s: 2.1.0
2.0.2
> Add comment to PDF
> ------------------
>
> Key: PDFBOX-3316
> URL: https://issues.apache.org/jira/browse/PDFBOX-3316
> Project: PDFBox
> Issue Type: Improvement
> Components: Rendering
> Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.1.0
> Reporter: Jerrol Etheredge
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.2, 2.1.0
>
>
> For our application we use some comment texts (prepended by a %) to mark content and perform text replacement.
> We currently use the appendRawCommands() method to add these, but since this method has been marked as deprecated since version 2.0.
> Would it be possible to add some like a addComment() method to PDPageContentStream?
> The code would probably be something trivial like:
> public void addComment(String comment) {
> output.write("%" + comment + "\n");
> }
--
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