public static class OTable.Cell extends OEnumPropObj
| Modifier and Type | Method and Description |
|---|---|
void |
centerContents()
Centers the cell contents horizontally and vertically.
|
long |
getError()
Gets the error code.
|
java.lang.String |
getFormula()
Gets the formula.
|
com.sun.star.table.CellContentType |
getType()
Gets the content type.
|
double |
getValue()
Gets the value.
|
void |
setFormula(java.lang.String formula)
Sets the formula.
|
void |
setStyle(OStyle.Para style)
Sets the paragraph style.
|
void |
setText(java.lang.String text)
Sets the text.
|
void |
setValue(double value)
Sets the value.
|
com.sun.star.table.XCell |
xGetXCell()
Gets the XCell object.
|
prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProplogProps, xGetPropSetpublic java.lang.String getFormula()
public double getValue()
public com.sun.star.table.CellContentType getType()
public long getError()
public void setFormula(java.lang.String formula)
formula - the formulapublic void setValue(double value)
value - the valuepublic void setText(java.lang.String text)
throws com.sun.star.uno.Exception
text - the textcom.sun.star.uno.Exceptionpublic void setStyle(OStyle.Para style) throws com.sun.star.uno.Exception
style - the stylecom.sun.star.uno.Exceptionpublic void centerContents()
throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic com.sun.star.table.XCell xGetXCell()