XFA Specification
Chapter 15, Template Specification
Template Reference
477
The relevant property
Specifies the views for which the enclosing object is relevant. The views themselves are specified in the
config object.
Views are supplied as a space-separated list of viewnames:
relevant="[+|-]viewname
[[+|-]viewname [...]]"
. A token of the form viewname indicates the enclosing element should be
included in that particular view. A token of the form
[+]viewname
indicates the element should be
included in that particular view. A token of the form
-viewname
indicates the element should be
excluded from that particular view.
If a container is excluded, it is not considered in the data binding process.
See also
Concealing Containers Depending on View
and
Config Specification.
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.
The usehref property
Invokes an external object as a prototype for this object. The content of this property is an URL, followed
by '#', followed by either an XML ID or by som(SOM_expr) where
SOM_expr
represents a SOM expression.
The XML ID or SOM expression is resolved in the context of the external document.
If both
use
and
usehref
are non-empty
usehref
takes precedence.
The w property
Width for layout purposes. A
measurement
value for
w
overrides any growth range allowed by the
minW
and
maxW
attributes. The
absolute omission
of this attribute or a value specified as an empty string
indicates that the
minW
and
maxW
must be respected.
This attribute has no default. Setting this attribute to "-1" is an error.
The x property
X coordinate of the container's
anchor point
relative to the top-left corner of the parent container's
nominal content region
when placed with
positioned
layout. Defaults to 0.
The y property
Y coordinate of the container's
anchor point
relative to the top-left corner of the parent container's
nominal content region
when placed with
positioned
layout. Defaults to 0.
Home Index Bookmark Pages
Pages: Home Index All Pages