9.3 Form Definition
XFSFORM formname*
BEGIN
(required) UNIT base, Base resolution unit for form definition
MM
INCH
ROWCOLUMN
x, Horizontal base unit fraction
y Vertical base unit fraction
(required) SIZE width, Width of form
height Height of form
ALIGNMENT alignment, Alignment of the form on the physical medium:
TOPLEFT (default)
TOPRIGHT
BOTTOMLEFT
BOTTOMRIGHT
This option allows the positioning of a form onto a physical page relative to any combination of the edges of the physical medium, to support the variations in how devices sense the edge of page for positioning purposes.
xoffset, Horizontal offset relative to the horizontal alignment specified by alignment. Always specified as a positive value (i.e., if aligned to the right side of the medium, means offset the form to the left). (default = 0)
yoffset Vertical offset relative to the vertical alignment specified by alignment. Always specified as a positive value (i.e., if aligned to the bottom of the medium, means offset the form upward). (default = 0)
ORIENTATION type Orientation of form:

PORTRAIT (default)

LANDSCAPE

SKEW skewfactor Maximum skew factor in degrees (default = 0)
VERSION major, Major version number
minor, Minor version number
date*, Creation/modification date
author* Author of form
(required) LANGUAGE languageID Language used in this form – a 16 bit value (LANGID) which is a combination of a primary (10 bits) and a secondary (6 bits) language ID (This is the standard language ID in the Win32 API; standard macros support construction and decomposition of this composite ID)
COPYRIGHT copyright* Copyright entry
TITLE title* Title of form
COMMENT comment* Comment section
USERPROMPT prompt* Prompt string for user interaction
[ XFSFIELD fieldname* One field definition (as defined in the next section) for each field in the form
BEGIN
. . .
END ]
[ XFSFRAME framename* One frame definition (as defined in the next section) for each frame in the form
BEGIN
. . .
END ]
END