RowCollection
General
RowCollection és una classe en Aspose.Slides FOSS per a C++.
Representa la col·lecció de files en una taula.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
iterator | iterator | Read | Returns a mutable iterator to the first row |
const_iterator | const_iterator | Read | Property provides access to the const iterator |
Mètodes
| Signature | Description |
|---|---|
iterator() → iterator | Returns a mutable iterator to the first row |
iterator() → iterator | |
const_iterator() → const_iterator | Property provides access to the const iterator |
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). |