Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLCellOpen Function

Overview

The HTMLCellOpen function adds open table cell code to an unmanaged table. Other functions can be used to insert data into the cell.

Syntax/Parameters

Syntax

int = HTMLCellOpen ( handle hObject, [int colspan], [string | dword align],
                                 [bool no_wrap] );

Parameters

hObject

A handle to an HTML Writer Object.

colspan

An optional int specifying the number of columns the cell should span. By default the value is 1. The COLSPAN attribute is not added unless the span value is larger than 1.

align

An optional horizontal alignment as either a string or dword. If a string, the value must be “left”, “center”, “right” or “justify”. If a dword, it must be properly formatted pvalue.

no_wrap

An optional flag to set the cell to ‘no wrap’ mode. When set, the NOWRAP attribute is added to the cell tag.

Return Value

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

Remarks

A table and a row must be open or the function will return an error. If an existing cell is open, it is automatically closed.

A <TD> tag is used to contain the cell data and is close by a </TD> tag.

Related Functions

Platform Support

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

Legato IDE, Legato Basic