当前位置: 首页 > 网络学院 > XML相关教程 > XSL-FO > XSL-FO leader 对象
The <fo:leader> object can be used used to:
<fo:leader>对象的作用如下:
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.
如果前导字符需要在一行中填充空格,那么前导字符的最大长度至少与列的宽度相同。
<fo:leader> <!-- Contents:(#PCDATA|bidi-override|character| external-graphic|instream-foreign-object| inline|page-number|page-number-citation| basic-link|multi-toggle)* --> </fo:leader> |