Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

XSL-FO instream-foreign-object Object

XSL-FO instream-foreign-object Object

XSL-FO Reference Manual XSL-FO Reference Manual


Definition and Usage

fo:instream-foreign-object The object is used for inline graphics or "generic" class objects, in which the object's data exists as fo:instream-foreign-object descendants. Typically, it is stored internally as a subtree of XML elements in a non-XSL namespace (a common format is SVG).

The size of the object's content is defined by calling the object's size property, and the size is scaled by specifying the content-height, content-width, and scaling properties.

If the content is too large after scaling, you can use the overflow property to set a scrollbar to browse the overflow.


Syntax

fo:instream-foreign-object

The object has a subclass from a non-XSL namespace. It may also contain additional attributes from a non-XSL namespace.

property

Properties [A-J] Properties [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 Reference Manual XSL-FO Reference Manual