CellCollection
Overview
CellCollection is a class in Aspose.Slides FOSS for C++.
Represents a collection of table cells.
This class provides 36 methods for working with CellCollection objects in C++ programs.
Available methods include: Cell, CellCollection, IBaseSlide, IPresentationComponent, ISlideComponent, add, as_i_collection, as_i_enumerable, as_i_presentation_component, as_i_slide_component, begin, clear, and 9 additional methods.
All public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package.
Properties: Cell, IBaseSlide, IPresentationComponent, ISlideComponent, const_iterator, iterator.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Cell | Cell | Read | Gets the cell. |
IBaseSlide | IBaseSlide | Read | Gets the i base slide. |
ISlideComponent | ISlideComponent | Read | Gets the i slide component. |
IPresentationComponent | IPresentationComponent | Read | Gets the i presentation component. |
iterator | iterator | Read | Gets the iterator. |
const_iterator | const_iterator | Read | Gets the const iterator. |
Methods
| Signature | Description |
|---|---|
Cell() → Cell | Property provides access to a Cell in the collection |
Cell() → Cell | |
Cell() → Cell | |
Cell() → Cell | |
IBaseSlide() → IBaseSlide | Property provides access to the associated IBaseSlide |
IBaseSlide() → IBaseSlide | |
ISlideComponent() → ISlideComponent | Property provides access to the related ISlideComponent |
ISlideComponent() → ISlideComponent | |
IPresentationComponent() → IPresentationComponent | Property provides access to the linked IPresentationComponent |
IPresentationComponent() → IPresentationComponent | |
iterator() → iterator | Returns an iterator to the collection’s first element |
iterator() → iterator | |
const_iterator() → const_iterator | Returns a const iterator to the collection’s first element |
const_iterator() → const_iterator | |
CellCollection() | |
~CellCollection() | |
init_internal(cells: std::vector<std::unique_ptr<Cell>>, parent_slide: IBaseSlide) | Initializes the collection with cells and parent slide context. |
size() → std::size_t | Returns the number of cells. |
add(cell: std::unique_ptr<Cell>) → Cell | Adds a cell to the collection. |
add() → Cell | Adds a cell to the collection. |
clear() | Removes all cells. |
slide() → IBaseSlide | Returns the parent slide of this CellCollection. Read-only. |
slide() → IBaseSlide | Returns the parent slide of this CellCollection. Read-only. |
set_slide(slide: IBaseSlide) | Sets the parent slide. |
presentation() → IPresentation | Returns the parent presentation of this CellCollection. Read-only. |
presentation() → IPresentation | Returns the parent presentation of this CellCollection. Read-only. |
as_i_slide_component() → ISlideComponent | Allows to get base ISlideComponent interface. Read-only. |
as_i_slide_component() → ISlideComponent | Allows to get base ISlideComponent interface. Read-only. |
as_i_presentation_component() → IPresentationComponent | Allows to get base IPresentationComponent interface. Read-only. |
as_i_presentation_component() → IPresentationComponent | Allows to get base IPresentationComponent interface. Read-only. |
as_i_collection() → std::vector<Cell*> | Returns a snapshot of the cells as raw pointers. |
as_i_enumerable() → std::vector<Cell*> | Returns a snapshot of the cells as raw pointers (same as as_i_collection). |
begin() → iterator | |
end() → iterator | |
begin() → const_iterator | |
end() → const_iterator |