Tables
Tab(Xpos,Ypos:number;Htabs:list;Vspace:number):tableHandle; |
Function TAB defines a table. XPOS,YPOS specify the position of the top-left corner of the table. A number of related functions may be used to display table cells containing text with simple formatting: see TAB_ALIGN, TAB_BORDERS, TAB_CELL, TAB_PAD, TAB_VALIGN procedures and TAB_FORMAT, TAB_HOME, TAB_NEXTROW functions. |
Tab_Cell(TH:tableHandle;S:string); |
Procedure TAB_CELL displays text S in a cell of the table specified by TH. Table example: Basic, Table example: Variable data. See TAB function, above. |
Tab_Align(TH:tableHandle;AlOpt:string); |
Procedure TAB_ALIGN specifies the horizontal text alignment. ALOPT may be: L for Left, Table example: Basic, Table example: Variable data. See also TAB_VALIGN procedure, below. |
Tab_VAlign(TH:tableHandle;AlOpt:string); |
Procedure TABVALIGN specifies the vertical text position. ALOPT may be: T for Top, See also TABALIGN procedure, above. |
Tab_Pad(TH:tableHandle;Padding:number); |
Procedure TAB_PAD specifies the offset from the edge of cell to the text position, in pixels at 600dpi. |
Tab_NextRow(TH:tableHandle[;Rulings:boolean=true]):number; |
Function TAB_NEXTROW is used to start a new row of a table: it returns the vertical position of the top of the next row down (in pixels at 600dpi). Row height is determined by the maximum of the vertical spacing specified by the Table Handle and the tallest text composed on the row. RULINGS (optional) set to TRUE to draw lines at cell boundaries. |
Tab_Home(TH:tableHandle):number; |
Function TAB_HOME returns to the first column cell position without advancing the vertical position. This function my be used to add additional text in each cell (in a different position) or add borders in particular positions. |
Tab_Borders(TH:tableHandle;Borders:string); |
Procedure TAB_BORDERS adds borders to a cell. Borders options are a combination of: T for TOP |
Tab_Format(TH:tableHandle;FormattedText:list):number; |
Function TAB_FORMAT adds formatted text to a cell. See FORMAT parameters for FORMATTEDTEXT list options. |