|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.pdf.elements.PdfElementBase
com.aspose.pdf.elements.Cell
Represents a cell in a Table.
Constructor Summary | |
Cell(Row row,
java.lang.String content)
Initialize a new instance of the Cell class. |
|
Cell(Table table,
java.lang.String content)
Initialize a new instance of the Cell class. |
Method Summary | |
Color |
getBackGroundColor()
Gets a Color object that indicatres the backgorund color of the cell. |
BorderInfo |
getBorder()
Gets a BorderInfo object that indicates the cell's border info. |
int |
getColumnSpan()
Gets an int value that indicates how many columns the cell sapns. |
TextInfo |
getDefaultCellTextInfo()
Gets a TextInfo object that indicates the default cell text format info. |
org.w3c.dom.Element |
getDOMElement()
Gets a DOM representation of the pdf element. |
float |
getFitWidth()
Gets or sets a float value that indicates the fit width of the cell. |
MarginInfo |
getPadding()
Gets a MarginInfo object that indicates the cell's padding. |
Paragraphs |
getParagraphs()
Gets a Paragraphs collection that indicates all paragraphs in the cell. |
int |
getRowSpan()
Gets a int value that indicates how many rows the cell spans. |
java.lang.String |
getVerticalAlignment()
Gets a VerticalAlignmentType value that indicates the vertical alignment type. |
Cell |
setBackGroundColor(Color color)
Sets a Color object that indicatres the backgorund color of the cell. |
Cell |
setBorder(BorderInfo info)
Sets a BorderInfo object that indicates the cell's border info. |
Cell |
setColumnSpan(int span)
Sets an int value that indicates how many columns the cell sapns. |
Cell |
setDefaultCellTextInfo(TextInfo textInfo)
Sets a TextInfo object that indicates the default cell text format info. |
Cell |
setFitWidth(float fitWidth)
Gets or sets a float value that indicates the fit width of the cell. |
Cell |
setPadding(MarginInfo padding)
Sets a MarginInfo object that indicates the cell's padding. |
Cell |
setParagraphs(Paragraphs paragraphs)
Sets a Paragraphs collection that indicates all paragraphs in the cell. |
Cell |
setRowSpan(int rowSpan)
Sets a int value that indicates how many rows the cell spans. |
Cell |
setVerticalAlignment(java.lang.String alignment)
Sets a VerticalAlignmentType value that indicates the vertical alignment type. |
Methods inherited from class com.aspose.pdf.elements.PdfElementBase |
clone, getElementFactory, getID, getNameIndex, setID |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Cell(Table table, java.lang.String content)
table
- Table that owns the cells.content
- the Cell contentspublic Cell(Row row, java.lang.String content)
content
- the Cell contentsMethod Detail |
public Color getBackGroundColor()
public Cell setBackGroundColor(Color color)
public Paragraphs getParagraphs()
public Cell setParagraphs(Paragraphs paragraphs)
paragraphs
- The Paragraphs to set.public int getColumnSpan()
public Cell setColumnSpan(int span)
span
- The ColumnSpan to set.public float getFitWidth()
public Cell setFitWidth(float fitWidth)
public MarginInfo getPadding()
public Cell setPadding(MarginInfo padding)
public int getRowSpan()
public Cell setRowSpan(int rowSpan)
public java.lang.String getVerticalAlignment()
public Cell setVerticalAlignment(java.lang.String alignment)
alignment
- The VerticalAlignment to set.VerticalAlignmentType
public TextInfo getDefaultCellTextInfo()
public Cell setDefaultCellTextInfo(TextInfo textInfo)
public BorderInfo getBorder()
public Cell setBorder(BorderInfo info)
info
- The BorderInfo to set.public org.w3c.dom.Element getDOMElement() throws AsposeBaseException
PdfElementBase
getDOMElement
in class PdfElementBase
AsposeBaseException
PdfElementBase.getDOMElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |