Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter ElevenSGML Functions (continued)

HTMLTableToTable Function

Overview

The HTMLTableToTable function exports the content of a Table Map Object to a string.

Syntax/Parameters

Syntax

string [][] = HTMLTableToTable ( handle hTable, [int options] );

Parameters

hTable

A handle to an HTML Table Map Object.

options

An optional int specifying the options to add data to the table. See remarks for bitwise options. The default is 0x00000000, or to export as text.

Return Value

Returns a string table containing the data for each cell or an empty array on failure. Use the GetLastError function to retrieve a formatted error code.

Remarks

The options are as follows:

  Define   Bitwise   Comments
  MAP_TO_TABLE_AS_HTML   0x00010000   Return Data as HTML
  MAP_FILL_NULL_CELLS   0x000000FF   Fill Null Cell with Character

 

A value such as a tab character or ÿ (0xFF) can be added to fill null cells or cells that have been spanned over.

Related Functions

Platform Support

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

Legato IDE, Legato Basic