Table
Overview
Table is a class in Aspose.Slides FOSS for C++.
Represents a table shape on a slide.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Table | Table | Read | Property provides access to the Table object itself |
RowCollection | RowCollection | Read | Property provides the table’s row collection |
ColumnCollection | ColumnCollection | Read | Property provides the table’s column collection |
ITableFormat | ITableFormat | Read | Property provides the table format interface |
TableFormat | TableFormat | Read | Property provides the concrete table format object |
TableStylePreset | TableStylePreset | Read | Returns the preset style applied to the table |
IGraphicalObjectLock | IGraphicalObjectLock | Read | Returns the lock interface controlling object editing |
IGraphicalObject | IGraphicalObject | Read | Returns the graphical object interface for the table |
IBulkTextFormattable | IBulkTextFormattable | Read | Returns the bulk text formatting interface |
Methods
| Signature | Description |
|---|---|
Table() → Table | Property provides access to the Table object itself |
Table() → Table | |
RowCollection() → RowCollection | Property provides the table’s row collection |
RowCollection() → RowCollection | |
ColumnCollection() → ColumnCollection | Property provides the table’s column collection |
ColumnCollection() → ColumnCollection | |
ITableFormat() → ITableFormat | Property provides the table format interface |
TableFormat() → TableFormat | Property provides the concrete table format object |
TableStylePreset() → TableStylePreset | Returns the preset style applied to the table |
IGraphicalObjectLock() → IGraphicalObjectLock | Returns the lock interface controlling object editing |
IGraphicalObject() → IGraphicalObject | Returns the graphical object interface for the table |
IBulkTextFormattable() → IBulkTextFormattable | Returns the bulk text formatting interface |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | Initialize this table from an XML element within a slide part. |
set_text_format(source: IPortionFormat) | IBulkTextFormattable overrides (no-op stubs for the interface). |
set_text_format(source: IParagraphFormat) | IBulkTextFormattable overrides (no-op stubs for the interface). |
set_text_format(source: ITextFrameFormat) | IBulkTextFormattable overrides (no-op stubs for the interface). |
get_tbl_pr() → pugi::xml_node | Returns the cached node, or an empty node if not present. |
ensure_tbl_pr() → pugi::xml_node | Returns the node, creating it as the first child of if absent. |
get_bool_attr(attr_name: std::string_view) → bool | Reads a boolean attribute from (“1” = true, absent/“0” = false). |
set_bool_attr(attr_name: std::string_view, value: bool) | Sets or removes a boolean attribute on , then saves. |
find_style_element(tbl_pr: pugi::xml_node) → pugi::xml_node | Finds the table style element — or legacy . |
read_style_guid(style_el: pugi::xml_node) → std::string | Reads the GUID string from a style element (text content or val attribute). |