XSL-FO instream-foreign-objectObjets

XSL-FO 参考手册Manuel de référence XSL-FO

Définition et utilisation

L'objet <fo:instream-foreign-object> est utilisé pour des graphiques en ligne ou des objets de type « générique ». Les données de l'objet existent en tant que descendants de <fo:instream-foreign-object>. Généralement, elles sont stockées sous forme d'une sous-arborescence d'éléments XML dans un espace de noms non-XSL (un format courant est SVG).

La taille du contenu de cet objet est définie par l'attribut size de l'objet, et mise à l'échelle en spécifiant les attributs content-height, content-width et scaling.

Si le contenu devient trop grand après la mise à l'échelle, vous pouvez utiliser l'attribut overflow pour configurer des barres de défilement afin d'afficher les parties débordantes.


Syntaxe

<fo:instream-foreign-object>
<!--
Contenu : (voir ci-dessous)
-->
</fo:instream-foreign-object>

Cet objet possède un élément enfant provenant d'un espace de noms non-XSL. Il peut également contenir des attributs supplémentaires provenant d'un espace de noms non-XSL.

Attributes

Attributs [A-J] Attributs [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
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 rôle
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 参考手册Manuel de référence XSL-FO Autres extensions