Represents cells data handler for reading large spreadsheet files in light weight mode.
More...
Inherits Object.
Public Member Functions | |
virtual bool | StartISheet (intrusive_ptr< Aspose::Cells::IWorksheet > sheet)=0 |
Starts to process a worksheet. More... | |
virtual bool | StartRow (Aspose::Cells::Systems::Int32 rowIndex)=0 |
Prepares to process a row. More... | |
virtual bool | ProcessIRow (intrusive_ptr< Aspose::Cells::IRow > row)=0 |
Starts to process one row. More... | |
virtual bool | StartCell (Aspose::Cells::Systems::Int32 columnIndex)=0 |
Prepares to process a cell. More... | |
virtual bool | ProcessICell (intrusive_ptr< Aspose::Cells::ICell > cell)=0 |
Starts to process one cell. More... | |
Represents cells data handler for reading large spreadsheet files in light weight mode.
When reading a workbook by this mode, StartISheet(IWorksheet) will be checked when reading every worksheet in the workbook. For one sheet, if StartISheet(IWorksheet) 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 ProcessIRow(IRow)if row's cells need to be processed too, then ProcessIRow(IRow) 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 ProcessICell(ICell) will be called to process the cell by the implementation of this interface.
|
pure virtual |
Starts to process one cell.
It will be called after one cell's data has been read.
cell | Cell object which is being processed currently |
|
pure virtual |
Starts to process one row.
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. |
|
pure virtual |
Prepares to process a cell.
It will be called when reaching an existing cell in current row. Current row is the row of last call of ProcessIRow(IRow).
columnIndex | column index of the cell to be processed |
|
pure virtual |
Starts to process a worksheet.
It will be called before reading cells data of a worksheet.
sheet | the worksheet to read cells data. |
|
pure virtual |
Prepares to process a row.
rowIndex | the index of next row to be processed |