|
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 | ||||||||
java.lang.Objectag.ion.bion.officelayer.text.AbstractTextComponent
ag.ion.bion.officelayer.internal.text.TextTableCell
public class TextTableCell
Cell of a table in a text document.
| Field Summary | |
|---|---|
protected ITextTableCellName |
textTableCellName
|
| Fields inherited from class ag.ion.bion.officelayer.text.AbstractTextComponent |
|---|
textDocument |
| Fields inherited from interface ag.ion.bion.officelayer.text.ITextTableCell |
|---|
STYLE_TABLE_CONTENT, STYLE_TABLE_HEADER, TYPE_EMPTY, TYPE_FORMULA, TYPE_TEXT, TYPE_VALUE |
| Constructor Summary | |
|---|---|
TextTableCell(ITextDocument textDocument,
com.sun.star.table.XCell xCell)
Constructs new TextTableCell. |
|
| Method Summary | |
|---|---|
java.lang.String |
getCellParagraphStyle()
Returns style of the cell paragraph, or null if not available. |
ITextTableCellPropertyStore |
getCellPropertyStore(int horizontalPosition,
int verticalPosition)
Returns the property store of this cell. |
ICharacterProperties |
getCharacterProperties()
Returns text table cell character properties. |
ICharacterPropertyStore |
getCharacterPropertyStore()
Returns the character property store of this cell. |
ICloneService |
getCloneService()
Gets the clone service of the element. |
int |
getContentType()
Returns content type. |
IFormulaService |
getFormulaService()
Returns the formula service. |
ITextTableCellName |
getName()
Returns name of the cell. |
short |
getPageNumber()
Returns the page number of the cell, returns -1 if page number could not be determined. |
IPageStyle |
getPageStyle()
Returns related page style of the text table cell. |
ITextTableCellProperties |
getProperties()
Returns text table cell properties. |
ITextDocument |
getTextDocument()
Returns text document. |
ITextService |
getTextService()
Returns text service. |
ITextTable |
getTextTable()
Returns text table of the cell. |
double |
getValue()
Gets the value of the cell. |
void |
setCellParagraphStyle(java.lang.String cellParagraphStyle)
Sets style of the cell paragraph. |
void |
setFormula(java.lang.String formula)
Sets the formula. |
void |
setValue(double value)
Sets the value of the cell. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ITextTableCellName textTableCellName
| Constructor Detail |
|---|
public TextTableCell(ITextDocument textDocument,
com.sun.star.table.XCell xCell)
throws java.lang.IllegalArgumentException
textDocument - text document to be usedxCell - OpenOffice.org XCell interface
java.lang.IllegalArgumentException - if the submitted text document or OpenOffice.org XCell interface
is not valid| Method Detail |
|---|
public ITextDocument getTextDocument()
getTextDocument in interface ITextComponentgetTextDocument in class AbstractTextComponentpublic ITextTableCellName getName()
getName in interface ITextTableCell
public ITextTable getTextTable()
throws TextException
getTextTable in interface ITextTableCellTextException - if the text table is not availablepublic int getContentType()
getContentType in interface ITextTableCellpublic ITextService getTextService()
getTextService in interface ITextTableCellpublic ITextTableCellProperties getProperties()
getProperties in interface ITextTableCellpublic ICharacterProperties getCharacterProperties()
getCharacterProperties in interface ITextTableCellpublic IFormulaService getFormulaService()
getFormulaService in interface ITextTableCell
public IPageStyle getPageStyle()
throws TextException
getPageStyle in interface ITextTableCellTextException - if the page style is not available
public ITextTableCellPropertyStore getCellPropertyStore(int horizontalPosition,
int verticalPosition)
throws TextException
getCellPropertyStore in interface ITextTableCellhorizontalPosition - horizontal position to be usedverticalPosition - vertical position to be used
TextException - if the cell property store is not available
public ICharacterPropertyStore getCharacterPropertyStore()
throws TextException
getCharacterPropertyStore in interface ITextTableCellTextException - if property store could not be returned
public ICloneService getCloneService()
throws CloneException
getCloneService in interface ICloneServiceProviderCloneException - if the clone service could not be returnedpublic double getValue()
getValue in interface ITextTableCellpublic void setValue(double value)
setValue in interface ITextTableCellvalue - the value to be set in the tablepublic void setFormula(java.lang.String formula)
setFormula in interface ITextTableCellformula - formulapublic short getPageNumber()
getPageNumber in interface ITextTableCell
public void setCellParagraphStyle(java.lang.String cellParagraphStyle)
throws TextException
setCellParagraphStyle in interface ITextTableCellcellParagraphStyle - style of the cell paragraph
TextException - if the property can not be modified
public java.lang.String getCellParagraphStyle()
throws TextException
getCellParagraphStyle in interface ITextTableCellTextException - if the property is not available
|
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 | ||||||||