自强学堂
自强学堂:学习、分享、让你更强!
XSL-FO 教程HTMLCSSJAVASCRIPTJQUERYSQLPHPBOOTSTRAPANGULARXML
 

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>

该对象有一个来自于非 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-imagemargin-bottom
background-repeatmargin-left
background-position-horizontalmargin-right
background-position-verticalmargin-top
baseline-shiftoverflow
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-widthspace-end
border-top-colorspace-start
border-top-stylespeak
border-top-widthspeak-header
bottomspeak-numeral
clipspeak-punctuation
content-heightspeech-rate
content-typestress
content-widthtext-align
country text-indent
cue-after top
cue-before voice-family
display-alignvolume
dominant-baselinewidth
elevation
height
id
inline-progression-dimension


XSL-FO 参考手册 XSL-FO 参考手册