CellCollection
Vue de l’ensemble
‘CellCollection’ est une classe dans Aspose.Slides FOSS pour C++.
Représente une collection de cellules de tableau.
Cette classe fournit 36 méthodes pour travailler avec des objets CellCollection dans les programmes C++. Les méthodologies disponibles comprennent: ‘Cell’, ‘cellColection’, IBaseSlide', ‘IPresentationComponent’, 'ISliteComposent', ’add, ‘as_i_collection’, ‚as _i _enumerable , ' as_ i_presentation_componente ‘, as #i__slide_conponents et 9 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation de l’Aspose.SLides FOSS pour le package C+. Propriétés : ‘Composition’, d’I-I, d’I.I., d ́I..
Propriétés
| 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. |
méthodes
| 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 |
Voir aussi
- Aspose.Slides - référence API d’entreprise