HOST FORMS DESCRIPTION LANGUAGE
Figure 2–3 shows the location of the form origin of the virtual
page in relation to the actual page size.
Figure 2–3. Form origin location
LANDSCAPE FORM ORIGIN
LANDSCAPE PAGE
PORTRAIT FORM ORIGIN
VIRTUAL PAGE (USER DEFINED)
DEFAULT SIZE= ACTUAL PAPER SIZE
(PHYSICAL PAGE)
PORTRAIT PAGE
FORM ORIGIN OFFSET FROM
VIRTUAL PAGE
FORM ORIGIN OFFSET FROM VIRTUAL PAGE
Positioning form elements
You can place the following elements on a form with HFDL:
• Boxes
• Fixed text
• Images
• Lines
• Logos and signatures
• Sections.
You locate an element by determining the horizontal (
x
) and
vertical (
y
) distance from the upper–left corner (origin) of the
form. These coordinates (
x
,
y
) comprise the origin of the
document. The form origin (upper left corner of the page) is
always (0,0).
Form element Element origin
Vertical ruled line Top of the line at the midpoint of the
thickness of the line.
Horizontal ruled line Left end of the line at the midpoint
of the thickness of the line.
Box (outlined) Upper–left corner of the box at the
midpoint of the thickness of the
outline.
Box (shaded) Upper–left corner of the box.
2–4 HOST FORMS DESCRIPTION LANGUAGE 3.2 FOR IBM MVS CREATING FORMS