|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 | |
|---|---|
int |
getColumnsSpanned()
|
java.lang.String |
getError()
Tries to find out if this cell computation resulted in an error. |
java.lang.String |
getFormula()
|
int |
getRowsSpanned()
|
java.lang.String |
getTextValue()
Calls getTextValue(boolean) using getTextValueMode(). |
java.lang.String |
getTextValue(boolean ooMode)
Return the text value of this cell. |
static boolean |
getTextValueMode()
|
java.lang.Object |
getValue()
|
ODValueType |
getValueType()
|
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 |
|---|
getODDocument |
| Methods inherited from class org.jopendocument.dom.StyledNode |
|---|
getPrivateStyle, getStyle, getStyleDesc, getStyleDesc, getStyleStyleDesc, setStyleName, setStyleName |
| Methods inherited from class org.jopendocument.dom.ODNode |
|---|
getElement, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, 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()
public final ODValueType getValueType()
public java.lang.Object getValue()
public java.lang.String getTextValue()
getTextValue(boolean) using getTextValueMode().
public java.lang.String getTextValue(boolean ooMode)
ooMode - whether to use the OO way or the standard way.
public final java.lang.String getFormula()
public java.lang.String getError()
null.public boolean isValid()
public final boolean isEmpty()
public final int getColumnsSpanned()
public final int getRowsSpanned()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||