GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
Overview
The HTMLAddCell function adds the open, close and content for a table cell. The text is encoded as it is added to the cell.
Syntax/Parameters
Syntax
int = HTMLAddCell ( handle hObject, string text,
[int
colspan], [string | dword width],
[bool
no_wrap] );
Parameters
hObject
A handle to an HTML Writer Object.
text
A string containing text to be placed inside the paragraph. [This text will be formatted as PCDATA.]
colspan
An optional int specifying the number of columns the cell should span. By default, the value is 1.
width
An optional width specification as either a string or dword. If a string, the value must be valid CSS length measurement. If a dword, it must be a properly formatted pvalue.
no_wrap
An optional bool 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
The HTMLAddCell function provides an easy method of adding a complete cell. If a cell is open, it will automatically be closed.
A table and a row must be open or the function will return an error. If an existing cell is open, it will automatically be closed.
A <TD> tag is used to contain the cell data and is closed by a </TD> tag.
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.