Class RowObj
- class ooodev.utils.data_type.row_obj.RowObj(value, cell_obj=None)[source]
Column info.
- ..seealso::
New in version 0.8.2.
- Parameters:
value (int) –
cell_obj (mCell.CellObj | None) –
- __init__(value, cell_obj=None)
- Parameters:
value (int) –
cell_obj (mCell.CellObj | None | None) –
- Return type:
None
- static from_int(num, zero_index=False)[source]
Gets a
RowObj
instance from an integer.- Parameters:
num (int) – Row number.
zero_index (bool, optional) – Determines if the row value is treated as zero index. Defaults to
False
.
- Raises:
AssertionError – if unable to create
RowObj
instance.- Returns:
Cell Object
- Return type:
- cell_obj: mCell.CellObj | None = None
Cell Object that instance is part of
- index: int
row Index (zero-based)