public class OTable.CellRange extends OEnumPropObj
| Modifier and Type | Method and Description |
|---|---|
OTable.Cell[][] |
cells()
Returns all cells as an array.
|
int |
numCols()
Returns the number of columns.
|
int |
numRows()
Returns the number of rows.
|
void |
setStyle(OStyle.Para style)
Sets the paragraph style for all cells.
|
void |
setText(java.lang.String text)
Sets all cells to have a specified text.
|
void |
setText(java.lang.String[][] strings)
Sets the text for all cells from an array of matching size.
|
com.sun.star.table.XCellRange |
xGetXRange()
Gets the XRange 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 int numRows()
public int numCols()
public OTable.Cell[][] cells() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic void setStyle(OStyle.Para style) throws com.sun.star.uno.Exception
style - the stylecom.sun.star.uno.Exceptionpublic void setText(java.lang.String text)
throws com.sun.star.uno.Exception
text - the textcom.sun.star.uno.Exceptionpublic void setText(java.lang.String[][] strings)
throws com.sun.star.uno.Exception
strings - the text stringscom.sun.star.uno.Exceptionpublic com.sun.star.table.XCellRange xGetXRange()