XSL-FO leader 對(duì)象

2018-02-23 10:15 更新

XSL-FO leader 對(duì)象

XSL-FO 參考手冊(cè) XSL-FO 參考手冊(cè)

定義和用法

<fo:leader> 對(duì)象的作用如下:

  • 生成 "." 符號(hào)來(lái)分隔內(nèi)容表格中頁(yè)面數(shù)字的標(biāo)題
  • 創(chuàng)建表單中的輸入字段
  • 創(chuàng)建水平規(guī)則

如果前導(dǎo)字符長(zhǎng)度太長(zhǎng),與整個(gè)區(qū)域明顯不適應(yīng),那么它將會(huì)另起一行。

只用在 leader-pattern 屬性設(shè)置為 "use-content" 的情況下,<fo:leader> 對(duì)象的子類才不會(huì)被忽略;如果 <fo:leader> 不包含子類,并且 leader-pattern 屬性設(shè)置為 "use-content",那么前導(dǎo)字符會(huì)被填充為空白。

如果前導(dǎo)字符需要在一行中填充所有的空格,那么前導(dǎo)字符的最大長(zhǎng)度至少與列的寬度相同。


語(yǔ)法

<fo:leader>
<!--
Contents:(#PCDATA|bidi-override|character|
external-graphic|instream-foreign-object|
inline|page-number|page-number-citation|
basic-link|multi-toggle)*
-->
</fo:leader>

屬性

屬性 [A-K] 屬性 [L-Z]
azimuth leader-alignment
alignment-adjust leader-length
alignment-baseline leader-pattern
background-attachment leader-pattern-width
background-color left
background-image letter-spacing
background-repeat line-height
background-position-horizontal margin-bottom
background-position-vertical margin-left
baseline-shift margin-right
border-after-color margin-top
border-after-style padding-after
border-after-width padding-before
border-before-color padding-bottom
border-before-style padding-end
border-before-width padding-left
border-bottom-color padding-right
border-bottom-style padding-start
border-bottom-width padding-top
border-end-color pause-after
border-end-style pause-before
border-end-width pitch
border-left-color pitch-range
border-left-style play-during
border-left-width relative-position
border-right-color richness
border-right-style right
border-right-width role
border-start-color rule-style
border-start-style rule-thickness
border-start-width source-document
border-top-color space-end
border-top-style space-start
border-top-width speak
bottom speak-header
color speak-numeral
cue-after speak-punctuation
cue-before speech-rate
dominant-baseline stress
elevation text-altitude
font-family text-depth
font-selection-strategy text-shadow
font-size top
font-size-adjust visibility
font-stretch voice-family
font-style volume
font-variant word-spacing
font-weight  
id  
keep-with-next  
keep-with-previous  


XSL-FO 參考手冊(cè) XSL-FO 參考手冊(cè)
以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)