public final class Cell extends Object implements com.aspose.ms.System.ICloneable
Represents a cell of the table's row.
Constructor and Description |
---|
Cell()
Initializes a new instance of the Cell class.
|
Cell(Rectangle rect)
Initializes a new instance of the Cell class.
|
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clone the cell.
|
int |
getAlignment()
Gets or sets the alignment.
|
Color |
getBackgroundColor()
Gets or sets the background color.
|
String |
getBackgroundImageFile()
Gets or sets the background image file.
|
BorderInfo |
getBorder()
Gets or sets the border.
|
int |
getColSpan()
Gets or sets the column span.
|
TextState |
getDefaultCellTextState()
Gets or sets the default cell text state.
|
MarginInfo |
getMargin()
Gets or sets the padding.
|
Paragraphs |
getParagraphs()
Gets or sets the cell's formatted text.
|
int |
getRowSpan()
Gets or sets the row span.
|
int |
getVerticalAlignment()
Gets or sets the vertical alignment.
|
boolean |
isNoBorder()
Gets or sets the cell have border.
|
boolean |
isWordWrapped()
Gets or sets the cell's text word wrapped.
|
void |
setAlignment(int value)
Gets or sets the alignment.
|
void |
setBackgroundColor(Color value)
Gets or sets the background color.
|
void |
setBackgroundImageFile(String value)
Gets or sets the background image file.
|
void |
setBorder(BorderInfo value)
Gets or sets the border.
|
void |
setColSpan(int value)
Gets or sets the column span.
|
void |
setDefaultCellTextState(TextState value)
Gets or sets the default cell text state.
|
void |
setMargin(MarginInfo value)
Gets or sets the padding.
|
void |
setNoBorder(boolean value)
Gets or sets the cell have border.
|
void |
setParagraphs(Paragraphs value)
Gets or sets the cell's formatted text.
|
void |
setRowSpan(int value)
Gets or sets the row span.
|
void |
setVerticalAlignment(int value)
Gets or sets the vertical alignment.
|
void |
setWidth(double value)
Gets or sets the column width(processed internally).
|
void |
setWordWrapped(boolean value)
Gets or sets the cell's text word wrapped.
|
public Cell(Rectangle rect)
Initializes a new instance of the Cell class.
rect
- The rectangle of the cell in page's coordinates.public Cell()
Initializes a new instance of the Cell class.
public boolean isNoBorder()
Gets or sets the cell have border.
public void setNoBorder(boolean value)
Gets or sets the cell have border.
public MarginInfo getMargin()
Gets or sets the padding.
public void setMargin(MarginInfo value)
Gets or sets the padding.
public BorderInfo getBorder()
Gets or sets the border.
public void setBorder(BorderInfo value)
Gets or sets the border.
public Color getBackgroundColor()
Gets or sets the background color.
public void setBackgroundColor(Color value)
Gets or sets the background color.
public String getBackgroundImageFile()
Gets or sets the background image file.
public void setBackgroundImageFile(String value)
Gets or sets the background image file.
public int getAlignment()
Gets or sets the alignment.
public void setAlignment(int value)
Gets or sets the alignment.
public TextState getDefaultCellTextState()
Gets or sets the default cell text state.
public void setDefaultCellTextState(TextState value)
Gets or sets the default cell text state.
public Paragraphs getParagraphs()
Gets or sets the cell's formatted text.
public void setParagraphs(Paragraphs value)
Gets or sets the cell's formatted text.
public boolean isWordWrapped()
Gets or sets the cell's text word wrapped.
public void setWordWrapped(boolean value)
Gets or sets the cell's text word wrapped.
public int getVerticalAlignment()
Gets or sets the vertical alignment.
public void setVerticalAlignment(int value)
Gets or sets the vertical alignment.
public int getColSpan()
Gets or sets the column span.
public void setColSpan(int value)
Gets or sets the column span.
public int getRowSpan()
Gets or sets the row span.
public void setRowSpan(int value)
Gets or sets the row span.
public void setWidth(double value)
Gets or sets the column width(processed internally).
public Object deepClone()
Clone the cell.
deepClone
in interface com.aspose.ms.System.ICloneable
Copyright © 2014 Aspose. All Rights Reserved.