XFA Specification
Chapter 15, Template Specification
Template Reference
550
width
The image shall be scaled proportionally such that its width maps to the width of the container's
nominal content region. The rendered image may not occupy the entire height of the nominal
content region, or it may overflow the height.
height
The image shall be scaled proportionally such that its height maps to the height of the container's
nominal content region. The rendered image may not occupy the entire width of the nominal
content region, or it may overflow the width.
The contentType property
The MIME-type of content in the referenced document. Please see [RFC2046] for more information.
A suitable value must be supplied for this property. However, the application is free to override the
supplied value if upon examining the image data it determines that the image data is of a different type.
The href property
Specifies a reference to an external image.
The
transferEncoding property
does not apply to external images.
The set of supported URI schemes (e.g.,
http:
,
ftp:
) is implementation-defined.
The id property
A unique identifier that may be used to identify this element as a target.
The name property
An identifier that may be used to identify this element in script expressions.
The transferEncoding property
The encoding of binary content in the referenced document.
none
The referenced document is not encoded. If the referenced document is specified via a URI then it
will be transferred as a byte stream. If the referenced document is inline it must conform to the
restrictions on PCDATA.
base64
The binary content is encoded in accordance with the base64 transfer encoding s specified in
[RFC2045].
The use property
Invokes another object in the same document as a prototype for this object. The content of this property is
either a SOM expression (which cannot start with '#') or a '#' character followed by an XML ID.
Starting with XFA 2.4 the object used as a prototype no longer needs to be the child of
proto
. Any object
of the appropriate class can be used as a prototype.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
Home Index Bookmark Pages
Pages: Home Index All Pages