home HOME

XSLFO Tutorial
XSLFO HOME
XSLFO Intro
XSLFO Documents
XSLFO Areas
XSLFO Output
XSLFO Flow
XSLFO Pages
XSLFO Blocks
XSLFO Lists
XSLFO Tables
XSLFO & XSLT
XSLFO Software

XSLFO Reference
XSLFO Objects

Selected Reading
Web Statistics
Web Glossary
Web Hosting
Web Quality

W3Schools Forum

Helping W3Schools

pixels

XSL-FO conditional-page-master-reference Object

Back

Definition and Usage

The <fo:conditional-page-master-reference> object specifies a page-master to be used when the conditions defined are true.

This allows different page-masters to be used for different pages (e.g. odd and even pages, first page, blank pages).

Three properties, page-position, odd-or-even, blank-or-not-blank, specifies the conditions. All three conditions must be true for the <fo:conditional-page-master-reference> to be true.

  • page-position is true if the generated page has the specified position (first, last, rest, any)
  • odd-or-even is true if the value is "any" or if the value (odd, even) matches the page number
  • blank-or-not-blank is true, if the value is "not-blank" and the page has areas generated by descendants of <fo:flow>; if the value is "blank" and the page has no areas from <fo:flow>; or if the value is "any"

Syntax

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

Properties

Property
blank-or-not-blank
master-reference
odd-or-even
page-postion


Back

Jump to: Top of Page or HOME or Printer Friendly Printer friendly page

W3Schools provides material for training only. We do not warrant the correctness of its contents. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.

Copyright 1999-2007 by Refsnes Data. All Rights Reserved.

Validate Validate W3C-WAI level A conformance icon W3Schools was converted to XHTML in December 1999