cpfo:page-number-offset
(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
Kategorie: Erweiterte Eigenschaften für FO-Elemente - cpfo:page-number-offset
Beschreibung
Attribut erhöht oder vermindert die Seitennummer um den Wert x.
Kommentar: | Negative Werte sind erlaubt. |
Wert: | number |
Initial: | 0 |
Vererbt: | no |
XSL-FO Beispiel:
| <fo:root font-size="12pt" 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"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| Page: | |
| ||
| </fo:block> | |
| ||
| ||
| <fo:block> | |
| Example how to add a page number offset | |
| </fo:block> | |
| <fo:block> | |
| The current page number is | |
| ||
| . | |
| </fo:block> | |
| <fo:block> | |
| The current page number with a page-number-offset of 5 is: | |
| ||
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
In der Ausgabe:
Seite 2
Seite 3
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |