XSL-FO instream-foreign-objectObjeto

XSL-FO 参考手册Manual de referencia de XSL-FO

Definición y uso

El objeto <fo:instream-foreign-object> se usa para gráficos en línea u objetos de tipo "genérico". En él, los datos del objeto existen como descendientes de <fo:instream-foreign-object>. Normalmente, se almacenan en su interior como un subárbol de elementos XML en un espacio de nombres que no es XSL (un formato común es SVG).

El tamaño del contenido de este objeto se define mediante la propiedad size del objeto, y se escala especificando las propiedades content-height, content-width y scaling.

Si después de ampliar el tamaño el contenido resulta demasiado grande, se puede utilizar la propiedad overflow para configurar barras de desplazamiento y navegar por la parte que se desborda.


Sintaxis

<fo:instream-foreign-object>
<!--
Contents:(see below)
-->
</fo:instream-foreign-object>

Este objeto tiene una subclase proveniente de un espacio de nombres que no es XSL. También puede contener atributos adicionales de espacios de nombres que no son XSL.

Atributos

Atributos [A-J] Atributos [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 参考手册Manual de referencia de XSL-FO Otras extensiones