@API(type=INTERNAL, src=PUBLIC) public class DocbookCALSTableHelper extends TablePropertiesHelperBase
ALIGN, ATTR_NOT_SET, BOTTOM, CENTER, CHAR, COLSEP, EMPTY_ICON, FRAME, ICON_ALIGN_CENTER, ICON_ALIGN_JUSTIFY, ICON_ALIGN_LEFT, ICON_ALIGN_RIGHT, ICON_COL_ROW_SEP, ICON_COLSEP, ICON_FRAME_ALL, ICON_FRAME_BOTTOM, ICON_FRAME_LHS, ICON_FRAME_RHS, ICON_FRAME_SIDES, ICON_FRAME_TOP, ICON_FRAME_TOPBOT, ICON_ROW_TYPE_BODY, ICON_ROW_TYPE_FOOTER, ICON_ROW_TYPE_HEADER, ICON_ROWSEP, ICON_VALIGN_BOTTOM, ICON_VALIGN_MIDDLE, ICON_VALIGN_TOP, JUSTIFY, LEFT, MIDDLE, NOT_COMPUTED, PRESERVE, RIGHT, ROW_TYPE, ROW_TYPE_BODY, ROW_TYPE_FOOTER, ROW_TYPE_HEADER, ROW_TYPE_PROPERTY, ROWSEP, TOP, VALIGN
TYPE_BODY, TYPE_BODY_DESC_CELL, TYPE_CELL, TYPE_COLSPEC, TYPE_FOOTER, TYPE_GROUP, TYPE_HEADER, TYPE_HEADER_CELL, TYPE_HEADER_DESC_CELL, TYPE_ROW, TYPE_TABLE
Constructor and Description |
---|
DocbookCALSTableHelper() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsFooter()
true if the current table allows footer element. |
java.lang.String |
getElementTag(int elementType)
Obtain the element name.
|
boolean |
isTable(AuthorElement element)
Checks if the given node represents the table element.
|
boolean |
isTableBody(AuthorElement node)
Checks if the given node represents a table body element.
|
boolean |
isTableCell(AuthorElement element)
Checks if the given node represents a table cell element.
|
boolean |
isTableColspec(AuthorElement element)
Checks if the given node represents a table colspec element.
|
boolean |
isTableFoot(AuthorElement element)
Checks if the given node represents a table foot element.
|
boolean |
isTableGroup(AuthorElement element)
Checks if the given node represents a table group element.
|
boolean |
isTableHead(AuthorElement node)
Checks if the given node represents a table head element.
|
boolean |
isTableRow(AuthorElement node)
Checks if the given node represents a table row element.
|
getElementName, getElementType, getFirstChildOfTypeFromParentWithType, isNodeOfType
public boolean isTableBody(AuthorElement node)
TablePropertiesHelper
isTableBody
in interface TablePropertiesHelper
isTableBody
in class TablePropertiesHelperBase
node
- The node to be checked.true
if the given node is a table body element.TablePropertiesHelper.isTableBody(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTableRow(AuthorElement node)
TablePropertiesHelper
isTableRow
in interface TablePropertiesHelper
isTableRow
in class TablePropertiesHelperBase
node
- The node to be checked.true
if the given node is a table row element.TablePropertiesHelper.isTableRow(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTableHead(AuthorElement node)
TablePropertiesHelper
isTableHead
in interface TablePropertiesHelper
isTableHead
in class TablePropertiesHelperBase
node
- The node to be checked.true
if the given node is a table head element.TablePropertiesHelper.isTableHead(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTableFoot(AuthorElement element)
TablePropertiesHelper
isTableFoot
in interface TablePropertiesHelper
isTableFoot
in class TablePropertiesHelperBase
element
- The node to be checked.true
if the given node is a table foot element.TablePropertiesHelper.isTableHead(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTable(AuthorElement element)
TableHelper
isTable
in interface TableHelper
isTable
in class TablePropertiesHelperBase
element
- The node to be checked.true
if the given node is the table element.TablePropertiesHelper.isTableHead(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTableGroup(AuthorElement element)
TableHelper
isTableGroup
in interface TableHelper
isTableGroup
in class TablePropertiesHelperBase
element
- The node to be checked.true
if the given node is the table group element.TablePropertiesHelper.isTableHead(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTableColspec(AuthorElement element)
TablePropertiesHelper
isTableColspec
in interface TablePropertiesHelper
isTableColspec
in class TablePropertiesHelperBase
element
- The node to be checked.true
if the given node is a table colspec element.TablePropertiesHelper.isTableColspec(ro.sync.ecss.extensions.api.node.AuthorElement)
public boolean isTableCell(AuthorElement element)
TablePropertiesHelper
isTableCell
in interface TablePropertiesHelper
isTableCell
in class TablePropertiesHelperBase
element
- The node to be checked.true
if the given node is a table cell element.TablePropertiesHelperBase.isTableCell(ro.sync.ecss.extensions.api.node.AuthorElement)
public java.lang.String getElementTag(int elementType)
TablePropertiesHelper
getElementTag
in interface TablePropertiesHelper
getElementTag
in class TablePropertiesHelperBase
elementType
- The type of the element.TablePropertiesHelperBase.getElementTag(int)
public boolean allowsFooter()
TablePropertiesHelper
true
if the current table allows footer element.allowsFooter
in interface TablePropertiesHelper
allowsFooter
in class TablePropertiesHelperBase
true
if the table allows footer.TablePropertiesHelperBase.allowsFooter()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.