XSL-FO 入门教程 XSL-FO external-graphic 对象

2024-02-26 开发教程 XSL-FO 入门教程 匿名 0

XSL-FO external-graphic 对象


定义和用法

<fo:external-graphic> 对象用于图像数据位于 <fo:element> 树之外的某个图形。

<fo:external-graphic> 可能被放置在一个封闭的块级 <fo:block>。

"max-height" 或 "line-height" 的 "line-stacking-strategy" 通常被用于堆叠 <fo:external-graphic> 内容的一个或多个行。

提示:<fo:external-graphic> 元素在缺省情况下不会引起换行。如果您希望图形单独出现,请将 <fo:external-graphic> 放置在 <fo:block> 中。


语法

<fo:external-graphic>
<!--
Contents:EMPTY
-->
</fo:external-graphic>

属性

属性 [A-J]属性 [K-Z]
alignment-adjustkeep-with-next
alignment-baselinekeep-with-previous
azimuthlanguage
background-attachmentleft
background-colorline-height
background-imagemargin-bottom
background-repeatmargin-left
background-position-horizontalmargin-right
background-position-verticalmargin-top
baseline-shiftoverflow
block-progression-dimensionpadding-after
border-after-colorpadding-before
border-after-stylepadding-bottom
border-after-widthpadding-end
border-before-colorpadding-left
border-before-stylepadding-right
border-before-widthpadding-start
border-bottom-colorpadding-top
border-bottom-stylepause-after
border-bottom-widthpause-before
border-end-colorpitch
border-end-stylepitch-range
border-end-widthplay-during
border-left-colorrelative-position
border-left-stylerichness
border-left-widthright
border-right-colorrole
border-right-stylescaling
border-right-widthscaling-method
border-start-colorscript
border-start-stylesource-document
border-start-widthspace-end
border-top-colorspace-start
border-top-stylespeak
border-top-widthspeak-header
bottomspeak-numeral
clipspeak-punctuation
content-heightspeech-rate
content-typesrc
content-widthstress
countrytext-align
cue-aftertext-indent
cue-beforetop
display-alignvoice-family
dominant-baselinevolume
elevationwidth
height
id
inline-progression-dimension