From: Jeremias Maerki Date: Tue, 22 Nov 2005 18:53:40 +0000 (+0000) Subject: Bugzilla #37589: X-Git-Tag: fop-0_91-beta~91 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=132ad0ce81525ea07b9759f5d162dc81a806e919;p=xmlgraphics-fop.git Bugzilla #37589: Added note about iText's PDFStamper. Submitted by: Jens Stavnstrup git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348211 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/0.20.5/output.xml b/src/documentation/content/xdocs/0.20.5/output.xml index 0e4da30b8..ac9eb357b 100644 --- a/src/documentation/content/xdocs/0.20.5/output.xml +++ b/src/documentation/content/xdocs/0.20.5/output.xml @@ -98,7 +98,11 @@ guaranteed to be available in all PDF viewer applications."

FOP does not currently support several desirable PDF features: document properties (title, author, etc.), and watermarks. One workaround is to use Adobe Acrobat (the full version, not the Reader) to process the file manually or with scripting that it supports.

Another popular post-processing tool is iText, which has tools for adding security features, document properties, watermarks, and many other features to PDF files.

- Caveat: iText swallows PDF bookmarks. + + Caveat: iText may swallow PDF bookmarks. But + Jens Stavnstrup tells us + that this doesn't happen if you use iText's PDFStamper. +

Here is some sample code that uses iText to encrypt a FOP-generated PDF. (Note that FOP now supports PDF encryption. However the principles for using iText for other PDF features are similar.)

which has tools for adding security features, document properties, watermarks, and many other features to PDF files.

- Caveat: iText may swallow PDF bookmarks. + + Caveat: iText may swallow PDF bookmarks. But + Jens Stavnstrup tells us + that this doesn't happen if you use iText's PDFStamper. +

Here is some sample code that uses iText to encrypt a FOP-generated PDF. (Note that FOP now supports PDF encryption. However the principles for using diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml index 500d31f3d..d2aed60b3 100644 --- a/src/documentation/content/xdocs/trunk/output.xml +++ b/src/documentation/content/xdocs/trunk/output.xml @@ -111,7 +111,11 @@ out = proc.getOutputStream();]]> which has tools for adding security features, document properties, watermarks, and many other features to PDF files.

- Caveat: iText may swallow PDF bookmarks. + + Caveat: iText may swallow PDF bookmarks. But + Jens Stavnstrup tells us + that this doesn't happen if you use iText's PDFStamper. +

Here is some sample code that uses iText to encrypt a FOP-generated PDF. (Note that FOP now supports PDF encryption. However the principles for using