Foxit PDF SDK
foxit::addon::accessibility::TableCellAttribute类 参考

继承自 Object .

Public 类型

enum  TableCellType { e_TableCellTypeHeader = 0, e_TableCellTypeData = 1 }
 表格单元格类型的枚举。 更多...
 

Public 成员函数

 TableCellAttribute ()
 构造函数。
 
 TableCellAttribute (const TableCellAttribute &other)
 构造函数,使用另一个辅助功能单元格属性对象。 更多...
 
TableCellAttribute & operator= (const TableCellAttribute &other)
 赋值操作符。 更多...
 
void Set (int row_span, int column_span, TableCellType type, String scope, WString cell_id, WStringArray associated_array)
 设置值。 更多...
 

Public 属性

WStringArray associated_array
 关联表格单元格的 ID 数组。
 
WString cell_id
 表格单元格 ID。
 
int column_span
 表格单元格跨列数。
 
int row_span
 表格单元格跨行数。
 
String scope
 表格单元格作用域。
 
TableCellType type
 表格单元格类型。请参见从 TableCellAttribute::e_TableCellTypeHeader 开始的值。
 

详细描述

此类表示用于表格编辑的表格单元格属性。

成员枚举类型说明

◆ TableCellType

表格单元格类型的枚举。

此枚举的值应单独使用。

枚举值
e_TableCellTypeHeader 

表格单元格类型:表头。

e_TableCellTypeData 

表格单元格类型:数据。

构造及析构函数说明

◆ TableCellAttribute()

foxit::addon::accessibility::TableCellAttribute::TableCellAttribute ( const TableCellAttribute &  other)
inline

构造函数,使用另一个辅助功能单元格属性对象。

参数
[in]other另一个单元格属性对象。

成员函数说明

◆ operator=()

TableCellAttribute& foxit::addon::accessibility::TableCellAttribute::operator= ( const TableCellAttribute &  other)
inline

赋值操作符。

参数
[in]other另一个单元格属性对象,其值将被赋给当前对象。
返回
当前对象自身的引用。

◆ Set()

void foxit::addon::accessibility::TableCellAttribute::Set ( int  row_span,
int  column_span,
TableCellType  type,
String  scope,
WString  cell_id,
WStringArray  associated_array 
)
inline

设置值。

参数
[in]row_span表格单元格跨行数。
[in]column_span表格单元格跨列数。
[in]type表格单元格类型。请参见从 TableCellAttribute::e_TableCellTypeHeader 开始的值。
[in]scope表格单元格作用域。
[in]cell_id表格单元格 ID。
[in]associated_array表格单元格关联的 ID 数组。
返回
无。