public interface IExcelDataCell
Represents a single cell in an Excel workbook.
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Gets the zero-based index of the column in the worksheet where the cell is located.
|
java.lang.String |
getName()
Gets the name of the chart data cell.
|
int |
getRow()
Gets the zero-based index of the row in the worksheet where the cell is located.
|
java.lang.Object |
getValue()
Gets the value contained in the Excel cell.
|
java.lang.Object getValue()
Gets the value contained in the Excel cell.
Read-only Object.
Example:ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile); IExcelDataCell cell = wb.getCell(1, 1, 1); System.out.println(cell.getValue().toString());
java.lang.String getName()
Gets the name of the chart data cell.
Read-only String.
Example:ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile); IExcelDataCell cell = wb.getCell(1, 1, 1); System.out.println(cell.getName()); //Output: "B2"
int getRow()
Gets the zero-based index of the row in the worksheet where the cell is located. Read-only int.
Example:ExcelDataWorkbook wb = new ExcelDataWorkbook(testFile); IExcelDataCell cell = wb.getCell(1, 1, 1); System.out.println(cell.getRow()); //Output: 1
int getColumn()
Gets the zero-based index of the column in the worksheet where the cell is located. Read-only int.
Example:v
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.