This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7571 - multi-page images: what if the number of layers/pages is unknown?
Summary: multi-page images: what if the number of layers/pages is unknown?
Status: NEW
Alias: None
Product: XSLFO
Classification: Unclassified
Component: XSL-FO (show other bugs)
Version: 2.0 Working Draft
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Tony Graham
QA Contact: Mailing list for comments on XSL (XSl-FO)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 22:34 UTC by Liam R E Quin
Modified: 2010-02-17 07:12 UTC (History)
1 user (show)

See Also:


Attachments

Description Liam R E Quin 2009-09-10 22:34:15 UTC
What if you don't know in advance how many layers there are in
advance in, say, a TIFF image, and want to print them all as
separate pages in your FO document?

[taken from "Design Considerations" draft]
Comment 1 Klaas Bals 2010-02-17 07:12:26 UTC
I would suggest this has to be done in advance, outside of XSL-FO, for example in XSLT. In that case you would need to rely on extensions. A way we implement this is by allowing a document() call to load a PDF or TIFF file as it it loads an XML with an element per page (with some @attributes. This info can then be used in XSLT to build the right XSL-FO structure for this, as some use cases require you to include them as inline pictures, and other as full screen images, etc...