XFA Specification
Chapter 2, Template Features for Designing Static Forms
Basic Layout
51
The relationship between the nominal extent,
borders, margins, captions, and content is
shown at right.The Nominal Content Region is
the rectangular area left over after a
container's margins have been applied to its
nominal extent. This is the space normally
reserved for display of and interaction with the
container object's content. Note that the
caption may occupy part of the nominal
content region.
The rules governing width and height for each
type of layout object are given below:
border
inset
right
margin
border
inset
content
bottom
margin
caption region
caption
margin
left
border
margin
inset
nominal extent
Relationship between nominal extent and
borders, margins, captions, and content
Area
An
area
element represents a grouping of related objects. Area objects grow to the minimum size
required to hold the nominal extents of all the layout objects they contain. Area objects do not have
margins or borders of their own.
Barcode
There are two types of barcodes, one-dimensional and two-dimensional.
For some one-dimensional barcodes the width is fixed by the barcode standard. For others the width
varies with the number of symbols in the data and the presence or absence of check symbol(s). In addition
for some one-dimensional barcodes the width of a symbol is adjustable.
For some one-dimensional barcodes the height is fixed by the standard. For others the height is
adjustable.
For two-dimensional barcodes the width varies with the number of columns and the cell size. The height
varies with the number of symbols in the data, the presence or absence of check symbol(s), and the cell
size.
Note that barcode standards often dictate a margin around the barcode as well. The barcode size as
computed by the layout processor does
not
include any such mandated margin. It is up the creator of the
template to set the appropriate margin in the container. Hence the form creator can “cheat” as desired.
border
inset
top
margin
Home Index Bookmark Pages
Pages: Home Index All Pages