public interface LightCellsDataHandler
Remarks
When reading a workbook by this mode,startSheet(Worksheet) will be checked when reading every worksheet in the workbook.
For one sheet, if startSheet(Worksheet) gives true, then all data and properties of rows/cells of this sheet will be checked
and processed by the implementation of this interface. For every row, startRow(int) will be called to check whether it need to be processed.
If a row needs to be processed, properties of this row will be read firstly and user can access its properties by processRow(Row).
if row's cells need to be processed too, then processRow(Row) should returns true and then startCell(int) will be
called for every existing cell in this row to check whether one cell need to be processed. If one cell needs to be processed,
then processCell(Cell) will be called to process the cell by the implementation of this interface.
| Modifier and Type | Method and Description |
|---|---|
boolean |
processCell(Cell cell)
Starts to process one cell.
|
boolean |
processRow(Row row)
Starts to process one row.
|
boolean |
startCell(int columnIndex)
Prepares to process a cell.
|
boolean |
startRow(int rowIndex)
Prepares to process a row.
|
boolean |
startSheet(Worksheet sheet)
Starts to process a worksheet.
|
boolean startSheet(Worksheet sheet)
Remarks
It will be called before reading cells data of a worksheet.sheet - the worksheet to read cells data.boolean startRow(int rowIndex)
rowIndex - the index of next row to be processedboolean processRow(Row row)
Remarks
It will be called after row's properties such as height, style, ...etc. have been read. However, cells in this row has not been read yet.row - Row object which is being processed currently.boolean startCell(int columnIndex)
Remarks
It will be called when reaching an existing cell in current row. Current row is the row of last call ofprocessRow(Row).columnIndex - column index of the cell to be processedboolean processCell(Cell cell)
Remarks
It will be called after one cell's data has been read.cell - Cell object which is being processed currentlySee Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.