@API(type=EXTENDABLE, src=PUBLIC) public interface AuthorTableCellSepProvider extends Extension
Modifier and Type | Method and Description |
---|---|
boolean |
getColSep(AuthorElement cellElement,
int columnIndex)
Checks if a separator should be placed at the cell right.
|
boolean |
getRowSep(AuthorElement cellElement,
int columnIndex)
Checks if a separator should be placed at the cell bottom.
|
void |
init(AuthorElement tableElement)
This method is called when starting to compute the layout for a table.
|
getDescription
boolean getColSep(AuthorElement cellElement, int columnIndex)
true
.cellElement
- The node that represents a table cell in CSS.columnIndex
- The index of the column, used to identify the colspec associated
to the cell. The colspec can give information about the colsep. 1 based.true
if a separator should be placed at its right, false
otherwise.boolean getRowSep(AuthorElement cellElement, int columnIndex)
true
.cellElement
- The node that represents a table cell in CSS.columnIndex
- The index of the column, used to identify the rowspec associated
to the cell. The rowspec can give information about the colsep. 1 based.true
if a separator should be placed at its right, false
otherwise.void init(AuthorElement tableElement)
colsep
and rowsep
elements from that table.
A new instance of the table cell span provider is used for every table in a document so
cached data cannot be used between different tables..tableElement
- The AuthorElement
representing a table (it has the CSS display property
set on 'table').© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.