From 0c87214d3a98d0836083d191b36aa7abf944d0dc Mon Sep 17 00:00:00 2001
From: Jeremias Maerki
+ This is a proprietary extension element which allows to add whole images as pages to
+ an FO document. For example, if you have a scanned document or a fax as multi-page TIFF
+ file, you can append or insert this document using the fox:external-document
+ element. Each page of the external document will create one full page in the target
+ format.
+
+ The fox:external-document
element is structurally a peer to
+ fo:page-sequence
, so wherever you can put an fo:page-sequence
+ you could also place a fox:external-document
.
+ Therefore, the specified contents for fo:root
change to:
+
+
+ (layout-master-set, declarations?, bookmark-tree?, (page-sequence|page-sequence-wrapper|fox:external-document)+)
+
+
+ The fox:external-document
extension formatting object is used to specify
+ how to create a (sub-)sequence of pages within a document. The content of these pages
+ comes from the individual subimages/pages of an image or paged document (for example:
+ multi-page TIFF in the form of faxes or scanned documents, or PDF files). The
+ formatting object creates the necessary areas to display one image per page.
+
+ In terms of page numbers, the behaviour is the same as for
+ fo:page-sequence
. The placement of the image inside the page is similar
+ to that of fo:external-graphic
or fo:instream-foreign-object
,
+ i.e. the viewport (and therefore the page size) is defined by either the intrinsic
+ size of the image or by the size properties that apply to this formatting object.
+
Content: EMPTY
+The following properties apply to this formatting object:
++ Datatype "page-set": Value: auto | <integer-range>, + Default: "auto" which means all pages/subimages of the document. + <integer-range> allows values such as "7" or "1-3" +
+fox:external-document
is not suitable for concatenating FO documents.
+ For this, XInclude is recommended.
+