| Type | Name and description |
|---|---|
static com.sun.star.table.CellAddress |
getAddress(com.sun.star.table.XCell self)Returns the cell address of the cell. |
static java.util.List<com.sun.star.table.XCell> |
getCellList(com.sun.star.sheet.XSheetCellRanges self)Returns a list of XCells contained in the range. |
static java.util.List<com.sun.star.table.XCell> |
getCellList(com.sun.star.sheet.XSheetCellRangeContainer self)Returns a list of XCells contained in the range container. |
static com.sun.star.sheet.XSheetCellRanges |
getCellRanges(com.sun.star.sheet.XSpreadsheet self, java.lang.Object type)Returns the cell ranges matching the specified type. |
static com.sun.star.beans.XPropertySet |
getCellStylePropertySet(com.sun.star.sheet.XSpreadsheetDocument self, java.lang.String cellStyle)Returns the property set of the cell style if it exists. |
static java.lang.String |
getFormulaOfCell(com.sun.star.table.XCellRange self, int column, int row)Returns the formula string of a cell. |
static java.lang.Object |
getPropertyValue(com.sun.star.table.XCell self, java.lang.String prop)Returns the value of the property. |
static com.sun.star.sheet.XSheetCellRangeContainer |
getRangeContainer(com.sun.star.sheet.XSpreadsheetDocument self)Returns a sheet cell range container. |
static com.sun.star.sheet.XSpreadsheet |
getSheetByIndex(com.sun.star.sheet.XSpreadsheetDocument self, java.lang.Integer nIndex)Returns the spreadsheet with the specified index (0-based). |
static com.sun.star.sheet.XSpreadsheet |
getSheetByName(com.sun.star.sheet.XSpreadsheetDocument self, java.lang.String name)Returns the spreadsheet with the specified name. |
static com.sun.star.sheet.XSpreadsheetDocument |
getSpreadsheetDocument(com.sun.star.lang.XComponent self, com.sun.star.uno.XComponentContext mxRemoteContext)Returns the spreadsheet document with the specified index component context |
static com.sun.star.style.XStyleFamiliesSupplier |
getStyleFamiliesSupplier(com.sun.star.sheet.XSpreadsheetDocument self)Returns the style families supplier |
static com.sun.star.table.CellContentType |
getTypeOfCell(com.sun.star.table.XCellRange self, int column, int row)Returns the type of the cell. |
static java.lang.Double |
getValueOfCell(com.sun.star.table.XCellRange self, int column, int row)Returns the floating point value of the cell specified by column and row. |
static java.lang.Integer |
getVertJustify(com.sun.star.table.XCell self)Returns the value of the VertJustify property. |
static void |
insertFormulaIntoCell(com.sun.star.sheet.XSpreadsheet self, int column, int row, java.lang.String value)Inserts a formula (string) value into the cell specified by column and row. |
static void |
insertValueIntoCell(com.sun.star.sheet.XSpreadsheet self, int column, int row, float value)Inserts a float value into the cell specified by column and row. |
static void |
setCellStyle(com.sun.star.table.XCell self, java.lang.Object value)Sets the CellStyle property with the value. |
static void |
setColumnWidthOptimalPlus(com.sun.star.table.XCellRange self, int addWidth)Sets the width of the columns in XCellRange to optimal plus the additional width. |
static void |
setFormulaOfCell(com.sun.star.table.XCellRange self, int column, int row, java.lang.String value)Inserts a formula (string) value into the cell specified by column and row. |
static void |
setPropertyValue(com.sun.star.table.XCell self, java.lang.String prop, java.lang.Object value)Sets the specified property with the value. |
static void |
setRowHeightOptimalPlus(com.sun.star.table.XCellRange self, int addHeight)Sets the height of the rows in XCellRange to optimal plus the additional height. |
static void |
setValueOfCell(com.sun.star.table.XCellRange self, int column, int row, float value)Inserts a float value into the cell specified by column and row. |
static void |
setVertJustify(com.sun.star.table.XCell self, java.lang.Object value)Sets the VertJustify property with the value. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Returns the cell address of the cell.
Returns a list of XCells contained in the range.
Returns a list of XCells contained in the range container.
Returns the cell ranges matching the specified type.
type - a combination of CellFlags flags.Returns the property set of the cell style if it exists. If not the the cell style is created and it's property set is returned.
cellStyle - the name of the cell style to return the property set of.Returns the formula string of a cell. Even if the cell does not contain a formula, an assignment of this attribute's value to another cell's formula attribute would create the same cell content. This is because this attribute contains the original text value of a string cell. The value of a value cell will be formatted using the number format's default format or the formula string, including "=", of a formula cell. If called on a Range the column and row is relative to that range.
self - XCellRange, XSheetCellRange, or XSpreadsheetcolumn - zero based column position.row - zero based row position.Returns the value of the property.
prop - The name of the property to get.Returns a sheet cell range container.
Returns the spreadsheet with the specified index (0-based).
nIndex - The index of the sheet.Returns the spreadsheet with the specified name.
name - The name of the sheet.Returns the spreadsheet document with the specified index component context
mxRemoteContext - the remote context.Returns the style families supplier
Returns the type of the cell. CellContentType.EMPTY, VALUE, TEXT, or FORMULA.
self - XCellRange, XSheetCellRange, or XSpreadsheet.column - zero based column position.row - zero based row position.Returns the floating point value of the cell specified by column and row. For a value cell the value is returned, for a string cell zero is returned and for a formula cell the result value of a formula is returned.
self - XCellRange, XSheetCellRange, or XSpreadsheetcolumn - zero based column position.row - zero based row position.Returns the value of the VertJustify property.
Inserts a formula (string) value into the cell specified by column and row.
column - zero based column position.row - zero based row position.value - the string value to insert.Inserts a float value into the cell specified by column and row.
column - zero based column position.row - zero based row position.value - the float value to insert.Sets the CellStyle property with the value.
value - The value to set.Sets the width of the columns in XCellRange to optimal plus the additional width.
self - XCellRange, XSheetCellRange, or XSpreadsheet.column - zero based column position.row - zero based row position.addWidth - additional width in 1/100th of a millimeter.Inserts a formula (string) value into the cell specified by column and row. When assigned, the string will be interpreted and a value, text or formula cell is created, depending on the text and the number format.
self - XCellRange, XSheetCellRange, or XSpreadsheetcolumn - zero based column position.row - zero based row position.value - the string value to insert.Sets the specified property with the value.
prop - The name of the property to set.value - The value to set.Sets the height of the rows in XCellRange to optimal plus the additional height.
self - XCellRange, XSheetCellRange, or XSpreadsheet.column - zero based column position.row - zero based row position.addHeight - additional height in 1/100th of a millimeter.Inserts a float value into the cell specified by column and row. After a call to this method the type of the cell is CellContentType.VALUE.
self - XCellRange, XSheetCellRange, or XSpreadsheet.column - zero based column position.row - zero based row position.value - the float value to insert.Sets the VertJustify property with the value.
value - The value to set.