CellCollection

CellCollection

概述

CellCollection 是 Aspose.Slides FOSS for C++ 中的一个类。

表示一个表格单元格的集合。

此类提供 36 种方法,用于在 C++ 程序中处理 CellCollection 对象。可用的方法包括:Cell、CellCollection、IBaseSlide、IPresentationComponent、ISlideComponent、add、as_i_collection、as_i_enumerable、as_i_presentation_component、as_i_slide_component、begin、clear,以及另外 9 种方法。安装 Aspose.Slides FOSS for C++ 包后,所有公共成员对任何 C++ 应用程序均可访问。属性:Cell、IBaseSlide、IPresentationComponent、ISlideComponent、const_iterator、iterator。

属性

名称类型访问描述
CellCell读取获取单元格。
IBaseSlideIBaseSlide读取获取 i 基础幻灯片。
ISlideComponentISlideComponent读取获取 i 幻灯片组件。
IPresentationComponentIPresentationComponent读取获取 i 演示组件。
iteratoriterator读取获取迭代器。
const_iteratorconst_iterator读取获取 const 迭代器。

方法

签名描述
Cell() → Cell属性提供对集合中 Cell 的访问
Cell() → Cell
Cell() → Cell
Cell() → Cell
IBaseSlide() → IBaseSlide属性提供对关联的 IBaseSlide 的访问。
IBaseSlide() → IBaseSlide
ISlideComponent() → ISlideComponent属性提供对相关的 ISlideComponent 的访问。
ISlideComponent() → ISlideComponent
IPresentationComponent() → IPresentationComponent属性提供对已链接的 IPresentationComponent 的访问
IPresentationComponent() → IPresentationComponent
iterator() → iterator返回指向集合首个元素的迭代器
iterator() → iterator
const_iterator() → const_iterator返回指向集合首个元素的 const 迭代器
const_iterator() → const_iterator
CellCollection()
~CellCollection()
init_internal(cells: std::vector<std::unique_ptr<Cell>>, parent_slide: IBaseSlide)使用单元格和父幻灯片上下文初始化集合。
size() → std::size_t返回单元格的数量。
add(cell: std::unique_ptr<Cell>) → Cell向集合中添加一个单元格。
add() → Cell向集合中添加一个单元格。
clear()移除所有单元格。
slide() → IBaseSlide返回此 CellCollection 的父幻灯片。只读。
slide() → IBaseSlide返回此 CellCollection 的父幻灯片。只读。
set_slide(slide: IBaseSlide)设置父幻灯片。
presentation() → IPresentation返回此 CellCollection 的父级呈现。只读。
presentation() → IPresentation返回此 CellCollection 的父级呈现。只读。
as_i_slide_component() → ISlideComponent允许获取基础 ISlideComponent 接口。只读。
as_i_slide_component() → ISlideComponent允许获取基础 ISlideComponent 接口。只读。
as_i_presentation_component() → IPresentationComponent允许获取基础 IPresentationComponent 接口。只读。
as_i_presentation_component() → IPresentationComponent允许获取基础 IPresentationComponent 接口。只读。
as_i_collection() → std::vector<Cell*>返回单元格的快照,作为原始指针。
as_i_enumerable() → std::vector<Cell*>返回单元格的快照,作为原始指针(与 as_i_collection 相同)。
begin() → iterator
end() → iterator
begin() → const_iterator
end() → const_iterator

另请参阅

 中文