|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.dita.map.table.ReltableCellSpanProvider
@API(type=INTERNAL, src=PUBLIC) public class ReltableCellSpanProvider
The DITA reltable cell span provider.
Constructor Summary | |
---|---|
ReltableCellSpanProvider()
|
Method Summary | |
---|---|
java.lang.Integer |
getColSpan(AuthorElement cellElement)
Get the number of columns the given cell spans across. |
java.lang.String |
getDescription()
|
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 class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReltableCellSpanProvider()
Method Detail |
---|
public java.lang.Integer getColSpan(AuthorElement cellElement)
AuthorTableCellSpanProvider
spanspec
attribute. In case the spanspec
attribute is missing then the column span is defined by the namest
and nameend
attribute.
getColSpan
in interface AuthorTableCellSpanProvider
cellElement
- The node that represents a table cell in CSS.
null
if not specified.AuthorTableCellSpanProvider.getColSpan(AuthorElement)
public java.lang.Integer getRowSpan(AuthorElement cellElement)
AuthorTableCellSpanProvider
morerows
attribute.
getRowSpan
in interface AuthorTableCellSpanProvider
cellElement
- The AuthorElement
that represents a table cell in CSS.
null
if not specified.AuthorTableCellSpanProvider.getRowSpan(AuthorElement)
public void init(AuthorElement tableElement)
AuthorTableCellSpanProvider
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..
init
in interface AuthorTableCellSpanProvider
tableElement
- The AuthorElement
representing a table (it has the CSS display property
set on 'table').AuthorTableCellSpanProvider.init(AuthorElement)
public java.lang.String getDescription()
getDescription
in interface Extension
Extension.getDescription()
public boolean hasColumnSpecifications(AuthorElement tableElement)
AuthorTableCellSpanProvider
colspec
elements to be present.
hasColumnSpecifications
in interface AuthorTableCellSpanProvider
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.AuthorTableCellSpanProvider.hasColumnSpecifications(ro.sync.ecss.extensions.api.node.AuthorElement)
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |