RowCollection
Overview
RowCollection is a class in Aspose.Slides FOSS for C++.
Represents collection of rows in a table.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
iterator | iterator | Read | Property provides access to the iterator type for the collection |
const_iterator | const_iterator | Read | Returns a const iterator to the beginning of the row collection |
Methods
| Signature | Description |
|---|---|
iterator() → iterator | Property provides access to the iterator type for the collection |
iterator() → iterator | |
const_iterator() → const_iterator | Returns a const iterator to the beginning of the row collection |
const_iterator() → const_iterator | |
init_internal(tbl_element: pugi::xml_node, save_callback: std::function<void()>, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide, table: Table) | Initialize the collection from a XML element. Parses all children and creates corresponding Row objects. |
rebuild() | Rebuild the rows list from the stored XML element. Clears existing rows and re-parses all children. |
add_clone(templ: Row, with_attached_rows: bool) → std::vector<Row*> | Clones the given template row and appends it to the end. |
insert_clone(index: std::size_t, templ: Row, with_attached_rows: bool) → std::vector<Row*> | Clones the given template row and inserts it at the specified index. |
remove_at(first_row_index: std::size_t, with_attached_rows: bool) | Removes the row at the given index. |
remove_at(index: std::size_t) | Removes the row at the given index. |
as_i_collection() → std::vector<Row*> | Returns a snapshot of the rows as raw pointers. |
as_i_enumerable() → std::vector<Row*> | Returns a snapshot of the rows as raw pointers (same as as_i_collection). |