axf:right-page-master-reference

(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)

A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z

Category Spread Page Master Extended Properties

Master name of the page master for the right page of a two-page spread. V6.3no-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.

XSL-FO sample:

<fo:root xml:lang="ja" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions">

Antenna House, Inc.

axf:spread-page-master で定義した領域

見開きタイトル(サンプル)

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam bibendum tincidunt pharetra. Aenean ultricies molestie ante, sit amet ultricies nunc mollis id. Integer ut porttitor felis, vel tincidunt velit. Duis volutpat, quam quis aliquet tristique, nulla dui malesuada velit, et consectetur tellus ipsum et arcu. Ut tincidunt lorem erat, at elementum nibh varius consectetur.

見開きページマスタの設定例

axf:spread-page-master、axf:spread-region の指定により2ページにまたがる見開き領域を定義できます。指定は axf:spread-page-master により見開きを定義し、axf:spread-region で見開きページの領域を指定します。axf:spread-region がいずれかのページマスタによって fo:region-body と重なる場合は fo:region-body はリサイズ、または見開きページから外されます。詳細はオンラインマニュアルの「

見開きページマスタ拡張

」をご覧ください。見開きページマスタの設定は AH Formatter V6.3 からご利用いただけます。

サンプルは、見開きでない領域 fo:simple-page-master "PageMaster"と見開きの定義 axf:spread-page-master "Spread-PageMaster-1"、2ページにまたがるタイトル、テキストで組版される見開き領域 axf:spread-region "spread"の指定で構成されています。

Antenna House, Inc.

3、4ページのサンプルでは見開きの定義 axf:spread-page-master "Spread-PageMaster-2" へ background-image を指定して2ページに背景画像がまたがるよう構成されています。

Download der Beispiele

Output:

page 2

page 3

page 4

Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: