CellFormat

概述

CellFormat 是 Aspose.Slides FOSS 中用于 Java 的一个类。继承自:PVIObject,ICellFormat。

表示表格单元格的格式。

此类提供 13 个方法,用于在 Java 程序中处理 CellFormat 对象。可用的方法包括:CellFormat、PVIObject、asIPresentationComponent、getBorderBottom、getBorderDiagonalDown、getBorderDiagonalUp、getBorderLeft、getBorderRight、getBorderTop、getFillFormat、getPresentation、getSlide,以及另外 1 个方法。所有公共成员在安装 Aspose.Slides FOSS for Java 包后,对任何 Java 应用程序均可访问。属性:borderBottom、borderDiagonalDown、borderDiagonalUp、borderLeft、borderRight、borderTop,以及另外 3 项。

属性

名称类型访问描述
fillFormatIFillFormat读取获取填充格式。
borderLeftILineFormat读取获取左边框。
borderTopILineFormat读取获取顶部边框。
borderRightILineFormat读取获取右侧边框。
borderBottomILineFormat读取获取底部边框。
borderDiagonalDownILineFormat读取获取向下对角线边框。
borderDiagonalUpILineFormat读取获取向上对角线的边框。
slideIBaseSlide读取获取幻灯片。
presentationIPresentation读取获取表示形式。

方法

签名描述
CellFormat(tcPrElement: Element, saveCallback: Runnable)创建一个由给定 {@code <a:tcPr>} 元素支持的新的 CellFormat。
initInternal(tcPrElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) → CellFormat使用其支持的元素和上下文初始化此 CellFormat。
getFillFormat() → IFillFormat返回填充格式。
getBorderLeft() → ILineFormat返回左边框。
getBorderTop() → ILineFormat返回上边框。
getBorderRight() → ILineFormat返回右边框。
getBorderBottom() → ILineFormat返回下边框。
getBorderDiagonalDown() → ILineFormat返回向下的边框对角线。
getBorderDiagonalUp() → ILineFormat返回向上的边框对角线。
PVIObject()创建一个没有父幻灯片的 PVIObject。
getSlide() → IBaseSlide返回幻灯片。
getPresentation() → IPresentation返回演示。
asIPresentationComponent() → IPresentationComponent将此对象作为 {@link IPresentationComponent} 返回。

另请参阅

 中文