XSL-FO instream-foreign-object 对象
 XSL-FO 参考手册
 XSL-FO 参考手册
定义和用法
<fo:instream-foreign-object> 对象用于内联图形或 "generic" 类对象。在其中,对象的数据以 <fo:instream-foreign-object> 的后代形式存在。通常情况下,是作为一个非 XSL 命名空间中的 XML 元素子树(一个常见的格式是 SVG)存储于其内部。
该对象的内容尺寸大小是通过调用对象的 size 属性来定义的,并通过指定 content-height、content-width 以及 scaling 属性来缩放尺寸大小。
如果尺寸放大后内容太大了,那么可以使用 overflow 属性来设置滚动条对溢出部分进行浏览。
语法
<fo:instream-foreign-object>
<!--
Contents:(see below)
-->
</fo:instream-foreign-object>
<!--
Contents:(see below)
-->
</fo:instream-foreign-object>
该对象有一个来自于非 XSL 命名空间的子类。它也可能包含非 XSL 命名空间的额外属性。
属性
| 属性 [A-J] | 属性 [K-Z] | 
|---|---|
| alignment-adjust | keep-with-next | 
| alignment-baseline | keep-with-previous | 
| azimuth | language | 
| background-attachment | left | 
| background-color | line-height | 
| background-image | margin-bottom | 
| background-repeat | margin-left | 
| background-position-horizontal | margin-right | 
| background-position-vertical | margin-top | 
| baseline-shift | overflow | 
| block-progression-dimension | 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 | scaling | 
| border-right-width | scaling-method | 
| border-start-color | script | 
| border-start-style | source-document | 
| border-start-width | space-end | 
| border-top-color | space-start | 
| border-top-style | speak | 
| border-top-width | speak-header | 
| bottom | speak-numeral | 
| clip | speak-punctuation | 
| content-height | speech-rate | 
| content-type | stress | 
| content-width | text-align | 
| country | text-indent | 
| cue-after | top | 
| cue-before | voice-family | 
| display-align | volume | 
| dominant-baseline | width | 
| elevation | |
| height | |
| id | |
| inline-progression-dimension | 
 XSL-FO 参考手册
 XSL-FO 参考手册			
						
			