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

NameTypeAccessDescription
CellCellReadGets the cell.
IBaseSlideIBaseSlideReadGets the i base slide.
ISlideComponentISlideComponentReadGets the i slide component.
IPresentationComponentIPresentationComponentReadGets the i presentation component.
iteratoriteratorReadGets the iterator.
const_iteratorconst_iteratorReadGets the const iterator.

méthodes

SignatureDescription
Cell()CellProperty provides access to a Cell in the collection
Cell()Cell
Cell()Cell
Cell()Cell
IBaseSlide()IBaseSlideProperty provides access to the associated IBaseSlide
IBaseSlide()IBaseSlide
ISlideComponent()ISlideComponentProperty provides access to the related ISlideComponent
ISlideComponent()ISlideComponent
IPresentationComponent()IPresentationComponentProperty provides access to the linked IPresentationComponent
IPresentationComponent()IPresentationComponent
iterator()iteratorReturns an iterator to the collection’s first element
iterator()iterator
const_iterator()const_iteratorReturns 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_tReturns the number of cells.
add(cell: std::unique_ptr<Cell>)CellAdds a cell to the collection.
add()CellAdds a cell to the collection.
clear()Removes all cells.
slide()IBaseSlideReturns the parent slide of this CellCollection. Read-only.
slide()IBaseSlideReturns the parent slide of this CellCollection. Read-only.
set_slide(slide: IBaseSlide)Sets the parent slide.
presentation()IPresentationReturns the parent presentation of this CellCollection. Read-only.
presentation()IPresentationReturns the parent presentation of this CellCollection. Read-only.
as_i_slide_component()ISlideComponentAllows to get base ISlideComponent interface. Read-only.
as_i_slide_component()ISlideComponentAllows to get base ISlideComponent interface. Read-only.
as_i_presentation_component()IPresentationComponentAllows to get base IPresentationComponent interface. Read-only.
as_i_presentation_component()IPresentationComponentAllows 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
 Français