Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.text
Interface ITextTableCellRange

All Superinterfaces:
ICloneServiceProvider
All Known Implementing Classes:
TextTableCellRange

public interface ITextTableCellRange
extends ICloneServiceProvider

Cell range of a text table.


Method Summary
 ITextTableCell getCell(int columnIndex, int rowIndex)
          Returns cell with the submitted column and row index.
 ITextTableCell getCell(java.lang.String name)
          Returns cell with the submitted name.
 ITextTableCellProperties getCellProperties()
          Returns text table cell properties.
 ITextTableCell[][] getCells()
          Returns all cells.
 int getColumnCount()
          Returns the number of columns in the range.
 java.lang.Object[][] getData()
          Returns data of the cell range.
 ITextTableCellRangeName getRangeName()
          Returns the name of the range.
 int getRowCount()
          Returns the number of rows in the range.
 ITextDocument getTextDocument()
          Returns text document.
 com.sun.star.table.XCellRange getXCellRange()
          Returns the OpenOffice.org XCellRange interface.
 void setData(java.lang.Object[][] values)
          Sets data to the cell range.
 
Methods inherited from interface ag.ion.bion.officelayer.clone.ICloneServiceProvider
getCloneService
 

Method Detail

getXCellRange

com.sun.star.table.XCellRange getXCellRange()
Returns the OpenOffice.org XCellRange interface.

Returns:
the OpenOffice.org XCellRange interface

getTextDocument

ITextDocument getTextDocument()
Returns text document.

Returns:
text document

setData

void setData(java.lang.Object[][] values)
             throws TextException
Sets data to the cell range.

Parameters:
values - values to be used
Throws:
TextException - if the submitted array is not suitable

getData

java.lang.Object[][] getData()
Returns data of the cell range.

Returns:
data of the cell range

getCellProperties

ITextTableCellProperties getCellProperties()
Returns text table cell properties.

Returns:
text table cell properties

getRowCount

int getRowCount()
Returns the number of rows in the range.

Returns:
number of rows in the range

getColumnCount

int getColumnCount()
Returns the number of columns in the range.

Returns:
number of rows in the range

getCell

ITextTableCell getCell(java.lang.String name)
                       throws TextException
Returns cell with the submitted name.

Parameters:
name - name of the cell
Returns:
cell with the submitted name
Throws:
TextException - if the cell is not available

getCell

ITextTableCell getCell(int columnIndex,
                       int rowIndex)
                       throws TextException
Returns cell with the submitted column and row index.

Parameters:
columnIndex - column index of the cell
rowIndex - row index of the cell
Returns:
cell with the submitted column and row index
Throws:
TextException - if the cell is not available

getRangeName

ITextTableCellRangeName getRangeName()
Returns the name of the range.

Returns:
name of the range

getCells

ITextTableCell[][] getCells()
Returns all cells.

Returns:
all cells

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013