com.aspose.pdf.tagged.logicalstructure.elements.bls

Class TableElement



  • public final class TableElement
    extends BLSElement

    Represents Table structure element in logical structure.

    • Constructor Detail

      • TableElement

        public TableElement(TaggedContext taggedContext,
                            com.aspose.pdf.engine.data.IPdfPrimitive pdfEngineEntity)
        constructor for internal usage only
        Parameters:
        taggedContext - TaggedContext instance
        pdfEngineEntity - internal instance
    • Method Detail

      • getTable

        public final Table getTable()
      • getBackgroundColor

        public final Color getBackgroundColor()

        Gets or sets the table background color.

        Returns:
        Color instance
      • setBackgroundColor

        public final void setBackgroundColor(Color value)

        Gets or sets the table background color.

        Parameters:
        value - Color instance
      • getBorder

        public final BorderInfo getBorder()

        Gets or sets the table border.

        Returns:
        BorderInfo instance
      • setBorder

        public final void setBorder(BorderInfo value)

        Gets or sets the table border.

        Parameters:
        value - BorderInfo instance
      • getAlignment

        public final int getAlignment()

        Gets or sets the table alignment.

        Returns:
        HorizontalAlignment element
      • setAlignment

        public final void setAlignment(int value)

        Gets or sets the table alignment.

        Parameters:
        value - HorizontalAlignment element
      • getCornerStyle

        public final int getCornerStyle()

        Gets or sets the styles of the border corners

        Returns:
        BorderCornerStyle element
      • setCornerStyle

        public final void setCornerStyle(int value)

        Gets or sets the styles of the border corners

        Parameters:
        value - BorderCornerStyle element
      • getBroken

        public final int getBroken()

        Gets or sets table vertical broken;

        Returns:
        TableBroken element
      • setBroken

        public final void setBroken(int value)

        Gets or sets table vertical broken;

        Parameters:
        value - TableBroken element
      • getColumnAdjustment

        public final int getColumnAdjustment()

        Gets or sets the table column adjustment.

        Returns:
        ColumnAdjustment element
      • setColumnAdjustment

        public final void setColumnAdjustment(int value)

        Gets or sets the table column adjustment.

        Parameters:
        value - ColumnAdjustment element
      • getColumnWidths

        public final String getColumnWidths()

        Gets the column widths of the table.

        Returns:
        String value
      • setColumnWidths

        public final void setColumnWidths(String value)

        Gets the column widths of the table.

        Parameters:
        value - String value
      • getDefaultCellBorder

        public final BorderInfo getDefaultCellBorder()

        Gets default cell border.

        Returns:
        BorderInfo instance
      • setDefaultCellBorder

        public final void setDefaultCellBorder(BorderInfo value)

        Gets default cell border.

        Parameters:
        value - BorderInfo instance
      • getDefaultCellPadding

        public final MarginInfo getDefaultCellPadding()

        Gets or sets the default cell padding.

        Returns:
        MarginInfo instance
      • setDefaultCellPadding

        public final void setDefaultCellPadding(MarginInfo value)

        Gets or sets the default cell padding.

        Parameters:
        value - MarginInfo instance
      • getDefaultCellTextState

        public final TextState getDefaultCellTextState()

        Gets or sets the default cell text state.

        Returns:
        TextState instance
      • setDefaultCellTextState

        public final void setDefaultCellTextState(TextState value)

        Gets or sets the default cell text state.

        Parameters:
        value - TextState instance
      • getDefaultColumnWidth

        public final String getDefaultColumnWidth()

        Gets or sets default column width.

        Returns:
        String value
      • setDefaultColumnWidth

        public final void setDefaultColumnWidth(String value)

        Gets or sets default column width.

        Parameters:
        value - String value
      • isBroken

        public final boolean isBroken()

        Gets or sets the table is broken - will be truncated for next page.

        Returns:
        boolean value
      • setBroken

        public final void setBroken(boolean value)

        Gets or sets the table is broken - will be truncated for next page.

        Parameters:
        value - boolean value
      • isBordersIncluded

        public final boolean isBordersIncluded()

        Gets or sets border included in column widhts.

        Returns:
        boolean value
      • setBordersIncluded

        public final void setBordersIncluded(boolean value)

        Gets or sets border included in column widhts.

        Parameters:
        value - boolean value
      • getLeft

        public final float getLeft()

        Gets or sets the table left coordinate.

        Returns:
        float value
      • setLeft

        public final void setLeft(float value)

        Gets or sets the table left coordinate.

        Parameters:
        value - float value
      • getTop

        public final float getTop()

        Gets or sets the table top coordinate.

        Returns:
        float value
      • setTop

        public final void setTop(float value)

        Gets or sets the table top coordinate.

        Parameters:
        value - float value
      • getRepeatingColumnsCount

        public final int getRepeatingColumnsCount()

        Gets or sets the maximum columns count for table.

        Returns:
        int value
      • setRepeatingColumnsCount

        public final void setRepeatingColumnsCount(int value)

        Gets or sets the maximum columns count for table.

        Parameters:
        value - int value
      • getRepeatingRowsCount

        public final int getRepeatingRowsCount()

        Gets the first rows count repeated for several pages.

        Returns:
        int value
      • setRepeatingRowsCount

        public final void setRepeatingRowsCount(int value)

        Gets the first rows count repeated for several pages.

        Parameters:
        value - int value
      • getRepeatingRowsStyle

        public final TextState getRepeatingRowsStyle()

        Gets the style for repeating rows.

        Returns:
        TextState instance
      • setRepeatingRowsStyle

        public final void setRepeatingRowsStyle(TextState value)

        Gets the style for repeating rows.

        Parameters:
        value - TextState instance