Class 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 (the AuthorClipboardObject contains a field of TableRowsSpecificationInformation type), so it will be serialized.
    Since:
    18
    See Also:
    Serialized Form
    • Constructor Detail

      • TableRowsSpecificationInformation

        public TableRowsSpecificationInformation​(int sourceTableColumnsCount)
        Constructor.
        Parameters:
        sourceTableColumnsCount - The number of columns from source table.
    • 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.