LightCellsDataProvider.StartSheet

LightCellsDataProvider.StartSheet method

Starts to save a worksheet.

public bool StartSheet(int sheetIndex)
ParameterTypeDescription
sheetIndexInt32index of current sheet to be saved.

Return Value

true if this provider will provide data for the given sheet; false if given sheet should use its normal data model(Cells).

Remarks

It will be called at the beginning of saving a worksheet during saving a workbook. If the provider needs to refer to

sheetIndex

later in startRow(Row) or startCell(Cell) method, that is, if the process needs to know which worksheet is being processed, the implementation should retain the

sheetIndex

value here.

See Also