XFA Specification
Chapter 2, Template Features for Designing Static Forms
Basic Layout
52
ContentArea Layout Object
A
contentArea
element represents a physical region of a
pageArea
into which content may be placed.
The size of a
contentArea
is fixed, hence the
w
and
h
attributes are mandatory.
Geometric Figure
Geometric figures supported by XFA include straight lines,
arcs, and rectangles. Arcs and rectangles can be filled. These
figures are inherently scalable in the sense that the figure
grows or shrinks to fit the content region of the container.
However line width does not change with the figure size.
The figure at right shows a straight line layout object within
its container.
top margin
left
margin
right
margin
line
bottom margin
Line object and its container
Images
Depending upon the value of the
aspect
property an image may keep its original dimensions, it may
grow or shrink in both dimensions while retaining its original aspect ratio, or it may grow or shrink
independently in each dimension to fill the container. In all but the last case it may display outside the
nominal extent. Some image formats do not specify a physical size, only horizontal and vertical pixel
counts; in such cases the application assumes a pixel size to arrive at a natural width and height. The
assumed pixel size is application-dependent and may vary with the graphic file type and/or display or
print device. The following figure shows an example of resizing an image in a container using different
aspect
settings.
Home Index Bookmark Pages
Pages: Home Index All Pages