Skip to main content

get_rows

Function get_rows 

Source
pub fn get_rows(
    ws: &WorksheetXml,
    sst: &SharedStringTable,
) -> Result<Vec<(u32, Vec<(String, CellValue)>)>>
Expand description

Get all rows with their data from a worksheet.

Returns a Vec of (row_number, Vec<(column_name, CellValue)>) tuples. Only rows that contain at least one cell are included (sparse). The SST is used to resolve shared string references.