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

01.01.2013 Views

ADF ( 4 ) (AT&T UNIX PC only ) ADF ( 4} The TABLEDEF data type has the following format: TABLEDEF { COORDINATES GLOBALWIDTH GLOBALFORMAT . GLOBALDECMLS � GLOBALLOCK FORMULA TYPE WIDTH WIDTH } All tokens following the TABLEDEF keyword, except the WIDTH token, must be specified exactly once. There are no required tokens. The COORDINATES token specifies the location of the upper left corner of the table being moved or copied relative to the (perhaps larger) table from which it was moved or copied. The GLOBALWIDTH token specifies the default width of each cell of the table. The available formats are the same as those discussed in the section on the VALUE data type. The GLOBAL­ DECMLS token specifies the default number of decimal places. The GLOBALLOCK token is used to specify the default lock status of each cell of the table. If this token is not present, it is assumed that cells are not locked. The FORMULATYPE token specifies the syntax of the formula text. Possible values for this token are Lotus, Multiplan, and Supercomp20. The WIDTH token is used to make a column have a different width than the default width. The column number is a relative column number and is 0 based so that WIDTH 0 7 means that the first column of the table has a width of 7. The following is an example of a TABLEDEF data type: TABLEDEF 7 7 { COORDINATES 0 0 GLOBAL WIDTH 8 GLOBALDECMLS O FORMULASTYLE Lotus WIDTH 1 11 WIDTH 5 9 } The TABLE keyword is used to introduce a rectangular array of data items in the previously defined table format. The number of data items is the same as the number of columns times the number or rows in the table. Numeric data items can be entered without their keywords, but other data items (text in particular) - 10 -

ADF ( 4) (AT&T UNIX PC only ) ADF (4) must include their keywords. Coordinates can be included with both numeric and text data items to output a sparce matrix. The matching end brace terminates the table. The following is a sample table: TABLE { TEXT \EOT\ LABEL 1 1 { LABELORIGIN 1 TEXT Year\EOT\ } 25 32 17 74 FLOAT 6 1 { NAME pi\EOT\ LOCK INVISIBLE FORMAT Scientific DECIMALS 4 3.1415975 } FORMULA 71 { TEXT SUM(E4 + D5)\EOT\ FORMAT Financial DECIMALS 0 1266.666654 } The GROUP keyword introduces a collection of graphic entities (OBJECTs and LABELs). It is used as follows: GROUP { OBJECT . . . { } LABEL . .. { } } The matching end brace terminates the group. Formatting Data Types The data types in this section are used to specify general formatting characteristics of text. The following formatting data types are defined: - 11 -

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

must include their keywords. Coordinates can be included with<br />

both numeric and text data items to output a sparce matrix. The<br />

matching end brace terminates the table.<br />

The following is a sample table:<br />

TABLE {<br />

TEXT \EOT\<br />

LABEL 1 1 {<br />

LABELORIGIN 1<br />

TEXT<br />

Year\EOT\<br />

}<br />

25 32 17 74<br />

FLOAT 6 1 {<br />

NAME pi\EOT\<br />

LOCK<br />

INVISIBLE<br />

FORMAT Scientific<br />

DECIMALS 4<br />

3.1415975<br />

}<br />

FORMULA 71 {<br />

TEXT SUM(E4 + D5)\EOT\<br />

FORMAT Financial<br />

DECIMALS 0<br />

1266.666654<br />

}<br />

The GROUP keyword introduces a collection of graphic entities<br />

(OBJECTs and LABELs). It is used as follows:<br />

GROUP {<br />

OBJECT . . . {<br />

}<br />

LABEL . .. {<br />

}<br />

}<br />

The matching end brace terminates the group.<br />

Formatting Data Types<br />

The data types in this section are used to specify general formatting<br />

characteristics of text. The following formatting data types<br />

are defined:<br />

- 11 -

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

Saved successfully!

Ooh no, something went wrong!