codecamp

XSL-FO page-number 对象

XSL-FO page-number 对象

XSL-FO 参考手册 XSL-FO 参考手册

如何显示当前的页码?你可以使用 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  


XSL-FO 参考手册 XSL-FO 参考手册
XSL-FO multi-toggle 对象
XSL-FO page-number-citation 对象
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录
XSL-FO 参考手册

XSL-FO 对象列表

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }