01.01.2013 Views

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ADF ( 4 ) (AT&T UNIX PC only ) ADF ( 4)<br />

The OBJECT data type has the following format:<br />

OBJECT { DRAWINGMODE<br />

LINETYPE<br />

MOVE<br />

DRAW<br />

RECTANGLE<br />

POLYGON<br />

LABELORIGIN<br />

CSIZE<br />

FONT<br />

COLOR<br />

STYLE<br />

TEXT<br />

}<br />

<br />

<br />

<br />

<br />

<br />

<br />

...<br />

<br />

<br />

<br />

<br />

<br />

<br />

\EOT\<br />

The OBJECT data type can (and typically does) contain multiple<br />

instances of the above tokens. A single OBJECT, like a bar chart<br />

or a pie chart, will contain lots of lines, rectangles, polygons, and<br />

text fragments. The matching end brace terminates the object<br />

definition.<br />

The tokens that set attributes (e.g. DRAWINGMODE or FONT)<br />

affect subsequently defined tokens until overridden by another<br />

instance of the attribute setting token. If all of the text in a given<br />

object is of the same COLOR, for example, the color only needs to<br />

be specified once.<br />

Coordinates are again floating point numbers in the range Q-100.<br />

X scale and y scale are the scaling factors in the x and y dimensions<br />

for the object (floating point numbers in the range 0-1). X<br />

translation and y translation are offsets from (0,0) for the object,<br />

also in the range Q-100.<br />

Ve ctor drawing mode and line drawing pattern are small positive<br />

integers. Pattern (in RECTANGLE and POLYGON) is an integer<br />

for the fill pattern, and n (in POLYGON) is the number of vertices<br />

of the polygon.<br />

Spreadsheet Data Types<br />

The basic spreadsheet data types are TEXTs, LABELs, VALUEs,<br />

and FORMULAs. The TEXT data type is a watered down version<br />

of the text data type previously described. The LABEL data<br />

type is a spreadsheet incarnation of the LABEL data type previously<br />

described. The VALUE data type is a spreadsheet version<br />

of the FLOAT data type. The FORMULA data type has all of<br />

the attributes of the FLOAT data type, but in addition it has the<br />

text of a formula as one of its attributes.<br />

The TEXT data type has the following format:<br />

TEXT \EOT\<br />

- 6-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!