Class Cell
java.lang.Object
com.independentsoft.office.spreadsheet.Cell
The Class Cell.
-
Constructor Summary
ConstructorsConstructorDescriptionCell()Instantiates a new cell.Cell(boolean value)Instantiates a new cell.Cell(double value)Instantiates a new cell.Cell(float value)Instantiates a new cell.Cell(int value)Instantiates a new cell.Instantiates a new cell.Instantiates a new cell.Instantiates a new cell. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the date value.getDateValue(boolean use1904DateSystem)Gets the date value.Gets the format.Gets the formula.Gets the hyperlink.longGets the mata data index.Gets the reference.Gets the rich text inline.getType()Gets the type.getValue()Gets the value.longGets the value meta data index.intGets the value shared string index.booleanChecks if is preserve space.booleanChecks if is show phonetic.voidsetFormat(CellFormat format)Sets the format.voidsetFormula(Formula formula)Sets the formula.voidsetHyperlink(Hyperlink hyperlink)Sets the hyperlink.voidsetMataDataIndex(long metaDataIndex)Sets the mata data index.voidsetPreserveSpace(boolean preserveSpace)Sets the preserve space.voidsetReference(String reference)Sets the reference.voidsetRichTextInline(RichTextInline richTextInline)Sets the rich text inline.voidsetShowPhonetic(boolean showPhonetic)Sets the show phonetic.voidSets the type.voidSets the value.voidsetValueMetaDataIndex(long valueMetaDataIndex)Sets the value meta data index.voidsetValueSharedStringIndex(int value)Sets the value shared string index.toString()
-
Constructor Details
-
Cell
public Cell()Instantiates a new cell. -
Cell
Instantiates a new cell.- Parameters:
value- the value
-
Cell
public Cell(int value)Instantiates a new cell.- Parameters:
value- the value
-
Cell
public Cell(float value)Instantiates a new cell.- Parameters:
value- the value
-
Cell
public Cell(double value)Instantiates a new cell.- Parameters:
value- the value
-
Cell
public Cell(boolean value)Instantiates a new cell.- Parameters:
value- the value
-
Cell
Instantiates a new cell.- Parameters:
date- the date
-
Cell
Instantiates a new cell.- Parameters:
date- the dateuse1904DateSystem- the use1904 date system
-
-
Method Details
-
getDateValue
Gets the date value.- Returns:
- the date value
-
getDateValue
Gets the date value.- Parameters:
use1904DateSystem- the use1904 date system- Returns:
- the date value
-
clone
-
toString
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-
isPreserveSpace
public boolean isPreserveSpace()Checks if is preserve space.- Returns:
- true, if is preserve space
-
setPreserveSpace
public void setPreserveSpace(boolean preserveSpace)Sets the preserve space.- Parameters:
preserveSpace- the new preserve space
-
getReference
Gets the reference.- Returns:
- the reference
-
setReference
Sets the reference.- Parameters:
reference- the new reference
-
getMataDataIndex
public long getMataDataIndex()Gets the mata data index.- Returns:
- the mata data index
-
setMataDataIndex
public void setMataDataIndex(long metaDataIndex)Sets the mata data index.- Parameters:
metaDataIndex- the new mata data index
-
isShowPhonetic
public boolean isShowPhonetic()Checks if is show phonetic.- Returns:
- true, if is show phonetic
-
setShowPhonetic
public void setShowPhonetic(boolean showPhonetic)Sets the show phonetic.- Parameters:
showPhonetic- the new show phonetic
-
getFormat
Gets the format.- Returns:
- the format
-
setFormat
Sets the format.- Parameters:
format- the new format
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-
getValueMetaDataIndex
public long getValueMetaDataIndex()Gets the value meta data index.- Returns:
- the value meta data index
-
setValueMetaDataIndex
public void setValueMetaDataIndex(long valueMetaDataIndex)Sets the value meta data index.- Parameters:
valueMetaDataIndex- the new value meta data index
-
getFormula
Gets the formula.- Returns:
- the formula
-
setFormula
Sets the formula.- Parameters:
formula- the new formula
-
getRichTextInline
Gets the rich text inline.- Returns:
- the rich text inline
-
setRichTextInline
Sets the rich text inline.- Parameters:
richTextInline- the new rich text inline
-
getHyperlink
Gets the hyperlink.- Returns:
- the hyperlink
-
setHyperlink
Sets the hyperlink.- Parameters:
hyperlink- the new hyperlink
-