Cell

Overview

Cell is a class in Aspose.Cells FOSS for Java.

Represents a cell in a worksheet.

This class provides 10 methods for working with Cell objects in Java programs. Available methods include: getDisplayStringValue, getFormula, getStringValue, getStyle, getType, getValue, putValue, setFormula, setStyle, setValue. All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: displayStringValue, formula, stringValue, style, type, value.

Description

Cell is a class in the Aspose.Cells FOSS library for Java that exposes 14 methods and 6 properties for programmatic use.

Core capabilities include: object; string; string. These operations enable developers to integrate cell functionality directly into Java applications.

The class also provides the value property (returns the value), the stringValue property (returns the string value), the displayStringValue property (returns the display string value).

Properties

NameTypeAccessDescription
valueObjectReadReturns the value.
stringValueStringReadReturns the string value.
displayStringValueStringReadReturns the display string value.
formulaStringReadReturns the formula.
typeCellValueTypeReadReturns the type.
styleStyleReadReturns the style.

Methods

SignatureDescription
getValue()ObjectReturns the value.
setValue(value: Object)Sets the value.
getStringValue()StringReturns the string value.
getDisplayStringValue()StringReturns the display string value.
getFormula()StringReturns the formula.
setFormula(value: String)Sets the formula.
getType()CellValueTypeReturns the type.
putValue(value: String)Stores the value.
putValue(value: int)Stores the value.
putValue(value: double)Stores the value.
putValue(value: boolean)Stores the value.
putValue(value: java.time.LocalDateTime)Stores the value.
getStyle()StyleReturns the style.
setStyle(style: Style)Sets the style.

See Also

 English