Foxit PDF SDK
foxit::addon::accessibility::TableCellAttribute Class Reference

Inherits Object.

Public Types

enum  TableCellType { e_TableCellTypeHeader = 0, e_TableCellTypeData = 1 }
 Enumeration for table cell type. More...
 

Public Member Functions

 TableCellAttribute ()
 Constructor.
 
 TableCellAttribute (const TableCellAttribute &other)
 Constructor, with another accessibility cell attribute object. More...
 
TableCellAttribute & operator= (const TableCellAttribute &other)
 Assign operator. More...
 
void Set (int row_span, int column_span, TableCellType type, String scope, WString cell_id, WStringArray associated_array)
 Set value. More...
 

Public Attributes

WStringArray associated_array
 The ID array of associated table cells.
 
WString cell_id
 The table cell ID.
 
int column_span
 The table cell column span.
 
int row_span
 The table cell row span.
 
String scope
 The table cell scope.
 
TableCellType type
 The table cell type. Please refer to values starting from TableCellAttribute::e_TableCellTypeHeader.
 

Detailed Description

This class represents a table cell attribute for table editing.

Member Enumeration Documentation

◆ TableCellType

Enumeration for table cell type.

Values of this enumeration should be used alone.

Enumerator
e_TableCellTypeHeader 

Table cell type : header.

e_TableCellTypeData 

Table cell type : data.

Constructor & Destructor Documentation

◆ TableCellAttribute()

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

Constructor, with another accessibility cell attribute object.

Parameters
[in]otherAnother cell attribute object.

Member Function Documentation

◆ operator=()

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

Assign operator.

Parameters
[in]otherAnother cell attribute object, whose value would be assigned to current object.
Returns
Reference to current object itself.

◆ Set()

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

Set value.

Parameters
[in]row_spanThe table cell row span.
[in]column_spanThe table cell column span.
[in]typeThe table cell type. Please refer to values starting from TableCellAttribute::e_TableCellTypeHeader.
[in]scopeThe table cell scope.
[in]cell_idThe table cell ID.
[in]associated_arrayThe ID array of table cell associated.
Returns
None.