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描述情况
TableTable阅读获取表。.
RowCollectionRowCollection阅读获取行集合。.
ColumnCollectionColumnCollection阅读获取列集合。.
ITableFormatITableFormat阅读获取 i 表格格式。.
TableFormatTableFormat阅读获取表格格式。.
TableStylePresetTableStylePreset阅读获取表格样式预设。.
IGraphicalObjectLockIGraphicalObjectLock阅读获取 i 图形对象锁。.
IGraphicalObjectIGraphicalObject阅读获取 i 图形对象。.
IBulkTextFormattableIBulkTextFormattable阅读获取 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返回元素.

查看更多

 中文