xbrl.LayoutTable

The LayoutTable class represents the table after applying the resolution and layout process.

class xbrl.LayoutTable(LayoutTableSet tableset, size_t index)

Attributes

xbrl.LayoutTable.data_height

Returns the number of data rows.

xbrl.LayoutTable.data_width

Returns the number of data columns.

xbrl.LayoutTable.header_height

Returns the number of header rows.

xbrl.LayoutTable.header_width

Returns the number of header columns.

xbrl.LayoutTable.height

Returns the total number of table rows (header and data rows).

xbrl.LayoutTable.rows

Returns a generator object of xbrl.LayoutRow objects representing the rows in the table (both header and data rows).

xbrl.LayoutTable.table
xbrl.LayoutTable.width

Returns the total number of table columns (header and data columns).

Methods

xbrl.LayoutTable.cell(row, col)

Returns a xbrl.LayoutCell object representing the table cell in the row specified by row and the column specified by col.

Special methods

__eq__, __ge__, __gt__, __le__, __lt__, __ne__