xsl-list
[Top] [All Lists]

Re: [xsl] Append multi-page PDF to end of XSL-FO Output

2008-11-10 11:24:19
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Mark Shellenberger wrote:
I've been appending a single page PDF as the final page of an XSL-FO output.
Now I need to append multiple pages (from a single file) to the end of the
XSL-FO output.

Such task is best handled by some PDF processing library like iText --
http://www.lowagie.com/iText/

You can either use iText to postprocess PDF rendering of XSL-FO and
append another PDF at the end of it

Or you can use iText to extract pages from PDF file into separate files
and then use fo:external-graphics to include those pages one by one into
XSL-FO. (Actually if you use Java based XSLT processor you can even call
iText directly from XSLT transformation.)

- --
- ------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka(_at_)kosek(_dot_)cz      http://xmlguru.cz
- ------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
- ------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJGGASzwmSw7n0dR4RAkleAJ9IUEd2XAleTMThmQuf8QJ1ru3bHwCggpFP
HUmT0ru1OAp+QoH4XSVwtz0=
=HhzS
-----END PGP SIGNATURE-----

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--