如何显示当前的页码?你可以使用 page-number 对象。
<fo:page-number> 对象用于表示当前页码。
<fo:page-number>
<!--
Contents:EMPTY
-->
</fo:page-number>
属性 [A-J] | 属性 [K-Z] |
---|---|
azimuth | keep-with-next |
alignment-adjust | keep-with-previous |
alignment-baseline | left |
background-attachment | letter-spacing |
background-color | line-height |
background-image | margin-bottom |
background-repeat | margin-left |
background-position-horizontal | margin-right |
background-position-vertical | margin-top |
baseline-shift | padding-after |
border-after-color | padding-before |
border-after-style | padding-bottom |
border-after-width | padding-end |
border-before-color | padding-left |
border-before-style | padding-right |
border-before-width | padding-start |
border-bottom-color | padding-top |
border-bottom-style | pause-after |
border-bottom-width | pause-before |
border-end-color | pitch |
border-end-style | pitch-range |
border-end-width | play-during |
border-left-color | relative-position |
border-left-style | richness |
border-left-width | right |
border-right-color | role |
border-right-style | score-spaces |
border-right-width | source-document |
border-start-color | space-end |
border-start-style | space-start |
border-start-width | speak |
border-top-color | speak-header |
border-top-style | speak-numeral |
border-top-width | speak-punctuation |
bottom | speech-rate |
cue-after | stress |
cue-before | text-altitude |
dominant-baseline | text-decoration |
elevation | text-depth |
font-family | text-shadow |
font-selection-strategy | text-transform |
font-size | top |
font-size-adjust | visibility |
font-stretch | voice-family |
font-style | volume |
font-variant | word-spacing |
font-weight | wrap-option |
id |