xbrl.table.layout.Cell

An xbrl.table.layout.Cell class represents a cell in a layout table that can contain zero or more facts.

class xbrl.table.layout.Cell

Proper instances of this class will be created within RaptorXML only, instantiation from script code will throw a NotImplementedError exception.

Attributes

xbrl.table.layout.Cell.constraint_set

Returns an xbrl.ConstraintSet object representing the constraints that apply to this cell.

xbrl.table.layout.Cell.facts

Returns an xbrl.FactSet object representing the facts contained in this cell.

xbrl.table.layout.Cell.pos

Returns the coordinate of this cell as a (x,y,z) tuple.

xbrl.table.layout.Cell.table

Returns an xbrl.table.layout.Table object which represents the parent layout table.

xbrl.table.layout.Cell.tag_selectors

Returns a set of strings representing the tag selectors that apply to this cell.

xbrl.table.layout.Cell.x

Returns the x coordinate of this cell.

xbrl.table.layout.Cell.y

Returns the y coordinate of this cell.

xbrl.table.layout.Cell.z

Returns the z coordinate of this cell.

Methods

xbrl.table.layout.Cell.header(axis)

Returns an xbrl.table.layout.AxisHeader object representing the closest header cell for this cell on the given axis.

Special methods

__bool__, __eq__, __ge__, __gt__, __le__, __lt__, __ne__