|
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 validMethod Detail |
---|
public ITextDocument getTextDocument()
getTextDocument
in interface ITextComponent
getTextDocument
in class AbstractTextComponent
public ITextTableCellName getName()
getName
in interface ITextTableCell
public ITextTable getTextTable() throws TextException
getTextTable
in interface ITextTableCell
TextException
- if the text table is not availablepublic int getContentType()
getContentType
in interface ITextTableCell
public ITextService getTextService()
getTextService
in interface ITextTableCell
public ITextTableCellProperties getProperties()
getProperties
in interface ITextTableCell
public ICharacterProperties getCharacterProperties()
getCharacterProperties
in interface ITextTableCell
public IFormulaService getFormulaService()
getFormulaService
in interface ITextTableCell
public IPageStyle getPageStyle() throws TextException
getPageStyle
in interface ITextTableCell
TextException
- if the page style is not availablepublic ITextTableCellPropertyStore getCellPropertyStore(int horizontalPosition, int verticalPosition) throws TextException
getCellPropertyStore
in interface ITextTableCell
horizontalPosition
- horizontal position to be usedverticalPosition
- vertical position to be used
TextException
- if the cell property store is not availablepublic ICharacterPropertyStore getCharacterPropertyStore() throws TextException
getCharacterPropertyStore
in interface ITextTableCell
TextException
- if property store could not be returnedpublic ICloneService getCloneService() throws CloneException
getCloneService
in interface ICloneServiceProvider
CloneException
- if the clone service could not be returnedpublic double getValue()
getValue
in interface ITextTableCell
public void setValue(double value)
setValue
in interface ITextTableCell
value
- the value to be set in the tablepublic void setFormula(java.lang.String formula)
setFormula
in interface ITextTableCell
formula
- formulapublic short getPageNumber()
getPageNumber
in interface ITextTableCell
public void setCellParagraphStyle(java.lang.String cellParagraphStyle) throws TextException
setCellParagraphStyle
in interface ITextTableCell
cellParagraphStyle
- style of the cell paragraph
TextException
- if the property can not be modifiedpublic java.lang.String getCellParagraphStyle() throws TextException
getCellParagraphStyle
in interface ITextTableCell
TextException
- 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 |