[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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

Subject: Re: Append multi-page PDF to end of XSL-FO Output
From: Jirka Kosek <jirka@xxxxxxxx>
Date: Mon, 10 Nov 2008 17:23:46 +0100
Re:  Append multi-page PDF to end of XSL-FO Output
-----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@xxxxxxxx      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-----

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.