Jeremias Maerki wrote:

I've been playing with the idea for some time and the time has come to
bring this up. I would like to write an FO extension which allows to
insert a multi-page document into an FO document, so each page produces
a new page of exactly the same dimensions as the bitmap image in the
final format (by default). With fo:external-graphic it's only possible
to embed one single image somewhere inline. Of course, it's possible to
position the fo:external-graphic so it takes up the whole page and you
can even address individual pages (<uri>#page=3) with the new image
package but you'd still need to know at least the number of pages at
XSLT time to get this right. Instead, I'd like to do this with a single
extension element on the same level as fo:page-sequence. I've called it
fox:external-document for now. Here's the proposed specification:

+1 from me. This is a good idea. There is a definitive business requirement for being able to process multi-page Tiffs and PDFs.

My application already uses pre-processors to split up multi-page Tiff and PDFs, so if the FO Formatter does it then it saves me the bother. Also the ability to vary the pages based on the images actual size is a level of flexbility my pre-processor currently doesn't support.

Chris


Reply via email to