II. DATAformTags
Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de
39
{7-10} *xXyY Coordinates
{7}
*x
Box position left
{8}
*X
Box position right
{9}
*y
Box position top
{10}
*Y
Box position bottom
These four Tags define the position and size of an object.
Null point
The null point of the page is independent of the QuarkXPress ruler and page margin settings. It
is, when starting the programme, the top left hand corner of the page.
For importing objects the null point can be shifted by the Tags {61-62} *x>y> => Null point,
see page: 75.
When exporting an object into a text with DATAformTags the object position will always be
shown in relation to the pages null points (top left corner).
Accuracy
The information is given in points, with a maximum of three possible decimal places in Quark-
XPress. Extra decimal places are rounded up/down upon import. Up to 5 it is rounded down.
From 6 on it is rounded up.
¶*T3*x0*X100.5557*$Test¶
creates a box, which is 100.556 points wide. Upon exporting this box the value given in Quark-
XPress, 100.556, is used.
Information in the QuarkXPress dialogues
The measurement information given in the QuarkXPress dialogues relates to the ruler null
point. The values of the DATAformTags are only shown in the dialogues if the ruler null point
is set to the page null point. The ruler null point can be reset to the page null point, by clicking
on the ruler´s intersection at top left.
To compare the position details of an imported text with DATAformTags, with the details in
the QuarkXPress dialogues, the offset of the import null point must be taken into consideration
and added to the position Tags. (See under {61} *x> Offset > right and {62} *y> Offset > bot-
tom, page: 75)
The width of a box given in the QuarkXPress dialogue is calculated with right minus left value,
the height with bottom minus top value:
Box width
= {8}*X - {7}*x
Box height
= {10}*Y - {9}*y
For the positioning of lines, the following applies:
{7}
*x
left-upper endpoint from the top
{9}
*y
left-upper endpoint from the left
{8}
*X
right-bottom endpoint from the top
{10} *Y
right-bottom endpoint from the left
Positioning on the pasteboard objects touch no pages
Objects can be placed on the pasteboard, left, top and bottom (but not right). They are placed
on the pasteboard of the page specified in *p.
Objects whose coordinates are on the right pasteboard are placed inside the page.
¶*T3*x-300*X-200*p33*$Pasteboard left¶
creates a text box on the left of page 33.