Latest web development tutorials

XSL-FO conditional-page-master-reference objects

XSL-FO Reference Manual XSL-FO Reference Manual

Definition and Usage

<Fo: conditional-page-master-reference> Object predetermined page-maste used when a condition defined by the establishment.

This allows different pages can use different page-masters. (Eg, even and odd pages, the first page, blank page.)

Three properties, odd-or-even, blank-or-not-blank, page-postion specified conditions. When all three conditions are true, <fo: conditional-page-master-reference> holds.

  • If the page has generated the specified location (first, last, rest, any), page-position established.
  • If the value is "any" value or parity with the page number match, odd-or-even established.
  • If the value is "not-blank" page and have the <fo: flow> When the offspring generation area, or if the value "blank" page and not from the <fo: flow> when the area, or if the value is "any "when, blank-or-not-blank established.

grammar

<fo:conditional-page-master-reference>
<!--
Contents:EMPTY
-->
</fo:conditional-page-master-reference>

Attributes

属性
blank-or-not-blank
master-reference
odd-or-even
page-postion


XSL-FO Reference Manual XSL-FO Reference Manual