II. DATAformTags
Developer handbook DATAformXTension © 1992-2004 www.gassenhuber.de
30
must be off in the Get Text dialogue.
Names in the 4D interface
If names are transferred directly to the DX_Array line, inch signs are created with char(34).
DX_Array{25}:=char(34)+"Red"+char(34) sets the box background red.
Percentages
Percentages are given as decimal values. 100% equals 1. *b0.15 sets the shade of the box
colour to 15%.
8) Validity
DATAformTags are applied in general. The Tags *x and *X for positions are used for text and
picture boxes as well as for lines; Line properties are used for lines as well as for the frame
style of text or picture boxes etc.
9) Missing Tags
Missing Tags are tolerated.
The following line creates two boxes, the second object description exists only of
¶*T3*$¶
and contains the minimum information required:
¶*#2*T3*x200*X300*y100*Y150*$My box¶*T3*$¶
10) Version identification
Upon export, DATAformXTension creates the header DfXT+2.0 before the first object.
The header is also set by the DATAform 4d interface.
In order to retain compatibility of archived text with DATAformTags with future versions of
XTension, the DATAformTag file should always start with this header.
11) Visual organization
To enhance the optical arrangement of a DATAformTags text you may enter carriage returns
after a *. But not after a ¶, because the * must succeed the ¶. Cf. point 2) and 4). Carriage
returns after a * are tolerated however. Example:
¶*T3*x20*X120*$A box with ¶¶¶ in the text.¶*
T3*x140*X240*$A second box ¶*
T3*x260*X360*$A third box ¶
The text generates one box per line.