Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.4j

Application v 5.22b

  

 

Chapter Twenty-threeXBRL Functions (continued)

XBRLViewGetPresentationElements Function

Overview

The XBRLViewGetPresentationElements function returns an array of all the line item elements used on a presentation. The array matches the index position of line items for the presentation.

Syntax/Parameters

Syntax

string [] = XBRLViewGetPresentationElements ( handle hXBRL, int position );

Parameters

hXBRL

A handle containing the reference to an XBRL object.

position

An int specifying the zero-based presentation index within the XBRL data set. Note that this value is the position in the XBRL Object which can include pseudo presentations.

Return Value

A string array containing the elements in line item position or an empty array on error. Use the GetLastError function to retrieve a formatted error code.

Remarks

For an XBRL View object, the first three entries will be empty and other line items may be empty as they are the presentation heading items.

The index position in the array can be used to access display facts on the presentation, label data and line item properties.

Related Functions

Platform Support

GoFiler Complete, GoFiler Corporate, GoXBRL