force-page-count

(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 Extended Values

Following bold values are extended.

Value:auto | even | doubly-even | odd | end-on-even | end-on-doubly-even | end-on-odd | doubly-even-document | [ end-on | document ] <number> [ <number> ] | no-force

Values have the following meanings.

doubly-even Force an doubly-even number of pages in this page-sequence.
end-on-doubly-even Force the last page in this page-sequence to be an doubly-even-page.
doubly-even-documentForce the number of pages counted from the document head to be an doubly-even number.
[ end-on | document ] <number> [ <number> ] no-LTSuppose that the first <number> is A, the next <number> is B, the number of pages of specified page-sequence is set as a multiple number of A + B. A must be an integer greater than or equal to 1, B must be an integer greater than or equal to 0 and less than A. When B is omitted, it is regarded as 0. when end-on was specified, the page number of the last page of the specified page-sequence is applied. When document is specified, The number of the page counted from the beginning of the document is applied. For example (assuming 5 pages of content in a page sequence):
  • force-page-count="even"
    equivalent to force-page-count="2"
  • force-page-count="odd"
    equivalent to force-page-count="2 1"
  • force-page-count="doubly-even"
    equivalent to force-page-count="4"
  • force-page-count="end-on-doubly-even"
    equivalent to force-page-count="end-on 4"
  • force-page-count="end-on 2"
    total number of pages is 6 with 1 blank page
  • force-page-count="end-on 4"
    total number of pages is 8 with 3 blank page
  • force-page-count="end-on 4 1"
    total number of pages is 5 with 0 blank pages
  • force-page-count="end-on 4 3"
    total number of pages is 7 with 2 blank pages
  • force-page-count="end-on 6 5"
    total number of pages is 5 with 0 blank pages
  • force-page-count="end-on 6 4"
    total number of pages is 10 with 5 blank pages
Tipp der data2type-Redaktion:
Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: