ParagraphCollection — Aspose.Slides FOSS C++ API Reference
ParagraphCollection — Manages a collection of paragraphs within a text frame.
Package: Aspose::Slides
Properties
| Property | Type | Access | Description |
|---|---|---|---|
ParagraphCollection | ParagraphCollection | Read | |
reference | reference | Read | |
pointer | pointer | Read | |
Iterator | Iterator | Read | |
ConstIterator | ConstIterator | Read |
Methods
| Method | Returns | Description |
|---|---|---|
ParagraphCollection() | ParagraphCollection | |
reference() | reference | |
pointer() | pointer | |
Iterator() | Iterator | |
Iterator() | Iterator | |
reference() | reference | |
pointer() | pointer | |
ConstIterator() | ConstIterator | |
ConstIterator() | ConstIterator | |
init_internal() | void | Initialize from XML, entering XML-backed mode. |
size() | std::size_t | Returns the number of paragraphs. |
remove_at() | void | Removes the paragraph at the given index. |
remove() | bool | Removes the given paragraph from the collection. |
clear() | void | Removes all paragraphs. |
is_read_only() | bool | Returns whether the collection is read-only (always false). |
index_of() | std::optional<std::size_t> | Returns the index of the given paragraph, or std::nullopt if not found. |
contains() | bool | Returns whether the collection contains the given paragraph. |
set_slide() | void | Sets the parent slide for this collection. |
begin() | Iterator | |
end() | Iterator | |
begin() | ConstIterator | |
end() | ConstIterator |