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-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 リファレンスマニュアル その他の拡張