This class represents an array of TableCellData objects,inserted in the order of the displayed table from left to right.
More...
Inherits Object.
This class represents an array of TableCellData objects,inserted in the order of the displayed table from left to right.
◆ TableCellDataColArray()
foxit::addon::tablegenerator::TableCellDataColArray::TableCellDataColArray |
( |
const TableCellDataColArray & |
other | ) |
|
Constructor, with another array object.
- Parameters
-
[in] | other | Another array object.
|
◆ Add()
void foxit::addon::tablegenerator::TableCellDataColArray::Add |
( |
const TableCellData & |
element | ) |
|
Add an element to the end of current array.
- Parameters
-
[in] | element | New element to be added to current array. |
- Returns
- None.
◆ GetAt()
TableCellData foxit::addon::tablegenerator::TableCellDataColArray::GetAt |
( |
size_t |
index | ) |
const |
Retrieve a copy of the element at position specified by index in current array.
- Parameters
-
[in] | index | An index to specify which element is to be retrieved. |
- Returns
- A copy of an element.
◆ GetSize()
size_t foxit::addon::tablegenerator::TableCellDataColArray::GetSize |
( |
| ) |
const |
Get the size of elements in current array.
- Returns
- The size.
◆ InsertAt()
void foxit::addon::tablegenerator::TableCellDataColArray::InsertAt |
( |
size_t |
index, |
|
|
const TableCellData & |
element |
|
) |
| |
Insert an element before the position specified by index.
- Parameters
-
[in] | index | An index to specify where to insert the new element. Valid range: from 0 to (size-1). size is the size of elements in current array. |
[in] | element | New element to be inserted to current array. |
- Returns
- None.
◆ operator=()
Assign operator.
- Parameters
-
[in] | other | Another array object, whose value will be assigned to current object. |
- Returns
- Reference to current object itself.
◆ operator[]()
TableCellData& foxit::addon::tablegenerator::TableCellDataColArray::operator[] |
( |
size_t |
index | ) |
const |
Retrieve a reference to the element at position specified by index in current array.
- Parameters
-
[in] | index | An index to specify which element is to be retrieved. |
- Returns
- Reference to an element.
◆ RemoveAll()
void foxit::addon::tablegenerator::TableCellDataColArray::RemoveAll |
( |
| ) |
|
Remove all the element from current array.
- Returns
- None.
◆ RemoveAt()
void foxit::addon::tablegenerator::TableCellDataColArray::RemoveAt |
( |
size_t |
index | ) |
|
Remove the element in position specified by index.
- Parameters
-
[in] | index | An index to specify which element is to be removed. Valid range: from 0 to (size-1). size is the size of elements in current array. |
- Returns
- None.