Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter Twenty-threeXBRL Functions (continued)

XBRLViewGetLineItemCount Function

Overview

The XBRLViewGetLineItemCount function returns the number of possible line items on a presentation.

Syntax/Parameters

Syntax

int = XBRLViewGetLineItemCount ( handle hXBRL, int presentation );

Parameters

hXBRL

A handle containing the reference to an XBRL Object.

presentation

A zero-based int specifying the presentation to reference for the line item.

Return Value

Returns an int representing the number of lines within the sheet or -1 on failure. Use the GetLastError function to retrieve error information.

Remarks

Depending on the source of the XBRL data, the presentation may have rows that do not contain line item data. For example, an XBRL Object based on an XFR/XBRL View will use the first 4 rows of the presentation for row headings and there may be empty rows.

Related Functions

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL