Spread Page Master Extension

AH Formatter V6.4 is able to treat two facing pages (a two-page spread) as a single unit, and you can define spread regions that span across the two pages. You can also define a single background for the two pages.

The requirement for formatting facing pages as a two-page spread appears in:

Two-page spreads are typically exceptions to normal formatting, so <axf:spread-page-master> refers to other page masters for the definitions of the two pages' sizes and non-spread regions. When an <axf:spread-region> intersects an <fo:region-body> from one of the page masters, the <fo:region-body> is resized to be a smaller, rectangular region. When an <axf:spread-region> covers an <fo:region-body> from one of the page masters, the <fo:region-body> is dropped from the spread.

Spread Page Master Extended Properties

axf:left-page-master-reference

Master name of the page master for the left page of a two-page spread.
no-LT

Value:

<name>

Initial:

N/A, a value is required

Applies to:

axf:spread-page-master

Inherited:

no

Percentages:

N/A

Values have the following meanings.

<name>

The name must refer to a master-name that exists within the document.

axf:left-page-master-reference refers to the page master that defines the page size and the non-spread regions for the left-hand page of a two-page spread.

axf:right-page-master-reference

Master name of the page master for the right page of a two-page spread.
no-LT

Value:

<name>

Initial:

N/A, a value is required

Applies to:

axf:spread-page-master

Inherited:

no

Percentages:

N/A

Values have the following meanings.

<name>

The name must refer to a master-name that exists within the document.

axf:right-page-master-reference refers to the page master that defines the page size and the non-spread regions for the right-hand page of a two-page spread.

Spread Page Master Example

The following example shows two axf:spread-page-master. Both axf:spread-page-master use the "left" and "right" fo:simple-page-master for the definitions of the page sizes and non-spread regions. The "a" axf:spread-page-master defines a "spread" axf:spread-region that, in this document, is formatted with a graphic that spans across the two pages of the spread. The "b" axf:spread-page-master defines a "bottom" axf:region-body that is formatted with a block of text.

The axf:spread-page-master are used in page master selection in the same way as fo:simple-page-master, but you should ensure that they are used in pairs as a two-page spread. As shown in the example, properties that can help enforce this are maximum-repeats, initial-page-number, and force-page-count. When you do not know how many pairs of pages the spread content will use and the axf:spread-region is the only region on the pages (for example, the spread pages are a multi-page, double-wide table), either the axf:spread-page-master should be the last page master in the fo:page-sequence-master or the content of the spread pages should be in a nested fo:page-sequence that uses only the axf:spread-page-master.