|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITextTable
Table in a text document.
Field Summary | |
---|---|
static int |
MAX_CELLS_IN_TABLE
Maximum number of cells in a table. |
static int |
MAX_COLUMNS_IN_TABLE
The function getCellRangeByPosition of the interface XCellRange works not properly. |
Method Summary | |
---|---|
void |
addColumn(int count)
Adds column(s) to the table. |
void |
addColumn(int index,
int count)
Adds column(s) before or after submitted index to the table. |
void |
addColumn(int index,
int count,
boolean after)
Adds column(s) at submitted index the table. |
void |
addRow(int count)
Adds row(s) to the table. |
void |
addRow(int index,
int count)
Adds row(s) at submitted index to the table. |
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. |
ITextTableCellRange |
getCellRange(int fistColumnIndex,
int firstRowIndex,
int lastColumnIndex,
int lastRowIndex)
Returns cell range on the basis submitted index informations. |
ITextTableCellRange |
getCellRange(java.lang.String cellRangeName)
Returns cell range on the basis of the submitted cell range name. |
ITextTableCell[] |
getCellsWithFormula()
Returns all cells with formulas. |
ITextTableColumn |
getColumn(int index)
Returns a column at submitted index the table. |
int |
getColumnCount()
Returns number of available columns. |
ITextTableColumn[] |
getColumns()
Returns all columns of a table. |
java.lang.String |
getName()
Returns name of the table. |
ITextTableProperties |
getProperties()
Returns properties of the text table. |
ITextTablePropertyStore |
getPropertyStore()
Returns the property store of the table. |
ITextTableRow |
getRow(int index)
Returns text table row. |
int |
getRowCount()
Returns number of available rows. |
ITextTableRow[] |
getRows()
Returns text table row. |
short |
getTableEndPageNumber()
Returns the page number where the table ends, returns -1 if page number could not be determined. |
short |
getTableStartPageNumber()
Returns the page number where the table starts, returns -1 if page number could not be determined. |
ITextRange |
getTextRange()
Returns text range of the text table. |
com.sun.star.text.XTextContent |
getXTextContent()
Returns OpenOffice.org XTextContent interface. |
com.sun.star.text.XTextTable |
getXTextTable()
Returns OpenOffice.org XTextTable interface. |
void |
markTable()
Marks the table. |
void |
remove()
Removes the table. |
void |
removeRow(int index)
Removes a specified row. |
void |
removeRows(int index,
int count)
Removes rows. |
void |
setHeaderRows(int headerRows)
Sets the number of header rows to apply header style for. |
void |
spreadColumnsEvenly()
Spread all columns evenly. |
void |
spreadColumnsEvenly(int startIndex,
int endIndex)
Spread columns in range evenly. |
Methods inherited from interface ag.ion.bion.officelayer.text.ITextComponent |
---|
getTextDocument |
Methods inherited from interface ag.ion.bion.officelayer.clone.ICloneServiceProvider |
---|
getCloneService |
Field Detail |
---|
static final int MAX_CELLS_IN_TABLE
static final int MAX_COLUMNS_IN_TABLE
Method Detail |
---|
com.sun.star.text.XTextContent getXTextContent()
getXTextContent
in interface ITextContent
com.sun.star.text.XTextTable getXTextTable()
ITextRange getTextRange() throws java.lang.Exception
java.lang.Exception
ITextTableProperties getProperties()
java.lang.String getName()
void addRow(int count) throws TextException
count
- number of rows to be added
TextException
- if the row(s) can not be addedvoid addRow(int index, int count) throws TextException
index
- index to be usedcount
- number of rows to be added
TextException
- if the row(s) can not be addedint getRowCount()
void addColumn(int count) throws TextException
count
- number of columns to be added
TextException
- if the column(s) can not be addedvoid addColumn(int index, int count, boolean after) throws TextException
index
- index to be usedcount
- number of columns to be addedafter
- true, if the rows shoud be addes after submitted index
TextException
- if the column(s) can not be addedvoid addColumn(int index, int count) throws TextException
index
- index to be usedcount
- number of columns to be added
TextException
- if the column(s) can not be addedITextTableColumn getColumn(int index) throws TextException
index
- index to be used
TextException
- if any error occursITextTableColumn[] getColumns() throws TextException
TextException
- if any error occursint getColumnCount()
void spreadColumnsEvenly() throws TextException
TextException
- if necessary properties are not availablevoid spreadColumnsEvenly(int startIndex, int endIndex) throws TextException
startIndex
- index of the first column in rangeendIndex
- index of the last column in range
TextException
- if necessary properties are not availableITextTableCell getCell(java.lang.String name) throws TextException
name
- name of the cell
TextException
- if the cell is not availableITextTableCell[] getCellsWithFormula()
ITextTableCell getCell(int columnIndex, int rowIndex) throws TextException
columnIndex
- column index of the cellrowIndex
- row index of the cell
TextException
- if the cell is not availableITextTableCellRange getCellRange(int fistColumnIndex, int firstRowIndex, int lastColumnIndex, int lastRowIndex) throws TextException
fistColumnIndex
- index of first column inside the rangefirstRowIndex
- index of first row inside the rangelastColumnIndex
- index of last column inside the rangelastRowIndex
- index of last row inside the range
TextException
- if the cell range is not availableITextTableCellRange getCellRange(java.lang.String cellRangeName) throws TextException
cellRangeName
- name of the cell range
TextException
- if the cell range is not availableITextTableRow[] getRows()
ITextTableRow getRow(int index)
index
- the row index
ITextTablePropertyStore getPropertyStore() throws TextException
TextException
void removeRow(int index) throws TextException
index
- index of the row
TextException
- if the row could not removedvoid removeRows(int index, int count) throws TextException
index
- index of the first rowcount
- number of rows to remove
TextException
- if the rows could not removedvoid remove() throws TextException
TextException
- if the table could not be removed.short getTableStartPageNumber()
short getTableEndPageNumber()
void setHeaderRows(int headerRows) throws TextException
headerRows
- number of header rows
TextException
- if the header rows could not be setvoid markTable()
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |