Column

概述

Column 是 Aspose.Slides FOSS 中用于 Java 的类。继承自:IColumn。

表示表格中的一列。

此类提供了 17 个用于在 Java 程序中处理 Column 对象的方法。可用的方法包括:Column、asICollection、asIEnumerable、asIPresentationComponent、asISlideComponent、get、getAsIBulkTextFormattable、getAsICellCollection、getColumnFormat、getPresentation、getSlide、getWidth,以及另外 4 个方法。安装 Aspose.Slides FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:asIBulkTextFormattable、asICellCollection、columnFormat、presentation、slide、width。

属性

名称类型访问描述
widthdouble读取获取宽度。
asICellCollectionICellCollection读取获取 as i 单元格集合。
asIBulkTextFormattableIBulkTextFormattable读取获取作为批量文本可格式化的。
columnFormatIColumnFormat读取获取列格式。
slideIBaseSlide读取获取幻灯片。
presentationIPresentation读取获取表示形式。

方法

签名描述
Column(gridColElement: Element, saveCallback: Runnable, cells: List<ICell>)创建一个由给定 {@code <a:gridCol>} 元素支持的新 Column。
Column()创建一个没有 backing 元素的 Column。
initInternal(gridColElement: Element, colIndex: int, tblElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable) → Column从给定的 {@code <a:gridCol>} 元素和表上下文初始化此列。
getWidth() → double返回宽度。
setWidth(value: double)设置宽度值。
get(index: int) → ICell返回给定列索引处的单元格
size() → int
getAsICellCollection() → ICellCollection返回 as i 单元格集合。
getAsIBulkTextFormattable() → IBulkTextFormattable返回 as i 批量文本可格式化对象。
getColumnFormat() → IColumnFormat返回列格式。
setTextFormat(source: Object)设置文本格式值。
asICollection() → List<ICell>返回列的单元格,作为 List
asIEnumerable() → Iterable<ICell>返回列的单元格,作为 Iterable
getSlide() → IBaseSlide返回幻灯片。
getPresentation() → IPresentation返回演示文稿。
asISlideComponent() → ISlideComponent将此列作为 ISlideComponent 返回
asIPresentationComponent() → IPresentationComponent将此列作为 IPresentationComponent 返回

另请参阅

 中文