public final class TableElement extends BLSElement
Represents Table structure element in logical structure.
Constructor and Description |
---|
TableElement(TaggedContext taggedContext,
com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
constructor for internal usage only
|
Modifier and Type | Method and Description |
---|---|
TableTBodyElement |
createTBody()
Creates
TableTHeadElement and added it to current table. |
TableTFootElement |
createTFoot()
Creates
TableTFootElement and added it to current table. |
TableTHeadElement |
createTHead()
Creates
TableTHeadElement and added it to current table. |
int |
getAlignment()
Gets or sets the table alignment.
|
Color |
getBackgroundColor()
Gets or sets the table background color.
|
BorderInfo |
getBorder()
Gets or sets the table border.
|
int |
getBroken()
Gets or sets table vertical broken;
|
int |
getColumnAdjustment()
Gets or sets the table column adjustment.
|
String |
getColumnWidths()
Gets the column widths of the table.
|
int |
getCornerStyle()
Gets or sets the styles of the border corners
|
BorderInfo |
getDefaultCellBorder()
Gets default cell border.
|
MarginInfo |
getDefaultCellPadding()
Gets or sets the default cell padding.
|
TextState |
getDefaultCellTextState()
Gets or sets the default cell text state.
|
String |
getDefaultColumnWidth()
Gets or sets default column width.
|
float |
getLeft()
Gets or sets the table left coordinate.
|
int |
getRepeatingColumnsCount()
Gets or sets the maximum columns count for table.
|
int |
getRepeatingRowsCount()
Gets the first rows count repeated for several pages.
|
TextState |
getRepeatingRowsStyle()
Gets the style for repeating rows.
|
Table |
getTable() |
float |
getTop()
Gets or sets the table top coordinate.
|
boolean |
isBordersIncluded()
Gets or sets border included in column widhts.
|
boolean |
isBroken()
Gets or sets the table is broken - will be truncated for next page.
|
void |
setAlignment(int value)
Gets or sets the table alignment.
|
void |
setBackgroundColor(Color value)
Gets or sets the table background color.
|
void |
setBorder(BorderInfo value)
Gets or sets the table border.
|
void |
setBordersIncluded(boolean value)
Gets or sets border included in column widhts.
|
void |
setBroken(boolean value)
Gets or sets the table is broken - will be truncated for next page.
|
void |
setBroken(int value)
Gets or sets table vertical broken;
|
void |
setColumnAdjustment(int value)
Gets or sets the table column adjustment.
|
void |
setColumnWidths(String value)
Gets the column widths of the table.
|
void |
setCornerStyle(int value)
Gets or sets the styles of the border corners
|
void |
setDefaultCellBorder(BorderInfo value)
Gets default cell border.
|
void |
setDefaultCellPadding(MarginInfo value)
Gets or sets the default cell padding.
|
void |
setDefaultCellTextState(TextState value)
Gets or sets the default cell text state.
|
void |
setDefaultColumnWidth(String value)
Gets or sets default column width.
|
void |
setLeft(float value)
Gets or sets the table left coordinate.
|
void |
setRepeatingColumnsCount(int value)
Gets or sets the maximum columns count for table.
|
void |
setRepeatingRowsCount(int value)
Gets the first rows count repeated for several pages.
|
void |
setRepeatingRowsStyle(TextState value)
Gets the style for repeating rows.
|
void |
setTop(float value)
Gets or sets the table top coordinate.
|
changeParentElement, clearId, generateId, getActualText, getAlternativeText, getAttributes, getDefaultAttributeOwner, getExpansionText, getID, getLanguage, getS, getStructureType, getTitle, setActualText, setAlternativeText, setExpansionText, setId, setLanguage, setParentElement, setTag, setTitle, toString
appendChild, findElements, findElements, getChildElements, getElementEngine, getParentElement, getTaggedContent, getTrailer
public TableElement(TaggedContext taggedContext, com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
taggedContext
- TaggedContext instancepdfEngineEntity
- internal instancepublic final Table getTable()
public final Color getBackgroundColor()
Gets or sets the table background color.
public final void setBackgroundColor(Color value)
Gets or sets the table background color.
value
- Color instancepublic final BorderInfo getBorder()
Gets or sets the table border.
public final void setBorder(BorderInfo value)
Gets or sets the table border.
value
- BorderInfo instancepublic final int getAlignment()
Gets or sets the table alignment.
public final void setAlignment(int value)
Gets or sets the table alignment.
value
- HorizontalAlignment elementpublic final int getCornerStyle()
Gets or sets the styles of the border corners
public final void setCornerStyle(int value)
Gets or sets the styles of the border corners
value
- BorderCornerStyle elementpublic final int getBroken()
Gets or sets table vertical broken;
public final void setBroken(int value)
Gets or sets table vertical broken;
value
- TableBroken elementpublic final int getColumnAdjustment()
Gets or sets the table column adjustment.
public final void setColumnAdjustment(int value)
Gets or sets the table column adjustment.
value
- ColumnAdjustment elementpublic final String getColumnWidths()
Gets the column widths of the table.
public final void setColumnWidths(String value)
Gets the column widths of the table.
value
- String valuepublic final BorderInfo getDefaultCellBorder()
Gets default cell border.
public final void setDefaultCellBorder(BorderInfo value)
Gets default cell border.
value
- BorderInfo instancepublic final MarginInfo getDefaultCellPadding()
Gets or sets the default cell padding.
public final void setDefaultCellPadding(MarginInfo value)
Gets or sets the default cell padding.
value
- MarginInfo instancepublic final TextState getDefaultCellTextState()
Gets or sets the default cell text state.
public final void setDefaultCellTextState(TextState value)
Gets or sets the default cell text state.
value
- TextState instancepublic final String getDefaultColumnWidth()
Gets or sets default column width.
public final void setDefaultColumnWidth(String value)
Gets or sets default column width.
value
- String valuepublic final boolean isBroken()
Gets or sets the table is broken - will be truncated for next page.
public final void setBroken(boolean value)
Gets or sets the table is broken - will be truncated for next page.
value
- boolean valuepublic final boolean isBordersIncluded()
Gets or sets border included in column widhts.
public final void setBordersIncluded(boolean value)
Gets or sets border included in column widhts.
value
- boolean valuepublic final float getLeft()
Gets or sets the table left coordinate.
public final void setLeft(float value)
Gets or sets the table left coordinate.
value
- float valuepublic final float getTop()
Gets or sets the table top coordinate.
public final void setTop(float value)
Gets or sets the table top coordinate.
value
- float valuepublic final int getRepeatingColumnsCount()
Gets or sets the maximum columns count for table.
public final void setRepeatingColumnsCount(int value)
Gets or sets the maximum columns count for table.
value
- int valuepublic final int getRepeatingRowsCount()
Gets the first rows count repeated for several pages.
public final void setRepeatingRowsCount(int value)
Gets the first rows count repeated for several pages.
value
- int valuepublic final TextState getRepeatingRowsStyle()
Gets the style for repeating rows.
public final void setRepeatingRowsStyle(TextState value)
Gets the style for repeating rows.
value
- TextState instancepublic final TableTHeadElement createTHead()
Creates TableTHeadElement
and added it to current table.
public final TableTBodyElement createTBody()
Creates TableTHeadElement
and added it to current table.
public final TableTFootElement createTFoot()
Creates TableTFootElement
and added it to current table.