Table
概述
Table 是 C++ 的 FOSS 中的 Aspose.Slides 类.
代表一个表形状的幻灯片.
本类提供了55种方法,用于在C++程序中使用表对象. 有的方法包括: ColumnCollection, IBulkTextFormattable, IGraphicalObject, IGraphicalObjectLock, ITableFormat, RowCollection, Table, TableFormat, TableStylePreset, as_i_bulk_text_formattable, as_i_graphical_object, cell,其他 33 种方法. 在安装了Aspose.Slides FOSS for C++ 包后,所有公众成员都可以访问任何C ++应用程序. 特性: ColumnCollection, IBulkTextFormattable, IGraphicalObject, IGraphicalObjectLock, ITableFormat, RowCollection,另外还有3个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
Table | Table | 阅读 | 获取表。. |
RowCollection | RowCollection | 阅读 | 获取行集合。. |
ColumnCollection | ColumnCollection | 阅读 | 获取列集合。. |
ITableFormat | ITableFormat | 阅读 | 获取 i 表格格式。. |
TableFormat | TableFormat | 阅读 | 获取表格格式。. |
TableStylePreset | TableStylePreset | 阅读 | 获取表格样式预设。. |
IGraphicalObjectLock | IGraphicalObjectLock | 阅读 | 获取 i 图形对象锁。. |
IGraphicalObject | IGraphicalObject | 阅读 | 获取 i 图形对象。. |
IBulkTextFormattable | IBulkTextFormattable | 阅读 | 获取 i bulk text formattable。. |
方法
| Signature | 描述情况 |
|---|---|
Table() → Table | 属性提供访问表对象本身. |
Table() → Table | |
RowCollection() → RowCollection | 属性提供表的行集合. |
RowCollection() → RowCollection | |
ColumnCollection() → ColumnCollection | 属性提供表的列集合. |
ColumnCollection() → ColumnCollection | |
ITableFormat() → ITableFormat | 属性提供表格式接口 |
TableFormat() → TableFormat | 属性提供了具体表格式对象. |
TableStylePreset() → TableStylePreset | 返回表上应用的预设样式. |
IGraphicalObjectLock() → IGraphicalObjectLock | 返回锁定控制对象编辑的接口 |
IGraphicalObject() → IGraphicalObject | 返回表的图形对象接口 |
IBulkTextFormattable() → IBulkTextFormattable | 返回大文本格式化界面 |
Table() | |
Table() | |
~Table() | |
Table() | |
init_internal(xml_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide) | 启动此表从一个XML元素在幻灯片部分. |
rows() → RowCollection | 返回该表中的行集合. |
rows() → RowCollection | 返回该表中的行集合. |
columns() → ColumnCollection | 返回该表中的列集合. |
columns() → ColumnCollection | 返回该表中的列集合. |
cell(row: std::size_t, col: std::size_t) → Cell | 返回给定的行和列中的单元格. |
table_format() → ITableFormat | 返回 TableFormat 对象.只读取. |
table_format_obj() → TableFormat | |
style_preset() → TableStylePreset | 获取内置表格样式预设。. |
set_style_preset(value: TableStylePreset) | 设置内置表格样式预设。. |
right_to_left() → bool | 确定表是否有右到左读序. |
set_right_to_left(value: bool) | |
first_row() → bool | 确定第一行是否具有特殊格式. |
set_first_row(value: bool) | |
first_col() → bool | 确定第一个列是否具有特殊格式. |
set_first_col(value: bool) | |
last_row() → bool | 确定最后一行是否具有特殊格式. |
set_last_row(value: bool) | |
last_col() → bool | 确定最后一列是否具有特殊格式. |
set_last_col(value: bool) | |
horizontal_banding() → bool | 确定偶数行是否有不同的格式. |
set_horizontal_banding(value: bool) | |
vertical_banding() → bool | 确定哪些列的格式不同. |
set_vertical_banding(value: bool) | |
graphical_object_lock() → IGraphicalObjectLock | 返回nullptr图形对象锁尚未实现. |
as_i_graphical_object() → IGraphicalObject | 返回基本 IGraphicalObject 接口. |
as_i_bulk_text_formattable() → IBulkTextFormattable | 返回基本 IBulkTextFormattable 接口. |
merge_cells(cell1: Cell, cell2: Cell, allow_splitting: bool) → Cell | 合并两个细胞,扩展 cell1 以覆盖两种细胞的区域. |
set_text_format(source: IPortionFormat) | IBulkTextFormattable 取消 (对接口无操作的标签). |
set_text_format(source: IParagraphFormat) | IBulkTextFormattable 取消 (对接口无操作的标签). |
set_text_format(source: ITextFrameFormat) | IBulkTextFormattable 取消 (对接口无操作的标签). |
get_tbl_pr() → pugi::xml_node | 返回缓存的节点,或者如果没有空节位. |
ensure_tbl_pr() → pugi::xml_node | 返回节点,将其作为 if absent 的第一个子. |
get_bool_attr(attr_name: std::string_view) → bool | 从 (“1” = true, absent/“0” = false) 读取一个布尔属性. |
set_bool_attr(attr_name: std::string_view, value: bool) | 在 <element> 上设置或移除布尔属性,然后保存。. |
find_style_element(tbl_pr: pugi::xml_node) → pugi::xml_node | 找到表格式元素或遗留 . |
read_style_guid(style_el: pugi::xml_node) → std::string | 从风格元素 (文本内容或val属性) 读取 GUID字符串. |
xml_element() → pugi::xml_node | 返回后备XML元素. |
tbl() → pugi::xml_node | 返回元素. |