|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jopendocument.dom.ODNode org.jopendocument.dom.StyledNode<S,D> org.jopendocument.dom.ImmutableDocStyledNode<S,D> org.jopendocument.dom.spreadsheet.Cell<D>
D
- type of documentpublic class Cell<D extends ODDocument>
A cell in a calc document. If you want to change a cell value you must obtain a MutableCell.
Method Summary | |
---|---|
protected boolean |
coversOtherCells()
|
int |
getColumnsSpanned()
|
String |
getError()
Tries to find out if this cell computation resulted in an error. |
String |
getFormula()
|
protected XMLVersion |
getNS()
|
protected Row<D> |
getRow()
|
int |
getRowsSpanned()
|
protected String |
getStyleName()
|
protected org.jdom.Namespace |
getTABLE()
|
String |
getTextValue()
Calls getTextValue(boolean) using getTextValueMode() . |
String |
getTextValue(boolean ooMode)
Return the text value of this cell. |
static boolean |
getTextValueMode()
|
protected String |
getType()
|
Object |
getValue()
|
protected org.jdom.Namespace |
getValueNS()
|
ODValueType |
getValueType()
|
protected boolean |
isCovered()
|
boolean |
isEmpty()
|
boolean |
isValid()
|
static void |
setTextValueMode(boolean ooMode)
Set whether getTextValue() parses strings using the standard way or using the
OpenOffice.org way. |
Methods inherited from class org.jopendocument.dom.ImmutableDocStyledNode |
---|
getContent, getODDocument |
Methods inherited from class org.jopendocument.dom.StyledNode |
---|
getPrivateStyle, getStyle, getStyle, getStyle, getStyle, getStyleDesc, getStyleDesc, getStyleDesc, getStyleStyleDesc, setStyleName, setStyleName |
Methods inherited from class org.jopendocument.dom.ODNode |
---|
getElement, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static void setTextValueMode(boolean ooMode)
getTextValue()
parses strings using the standard way or using the
OpenOffice.org way.
ooMode
- true
if strings should be parsed the OO way.getTextValue(boolean)
public static boolean getTextValueMode()
protected final Row<D> getRow()
protected final XMLVersion getNS()
protected final org.jdom.Namespace getValueNS()
protected final String getType()
public final ODValueType getValueType()
protected String getStyleName()
getStyleName
in class StyledNode<CellStyle,D extends ODDocument>
public Object getValue()
public String getTextValue()
getTextValue(boolean)
using getTextValueMode()
.
public String getTextValue(boolean ooMode)
ooMode
- whether to use the OO way or the standard way.
public final String getFormula()
public String getError()
null
.public boolean isValid()
protected final boolean isCovered()
public final boolean isEmpty()
public final int getColumnsSpanned()
public final int getRowsSpanned()
protected final boolean coversOtherCells()
protected final org.jdom.Namespace getTABLE()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |