Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLTableOpen Function

Overview

The HTMLTableOpen function opens an HTML table.

Syntax/Parameters

Syntax

int = HTMLTableOpen ( handle hHWO, [string width | dword width],
                               [string align | dword align], [int border] );

Parameters

hHWO

A handle to an HTML Writer Object.

width

An optional parameter as a string or as a dword specifying the width of the table. If a string is provided, the value must be CSS acceptable. If a dword is provided it must be in pvalue format or a plain positive integer. If an integer, the value is set as a percentage and should be from 1 to 100. If omitted, the width of the table will be default or none.

align

An optional parameter as a string or as a dword specifying the width of the table. If a string is provided, the value must be TABLE acceptable as “LEFT”, “CENTER” or “RIGHT”. If a dword is provided it must follow the PVALUE format for a keyword. Note that table align sets a float or text wrapping and the default is ‘none’ or left without wrapping.

border

An optional int specifying the thickness of intercell and table border in pixels. The default is 0.

Return Value

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

Remarks

The CELLPADDING and CELLSPACING attributes are set to the object’s default value which will be 0 unless otherwise altered prior to calling HTMLTableOpen. In addition, other table styles and classes are added depending on the object default.

When a table is opened, the internal stack is set to indicate the table level.

Related Functions

Platform Support

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

Legato IDE, Legato Basic