CellFormat

Overview

CellFormat is a class in Aspose.Slides FOSS for Java. Inherits from: PVIObject, ICellFormat.

Represents format of a table cell.

Properties

NameTypeAccessDescription
fillFormatIFillFormatReadProvides access to the cell’s IFillFormat
borderLeftILineFormatReadProvides the ILineFormat for the left border of the cell
borderTopILineFormatReadProvides the ILineFormat for the top border of the cell
borderRightILineFormatReadProvides the ILineFormat for the right border of the cell
borderBottomILineFormatReadProvides the ILineFormat for the bottom border of the cell
borderDiagonalDownILineFormatReadProvides the ILineFormat for the diagonal-down border of the cell
borderDiagonalUpILineFormatReadProvides the ILineFormat for the diagonal-up border of the cell

Methods

SignatureDescription
CellFormat(tcPrElement: Element, saveCallback: Runnable)Creates a new CellFormat backed by the given {@code <a:tcPr>} element.
initInternal(tcPrElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide)CellFormatInitializes this CellFormat with its backing element and context.
getFillFormat()IFillFormatReturns the IFillFormat applied to the cell
getBorderLeft()ILineFormatReturns the ILineFormat for the cell’s left border
getBorderTop()ILineFormatReturns the ILineFormat for the cell’s top border
getBorderRight()ILineFormatReturns the ILineFormat for the cell’s right border
getBorderBottom()ILineFormatReturns the ILineFormat for the cell’s bottom border
getBorderDiagonalDown()ILineFormatReturns the ILineFormat for the cell’s diagonal-down border
getBorderDiagonalUp()ILineFormatReturns the ILineFormat for the cell’s diagonal-up border

See Also