#include <ContentTree.h>
Inheritance diagram for pdftron::Layout::TableCell:Public Types | |
| enum | CellAlignmentVertical { e_alignment_top = 1, e_alignment_center = 2, e_alignment_bottom = 3 } |
| enum | CellAlignmentHorizontal { e_alignment_left = 1, e_alignment_middle = 2, e_alignment_right = 3 } |
Friends | |
| class | Table |
| class | TableRow |
| class | ElementRef< TableCell > |
Additional Inherited Members | |
Public Attributes inherited from pdftron::Layout::ContentElement | |
| TRN_ContentElement | m_impl |
Protected Member Functions inherited from pdftron::Layout::ContentNode | |
| ContentNode (TRN_ContentNode impl) | |
Protected Member Functions inherited from pdftron::Layout::ContentElement | |
| ContentElement (TRN_ContentElement impl) | |
A class representing a table cell, which can be used during document creation.
Definition at line 575 of file ContentTree.h.
| Enumerator | |
|---|---|
| e_alignment_left |
Cell content is left-aligned |
| e_alignment_middle |
Cell content is horizontally centered |
| e_alignment_right |
Cell content is right-aligned |
Definition at line 603 of file ContentTree.h.
| Enumerator | |
|---|---|
| e_alignment_top |
Cell content is top-aligned |
| e_alignment_center |
Cell content is vertically centered |
| e_alignment_bottom |
Cell content is bottom-aligned |
Definition at line 587 of file ContentTree.h.
| pdftron::Layout::TableCell::~TableCell | ( | ) |
| Paragraph pdftron::Layout::TableCell::AddParagraph | ( | ) |
Add an empty paragraph to the cell
Add a paragraph with text to the cell
| Table pdftron::Layout::TableCell::AddTable | ( | ) |
Add a nested table to the cell
| void pdftron::Layout::TableCell::Destroy | ( | ) |
| double pdftron::Layout::TableCell::GetBorderThickness | ( | ) |
Get the border thickness of the table cell
| double pdftron::Layout::TableCell::GetHeight | ( | ) |
Get the height of the cell
| CellAlignmentHorizontal pdftron::Layout::TableCell::GetHorizontalAlignment | ( | ) |
Get the horizontal alignment of the cell
| CellAlignmentVertical pdftron::Layout::TableCell::GetVerticalAlignment | ( | ) |
Get the vertical alignment of the cell
| double pdftron::Layout::TableCell::GetWidth | ( | ) |
Get the width of the cell
Merge the cell with the specified number of cells downwards
Merge the cell with the specified number of cells to the right
Set the background color of the cell
| red | The red component of the border color |
| green | The green component of the border color |
| blue | The blue component of the border color |
Set the cell's border thickness and color
| thickness | The thickness of the border |
| red | The red component of the border color |
| green | The green component of the border color |
| blue | The blue component of the border color |
| void pdftron::Layout::TableCell::SetHeight | ( | double | val | ) |
Set the height of the cell
| val | The height of the cell |
| void pdftron::Layout::TableCell::SetHorizontalAlignment | ( | CellAlignmentHorizontal | val | ) |
Set horizontal alignment of the cell
| val | The horizontal alignment of the cell |
| void pdftron::Layout::TableCell::SetVerticalAlignment | ( | CellAlignmentVertical | val | ) |
Set the vertical alignment of the cell
| val | The vertical alignment of the cell |
| void pdftron::Layout::TableCell::SetWidth | ( | double | val | ) |
Set the width of the cell
| val | The width of the cell |
|
friend |
Definition at line 579 of file ContentTree.h.
|
friend |
Definition at line 577 of file ContentTree.h.
|
friend |
Definition at line 578 of file ContentTree.h.