XlsxSheetRows
Read onlyYes
FinalYes
One XLSX sheet's rows, every cell formatted by OpenSpout's own CellValueFormatter - only the walk over the sheet XML is Flow's. OpenSpout's RowIterator sends each XML node through a reflection callback and toggles libxml's error mode around every read, which costs more than formatting the cells.
Tags
Methods
- __construct() : mixed
- values() : Generator<int, array<int, SheetCellValue>>
- Each non-empty row's cell values by column index, as OpenSpout's RowIterator yields them with the default options Flow opens every workbook with: a row is padded to its spans, else to the sheet's dimension, and a sheet that declares no dimension gets the gaps below its cell count filled.
Methods
__construct()
public
__construct(Sheet $sheet) : mixed
Parameters
- $sheet : Sheet
values()
Each non-empty row's cell values by column index, as OpenSpout's RowIterator yields them with the default options Flow opens every workbook with: a row is padded to its spans, else to the sheet's dimension, and a sheet that declares no dimension gets the gaps below its cell count filled.
public
values() : Generator<int, array<int, SheetCellValue>>