|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AuthorTableCellSpanProvider
This is an interface for classes which are responsible for providing information about the cell spanning. It should be implemented when the author extension being developed offers support for editing data in tabular form.
Method Summary | |
---|---|
java.lang.Integer |
getColSpan(AuthorElement cellElement)
Get the number of columns the given cell spans across. |
java.lang.Integer |
getRowSpan(AuthorElement cellElement)
Get the number of rows that the given cell spans across. |
boolean |
hasColumnSpecifications(AuthorElement tableElement)
This method tells if the table contains column specifications. |
void |
init(AuthorElement tableElement)
This method is called when starting to compute the layout for a table. |
Methods inherited from interface ro.sync.ecss.extensions.api.Extension |
---|
getDescription |
Method Detail |
---|
java.lang.Integer getColSpan(AuthorElement cellElement)
spanspec
attribute. In case the spanspec
attribute is missing then the column span is defined by the namest
and nameend
attribute.
cellElement
- The node that represents a table cell in CSS.
null
if not specified.java.lang.Integer getRowSpan(AuthorElement cellElement)
morerows
attribute.
cellElement
- The AuthorElement
that represents a table cell in CSS.
null
if not specified.void init(AuthorElement tableElement)
colspec
and spanspec
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').boolean hasColumnSpecifications(AuthorElement tableElement)
colspec
elements to be present.
tableElement
- The AuthorElement
that is rendered as a table.
true
if some column specification info is present or if the table doesn't
require any column specification info.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |