public interface Table extends StructuralNode
| Modifier and Type | Interface and Description |
|---|---|
static class |
Table.HorizontalAlignment |
static class |
Table.VerticalAlignment |
SUBSTITUTION_ATTRIBUTES, SUBSTITUTION_MACROS, SUBSTITUTION_POST_REPLACEMENTS, SUBSTITUTION_QUOTES, SUBSTITUTION_REPLACEMENTS, SUBSTITUTION_SPECIAL_CHARACTERS| Modifier and Type | Method and Description |
|---|---|
java.util.List<Row> |
getBody() |
java.util.List<Column> |
getColumns() |
java.util.List<Row> |
getFooter() |
java.lang.String |
getFrame()
Returns the frame attribute of the table that defines what frame to render around the table.
|
java.lang.String |
getGrid()
Returns the grid attribute that defines what boundary lines to draw between rows and columns.
|
java.util.List<Row> |
getHeader() |
boolean |
hasHeaderOption() |
void |
setFrame(java.lang.String frame)
Sets the frame attribute.
|
void |
setGrid(java.lang.String grid)
Sets the value of the attribute.
|
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setStyle, setSubstitutions, setTitle, style, titleaddRole, context, document, getAttr, getAttr, getAttr, getAttribute, getAttribute, getAttribute, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasAttr, hasAttr, hasAttribute, hasAttribute, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isAttribute, isAttribute, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setAttribute, setIdboolean hasHeaderOption()
java.util.List<Column> getColumns()
java.util.List<Row> getHeader()
java.util.List<Row> getFooter()
java.util.List<Row> getBody()
java.lang.String getFrame()
all value, which draws a border on each side of the table.
If you set the frame attribute, you can override the default value with topbot, sides or none.void setFrame(java.lang.String frame)
frame - all, topbot, sides or nonegetFrame()java.lang.String getGrid()
all value, which draws lines around each cell.
Alternative values are cols to draw lines between columns, rows to draw boundary lines
between rows and none to draw no boundary linesgrid attribute, usually either all, cols, rows or nonevoid setGrid(java.lang.String grid)
grid - usually either all, cols, rows or nonegetGrid()