XFA Specification
Chapter 25, Rich Text Reference
Embedded Object Specifications
951
Embedded Object Specifications
The
span
elements within rich text may contain attributes that reference external plain-text or rich-text
objects. Such external references are resolved during the rendering process and the referenced data is
inserted at the point where the external reference appears.
See “Rich Text That Contains External Objects”
on page 191.
<span
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"
xfa:embedType="uri
| som"
xfa:embed=”<SOM
expr> | <uri>”
xfa:embedMode=”raw
| formatted”
/>
xfa:embedType
An attribute that specifies the type of reference in
xfa:embed
.
som
The value of
xfa:embed
is a SOM expression.
uri
The value of
xfa:embed
is a URI.
xfa:embed
An attribute that provides a SOM or URI reference to the text being embedded.
xfa:embedMode
An attribute that specifes whether styling markup specification in the imported text should be respected.
formatted
Inserts the object with text styling preserved.
raw
Inserts the object, ignoring text styling.
Version Specification
In the HTML
body
element, the XFA grammar defines several attributes that specify the version of rich text
supported and the version of the API used to produce the rich text.
For example:
<body xfa:APIVersion="1.3.1253.0"
xfa:spec="2.0.2"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
<p>This is a paragraph of text.</p>
</body>
Home Index Bookmark Pages
Pages: Home Index All Pages