CellFormat

Overview

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

Represents format of a table cell.

This class provides 13 methods for working with CellFormat objects in Java programs. Available methods include: CellFormat, PVIObject, asIPresentationComponent, getBorderBottom, getBorderDiagonalDown, getBorderDiagonalUp, getBorderLeft, getBorderRight, getBorderTop, getFillFormat, getPresentation, getSlide, and 1 additional methods. All public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: borderBottom, borderDiagonalDown, borderDiagonalUp, borderLeft, borderRight, borderTop, and 3 more.

Properties

NameTypeAccessDescription
fillFormatIFillFormatReadGets the fill format.
borderLeftILineFormatReadGets the border left.
borderTopILineFormatReadGets the border top.
borderRightILineFormatReadGets the border right.
borderBottomILineFormatReadGets the border bottom.
borderDiagonalDownILineFormatReadGets the border diagonal down.
borderDiagonalUpILineFormatReadGets the border diagonal up.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

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 fill format.
getBorderLeft()ILineFormatReturns the border left.
getBorderTop()ILineFormatReturns the border top.
getBorderRight()ILineFormatReturns the border right.
getBorderBottom()ILineFormatReturns the border bottom.
getBorderDiagonalDown()ILineFormatReturns the border diagonal down.
getBorderDiagonalUp()ILineFormatReturns the border diagonal up.
PVIObject()Creates a PVIObject with no parent slide.
getSlide()IBaseSlideReturns the slide.
getPresentation()IPresentationReturns the presentation.
asIPresentationComponent()IPresentationComponentReturns this object as an {@link IPresentationComponent}.

See Also