XSL-FO instream-foreign-objectОбъекты

XSL-FO 参考手册Справочное руководство по XSL-FO

Определение и использование

Объект <fo:instream-foreign-object> используется для встроенной графики или объектов "generic" типа. Данные объекта существуют как потомки <fo:instream-foreign-object>. Обычно они хранятся в виде поддерева XML-элементов в пространстве имен, отличном от XSL (распространенный формат — SVG).

Размер содержимого этого объекта определяется атрибутом size объекта и масштабируется путем указания атрибутов content-height, content-width и scaling.

Если после масштабирования содержимое становится слишком большим, можно использовать атрибут overflow для настройки полос прокрутки для просмотра выходящих за границы частей.


Синтаксис

<fo:instream-foreign-object>
<!--
Содержимое: (см. ниже)
-->
</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 Другие расширения