XSL-FO 入门教程 XSL-FO page-number 对象

2024-02-26 开发教程 XSL-FO 入门教程 匿名 0

XSL-FO page-number 对象

如何显示当前的页码?你可以使用 page-number 对象。


定义和用法

<fo:page-number> 对象用于表示当前页码。


语法

<fo:page-number>
<!--
Contents:EMPTY
-->
</fo:page-number>

属性

属性 [A-J]属性 [K-Z]
azimuthkeep-with-next
alignment-adjustkeep-with-previous
alignment-baselineleft
background-attachmentletter-spacing
background-colorline-height
background-imagemargin-bottom
background-repeatmargin-left
background-position-horizontalmargin-right
background-position-verticalmargin-top
baseline-shiftpadding-after
border-after-colorpadding-before
border-after-stylepadding-bottom
border-after-widthpadding-end
border-before-colorpadding-left
border-before-stylepadding-right
border-before-widthpadding-start
border-bottom-colorpadding-top
border-bottom-stylepause-after
border-bottom-widthpause-before
border-end-colorpitch
border-end-stylepitch-range
border-end-widthplay-during
border-left-colorrelative-position
border-left-stylerichness
border-left-widthright
border-right-colorrole
border-right-stylescore-spaces
border-right-widthsource-document
border-start-colorspace-end
border-start-stylespace-start
border-start-widthspeak
border-top-colorspeak-header
border-top-stylespeak-numeral
border-top-widthspeak-punctuation
bottomspeech-rate
cue-afterstress
cue-beforetext-altitude
dominant-baselinetext-decoration
elevationtext-depth
font-familytext-shadow
font-selection-strategytext-transform
font-sizetop
font-size-adjustvisibility
font-stretchvoice-family
font-stylevolume
font-variantword-spacing
font-weightwrap-option
id