Table

Overview

Table is a class in Aspose.Slides FOSS for C++.

Represents a table shape on a slide.

Properties

NameTypeAccessDescription
TableTableReadProperty provides access to the Table object itself
RowCollectionRowCollectionReadProperty provides the table’s row collection
ColumnCollectionColumnCollectionReadProperty provides the table’s column collection
ITableFormatITableFormatReadProperty provides the table format interface
TableFormatTableFormatReadProperty provides the concrete table format object
TableStylePresetTableStylePresetReadReturns the preset style applied to the table
IGraphicalObjectLockIGraphicalObjectLockReadReturns the lock interface controlling object editing
IGraphicalObjectIGraphicalObjectReadReturns the graphical object interface for the table
IBulkTextFormattableIBulkTextFormattableReadReturns the bulk text formatting interface

Methods

SignatureDescription
Table()TableProperty provides access to the Table object itself
Table()Table
RowCollection()RowCollectionProperty provides the table’s row collection
RowCollection()RowCollection
ColumnCollection()ColumnCollectionProperty provides the table’s column collection
ColumnCollection()ColumnCollection
ITableFormat()ITableFormatProperty provides the table format interface
TableFormat()TableFormatProperty provides the concrete table format object
TableStylePreset()TableStylePresetReturns the preset style applied to the table
IGraphicalObjectLock()IGraphicalObjectLockReturns the lock interface controlling object editing
IGraphicalObject()IGraphicalObjectReturns the graphical object interface for the table
IBulkTextFormattable()IBulkTextFormattableReturns 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_nodeReturns the cached node, or an empty node if not present.
ensure_tbl_pr()pugi::xml_nodeReturns the node, creating it as the first child of if absent.
get_bool_attr(attr_name: std::string_view)boolReads 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_nodeFinds the table style element — or legacy .
read_style_guid(style_el: pugi::xml_node)std::stringReads the GUID string from a style element (text content or val attribute).