Class TableRowsSpecificationInformation
- java.lang.Object
-
- ro.sync.ecss.extensions.api.table.operations.TableRowsSpecificationInformation
-
- All Implemented Interfaces:
java.io.Serializable
,AuthorContentMetadata
@API(type=EXTENDABLE, src=PUBLIC) public class TableRowsSpecificationInformation extends java.lang.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 (theAuthorClipboardObject
contains a field ofTableRowsSpecificationInformation
type), so it will be serialized.- Since:
- 18
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TableRowsSpecificationInformation(int sourceTableColumnsCount)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSpanningCellIndexes(java.util.List<java.lang.Integer> indexes)
Add spanning cells indexes.int
getSourceTableColumnsCount()
The number of columns from source table.java.util.List<java.util.List<java.lang.Integer>>
getSpanningCellIndexes()
-
-
-
Method Detail
-
addSpanningCellIndexes
public void addSpanningCellIndexes(java.util.List<java.lang.Integer> indexes)
Add spanning cells indexes.- Parameters:
indexes
- Spanning cell indexes (starts with 0)
-
getSpanningCellIndexes
public java.util.List<java.util.List<java.lang.Integer>> getSpanningCellIndexes()
- Returns:
- Returns the spanning cell indexes.
-
getSourceTableColumnsCount
public int getSourceTableColumnsCount()
The number of columns from source table.- Returns:
- Returns the sourceTableColumnsCount.
-
-