com.aspose.cells

Class CalculationCell

  • java.lang.Object
    • com.aspose.cells.CalculationCell
public class CalculationCell 
extends java.lang.Object

Represents the calculation relevant data about one cell which is being calculated.
All objects provided by this class are for "read" purpose only. User should not change any data in the Workbook during the formula calculation process, Otherwise unexpected result or Exception may be caused.

Property Getters/Setters Summary
CellgetCell()
Gets the Cell object which is being calculated.
intgetCellColumn()
Gets the column index of the cell.
intgetCellRow()
Gets the row index of the cell.
WorkbookgetWorkbook()
Gets the Workbook object.
WorksheetgetWorksheet()
Gets the Worksheet object where the cell is in.
 
Method Summary
voidsetCalculatedValue(java.lang.Object v)
Sets the calculated value for the cell.
 

    • Property Getters/Setters Detail

      • getWorkbook

        public Workbook getWorkbook()
        
        Gets the Workbook object.
      • getWorksheet

        public Worksheet getWorksheet()
        
        Gets the Worksheet object where the cell is in.
      • getCellRow

        public int getCellRow()
        
        Gets the row index of the cell.
      • getCellColumn

        public int getCellColumn()
        
        Gets the column index of the cell.
      • getCell

        public Cell getCell()
        
        Gets the Cell object which is being calculated.
    • Method Detail

      • setCalculatedValue

        public void setCalculatedValue(java.lang.Object v)
        Sets the calculated value for the cell. User can set the calculated result by this method to ignore the automatic calculation for the cell.