当前位置: 首页 > 网络学院 > XML相关教程 > XSL-FO > XSL-FO leader 对象

XSL-FO
XSL-FO 介绍
XSL-FO 文档
XSL-FO 区域
XSL-FO 输出
XSL-FO 流程
XSL-FO 页面
XSL-FO 块状区域
XSL-FO 列表
XSL-FO 表格
XSL-FO 和 XSLT
XSL-FO 软件
XSL-FO 参考资料

XSL-FO leader 对象


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 211 ::
收藏到网摘: n/a

Definition and Usage
定义和用法

The <fo:leader> object can be used used to:
<fo:leader>对象的作用如下:

  • generate "." to separate titles from page numbers in table of contents
    产生一个“.”符号来分隔内容表格中页面数字的标题。
  • create input fields in forms
    创建字段输入表单
  • create horizontal rules
    创建水平规则

If the leader's length is too long to fit in the area, the leader will begin a new line.
如果前导字符长度太长,与整个区域明显不适应,那么它将会令起一行。

The children of the <fo:leader> object are ignored unless the leader-pattern property is "use-content". If the <fo:leader> has no children and the leader-pattern property is "use-content", the leader is filled with blank space.
只用在leader-pattern属性设置为“use-content”的情况下,<fo:leader>对象的子类才会被忽略;如果<fo:leader>不包含子类,并且leader-pattern属性设置为“use-content”,那么前导字符才会被填充为空白。

If the leader should fill all space on a line, the max length of the leader should be at least as large as the width of the column.
如果前导字符需要在一行中填充空格,那么前导字符的最大长度至少与列的宽度相同。


Syntax
语法

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

Properties
属性

属性[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  

评论 (0) All

登陆 | 还没注册?