网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: XSL-FO :: XSL-FO multi-properties 对象

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

XSL-FO multi-properties 对象


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-29 浏览:517 :: ::

Definition and Usage
定义和用法

The <fo:multi-properties> object is used to switch between two or more property-sets.
<fo:multi-properties>对象的作用是:在两个或多个属性组之间进行转换。

This object can be used to give a different layout to a portion of content. For example, when a link changes from unvisited to visited, the layout could change (this is done by changing the property-set).
这个对象可以用来给内容的部分指定一个层。举个例子来说,当连接改变了,并且可以访问了,那么这个层也会改变(可以通过改变属性组来实现)。

Note: Be careful in changing properties that causes reflowing of the text. Properties like "color" or "text-decoration" does not reflow the text.
注意:在改变属性时,要特别注意,特别是该属性会导致文本回流(重置)的时候。然而,像"color" 或者 "text-decoration" 属性都不会回流(重置)文本。


Syntax
语法

<fo:multi-properties>
  <!--
	Contents:(multi-property-set+,wrapper)
  -->
</fo:multi-properties>

Properties
属性

属性
id
role
source-document

评论 (0) All