O'Reilly logo

DocBook 5: The Definitive Guide by Richard L. Hamilton, Norman Walsh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

imagedata — An SVG drawing in a media object

Synopsis

imagedata (db.imagedata.svg) ::= (infodb.titleforbidden.info, svg:*+)

Attribute synopsis

Common attributes.

Additional attributes:

  • align (enumeration) = “center” | “char” | “justify” | “left” | “right”

  • contentdepth

  • contentwidth

  • depth

  • format (enumeration) = “svg”

  • scale (positiveInteger)

  • scalefit (enumeration) = “0” | “1”

  • valign (enumeration) = “bottom” | “middle” | “top”

  • width

Description

This element contains one or more SVG elements.

Processing expectations

Render the image. May be formatted inline or as a displayed block, depending on context.

See imagedata for more details about the processing expectations.

Attributes

Common attributes.

align

Specifies the (horizontal) alignment of the image data

Enumerated values:
“center”

Centered horizontally

“char”

Aligned horizontally on the specified character

“justify”

Fully justified (left and right margins or edges)

“left”

Left aligned

“right”

Right aligned

contentdepth

Specifies the depth of the content rectangle

contentwidth

Specifies the width of the content rectangle

depth

Specifies the depth of the element

format

Specifies that the format of the data is SVG

Enumerated values:
“svg”

Specifies SVG

scale

Specifies the scaling factor

scalefit

Determines if anamorphic scaling is forbidden

Enumerated values:
“0”

False (do not scale to fit; anamorphic scaling may occur)

“1”

True (scale to fit; anamorphic scaling is forbidden)

valign

Specifies the vertical alignment of the image data

Enumerated values:
“bottom”

Aligned on the bottom of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required