Class TableRowsSpecificationInformation
java.lang.Object
ro.sync.ecss.extensions.api.table.operations.TableRowsSpecificationInformation
- All Implemented Interfaces:
Serializable
,AuthorContentMetadata
@API(type=EXTENDABLE,
src=PUBLIC)
public class TableRowsSpecificationInformation
extends Object
implements AuthorContentMetadata
Contains information about rows (like the place where empty cells must be
inserted to compensate the spanning cells).
It can be extended to provide specific table rows properties for different
types of tables or document types.
This information is requested when table rows are copied or dragged and it can be used when the rows must be inserted in the document (on paste or drop). Please note that when a column is copied the table column specification information will be copied into the clipboard (the
This information is requested when table rows are copied or dragged and it can be used when the rows must be inserted in the document (on paste or drop). Please note that when a column is copied the table column specification information will be copied into the clipboard (the
AuthorClipboardObject
contains
a field of TableRowsSpecificationInformation
type),
so it will be serialized.
- Since:
- 18
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addSpanningCellIndexes
(List<Integer> indexes) Add spanning cells indexes.int
The number of columns from source table.
-
Constructor Details
-
TableRowsSpecificationInformation
public TableRowsSpecificationInformation(int sourceTableColumnsCount) Constructor.- Parameters:
sourceTableColumnsCount
- The number of columns from source table.
-
-
Method Details
-
addSpanningCellIndexes
Add spanning cells indexes.- Parameters:
indexes
- Spanning cell indexes (starts with 0)
-
getSpanningCellIndexes
- Returns:
- Returns the spanning cell indexes.
-
getSourceTableColumnsCount
public int getSourceTableColumnsCount()The number of columns from source table.- Returns:
- Returns the sourceTableColumnsCount.
-