ParagraphCollection

Vue d’ensemble

‘ParagraphCollection’ est une classe dans Aspose.Slides FOSS pour C++.

Gère une collection de paragraphes dans un cadre de texte.

Cette classe fournit 35 méthodes pour travailler avec des objets de collection Paragraph dans les programmes C++. Les méthodologies disponibles comprennent: ‘ConstIterator’, ‘Itera’ , ‘ParagrafCollection’, add, ‘as_i_enumerable’, ‘as _i presentation_component’, ‘ass i_slide_conponente’, ’begin , ‘clear et 11 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 : ‘Conteurier’, «Itherator`’, “ParagrafCollection’, ‘‘interpoence’’ et ‘reference’.

Propriétés

NameTypeAccessDescription
ParagraphCollectionParagraphCollectionReadGets the paragraph collection.
referencereferenceReadGets the reference.
pointerpointerReadGets the pointer.
IteratorIteratorReadGets the iterator.
ConstIteratorConstIteratorReadGets the const iterator.

méthodes

SignatureDescription
ParagraphCollection() → ParagraphCollectionProperty represents the collection instance itself
reference() → referenceProperty provides reference access to the collection
pointer() → pointer
Iterator() → IteratorProperty denotes the iterator type used by the collection
Iterator() → Iterator
reference() → reference
pointer() → pointer
ConstIterator() → ConstIterator
ConstIterator() → ConstIterator
ParagraphCollection()
init_internal(txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)Initialize from XML, entering XML-backed mode.
size() → std::size_tReturns the number of paragraphs.
add(paragraph: Paragraph) → ParagraphAdds a paragraph to the end of the collection.
insert(index: std::size_t, paragraph: Paragraph) → ParagraphInserts a paragraph at the given index.
remove_at(index: std::size_t)Removes the paragraph at the given index.
remove(item: Paragraph) → boolRemoves the given paragraph from the collection.
clear()Removes all paragraphs.
is_read_only() → boolReturns whether the collection is read-only (always false).
index_of(item: Paragraph) → std::optional<std::size_t>Returns the index of the given paragraph, or std::nullopt if not found.
contains(item: Paragraph) → boolReturns whether the collection contains the given paragraph.
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_enumerable() → IParagraphCollectionReturns a reference to this collection as a generic enumerable interface.
as_i_enumerable() → IParagraphCollectionReturns a reference to this collection as a generic enumerable interface.
slide() → IBaseSlide
slide() → IBaseSlide
as_i_presentation_component() → IPresentationComponent
as_i_presentation_component() → IPresentationComponent
presentation() → IPresentation
presentation() → IPresentation
set_slide(slide: IBaseSlide)Sets the parent slide for this collection.
begin() → IteratorReturns an iterator to the first paragraph
end() → IteratorReturns an iterator past the last paragraph
begin() → ConstIterator
end() → ConstIterator

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français