GoFiler Legato Script Reference
Legato v 1.5b Application v 5.24b
|
Table of Contents | < < Previous | Next >> |
Chapter Eleven — SGML Functions (continued)
HTMLTableGetDiscreteCount Function
Overview
The HTMLTableGetDiscreteCount function returns the number of discrete columns within a table. Each cell on a row constitutes a discrete column position. As such, a cell specifying a column span value becomes a separate discrete column over and above the same starting column position.
Syntax/Parameters
Syntax
int = HTMLTableGetDiscreteCount ( handle hTable );
Parameters
hTable
A handle to an HTML Table Map Object.
Return Value
Returns an int specifying the number of discrete columns or -1 on failure. Use the GetLastError function to retrieve a formatted error code.
Remarks
Discrete columns are column definitions that are unique. For example, a cell in the first position with no span is considered a column while the same cell with a span becomes a unique discrete column.
It is not uncommon for tables to have significantly more discrete columns than total columns. For example, a 10 column table with straddle headings on each column will have 5 extra column definitions, or 15 discrete columns.
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.