Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLBeginTable Function

Overview

The HTMLBeginTable function begins a managed table and sets the specified HTML Writer Object into managed table mode.

Syntax/Parameters

Syntax

int = HTMLBeginTable ( handle hObject, [int rows], [int columns] );

Parameters

hObject

A handle to an HTML Writer Object.

rows

An optional int specifying the initial number of rows. If omitted, the number of rows is set to 1.

columns

An optional int specifying the initial number of columns. If omitted, the number of columns is set to 1.

Return Value

An int as a ERROR_NONE (0) for no error or a formatted error code.

Remarks

This function begins or ‘opens’ a managed table. Any existing tables (managed or unmanaged) or paragraphs are automatically closed.

Once a managed table is open, cells can be randomly added to the table or they can be sequentially added by using the HTMLBeginRow function to delimit rows.

The number of rows and columns will automatically expand as cells and rows are added to the table, Specifying the value allows the table to be framed which can be useful when creating a sparsely filled table. Cells that are not loaded will contain a non-breaking space using the default cell style when the table is completed.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic