CellFormat
Overview
CellFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: PVIObject, ICellFormat.
Represents format of a table cell.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
fillFormat | IFillFormat | Read | Provides access to the cell’s IFillFormat |
borderLeft | ILineFormat | Read | Provides the ILineFormat for the left border of the cell |
borderTop | ILineFormat | Read | Provides the ILineFormat for the top border of the cell |
borderRight | ILineFormat | Read | Provides the ILineFormat for the right border of the cell |
borderBottom | ILineFormat | Read | Provides the ILineFormat for the bottom border of the cell |
borderDiagonalDown | ILineFormat | Read | Provides the ILineFormat for the diagonal-down border of the cell |
borderDiagonalUp | ILineFormat | Read | Provides the ILineFormat for the diagonal-up border of the cell |
Methods
| Signature | Description |
|---|---|
CellFormat(tcPrElement: Element, saveCallback: Runnable) | Creates a new CellFormat backed by the given {@code <a:tcPr>} element. |
initInternal(tcPrElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) → CellFormat | Initializes this CellFormat with its backing element and context. |
getFillFormat() → IFillFormat | Returns the IFillFormat applied to the cell |
getBorderLeft() → ILineFormat | Returns the ILineFormat for the cell’s left border |
getBorderTop() → ILineFormat | Returns the ILineFormat for the cell’s top border |
getBorderRight() → ILineFormat | Returns the ILineFormat for the cell’s right border |
getBorderBottom() → ILineFormat | Returns the ILineFormat for the cell’s bottom border |
getBorderDiagonalDown() → ILineFormat | Returns the ILineFormat for the cell’s diagonal-down border |
getBorderDiagonalUp() → ILineFormat | Returns the ILineFormat for the cell’s diagonal-up border |