Technologies XML / XSL-FO / Référence / Attributs de XSL-FO / page-citation-strategy
(Extrait de « XSL-FO ― Die Referenz » de 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
Section de la recommandation : 7.30.10
Catégorie : 7.29 Propriétés relatives au mode d’écriture
Description
Pour afficher le numéro de la dernière page d’une séquence (<fo:page-sequence>), cet attribut précise quelle page est considérée comme la dernière. Il détermine si les pages blanches finales ajoutées par le formateur sont ignorées, ainsi que les pages produites par des Notes de bas de page (<fo:footnote>) ou des flottants (<fo:float>).
Valeurs
all | Le numéro de la toute dernière page est affiché. |
normal | Le numéro de la dernière page au contenu normal est affiché. Les pages produites par des notes de bas de page ou des flottants, ou ajoutées par le formateur, sont ignorées. |
non-blank | Le numéro de la dernière page contenant du contenu est affiché, y compris les pages produites par des notes de bas de page ou des flottants. Les pages ajoutées automatiquement par le formateur sont ignorées. |
Hérité : | oui |
Valeur par défaut : all
Version XSL-FO : 1.1
Autorisé dans :
Cet élément référence le numéro de la dernière page contenant une aire qui (a) est renvoyée par l’objet de mise en forme référencé et (b) possède une classe d’aire (area-class) compatible avec la stratégie de référence de pages définie. |
Prise en charge :
Niveau de conformité | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Étendu | O | N | - | N | N |
Exemple XSL-FO :
<fo:root font-family="Arial" font-size="10pt" line-height="1.2em" 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">
<fo:layout-master-set>
<fo:simple-page-master master-name="site">
<fo:region-body margin="10mm"/>
<fo:region-after extent="10mm"/>
</fo:simple-page-master>
<fo:simple-page-master master-name="index">
<fo:region-body margin="10mm" column-count="3"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="site" id="page-sequence-id" initial-page-number="1">
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align="center">
-
<fo:page-number/>
-
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body" id="flow-id">
<fo:block page-break-after="always">
<fo:block>
Seite 1
</fo:block>
<fo:table width="100%">
<fo:table-column width="70%"/>
<fo:table-column width="30%"/>
<fo:table-body>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="flow-id"
page-citation-strategy="non-blank"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="flow-id" page-citation-strategy="non-blank"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="flow-id"
page-citation-strategy="normal"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="flow-id" page-citation-strategy="normal"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="flow-id"
page-citation-strategy="all"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="flow-id" page-citation-strategy="all"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="page-sequence-id"
page-citation-strategy="normal"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="page-sequence-id" page-citation-strategy="normal"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="page-sequence-id"
page-citation-strategy="non-blank"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="page-sequence-id" page-citation-strategy="non-blank"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
<fo:table-row>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="page-sequence-id"
page-citation-strategy="all"/>
</fo:block>
</fo:table-cell>
<fo:table-cell>
<fo:block>
<fo:page-number-citation-last ref-id="page-sequence-id" page-citation-strategy="all"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:block>
<fo:block page-break-after="always">
Seite 2
<fo:footnote>
<fo:inline baseline-shift="70%" font-size="70%">
1
</fo:inline>
<fo:footnote-body>
<fo:block line-height="3em" font-size="18pt">
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
<fo:block>
Fußnote 1
</fo:block>
</fo:block>
</fo:footnote-body>
</fo:footnote>
</fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence master-reference="site" id="flow2" initial-page-number="auto-odd">
<fo:static-content flow-name="xsl-region-after">
<fo:block text-align="center">
-
<fo:page-number/>
-
</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block page-break-after="always">
Neues Kapitel
</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>Dans la sortie :
Page 2
Page 3
Page 4
Page 5
Extrait de la recommandation du W3C :