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

Class TableCellElement

    • Method Detail

      • getCell

        public final Cell getCell()
      • getBackgroundColor

        public final Color getBackgroundColor()

        Gets or sets the cell background color.

        Returns:
        Color instance
      • setBackgroundColor

        public final void setBackgroundColor(Color value)

        Gets or sets the cell background color.

        Parameters:
        value - Color instance
      • getBorder

        public final BorderInfo getBorder()

        Gets or sets the cell border.

        Returns:
        BorderInfo instance
      • setBorder

        public final void setBorder(BorderInfo value)

        Gets or sets the cell border.

        Parameters:
        value - BorderInfo instance
      • isNoBorder

        public final boolean isNoBorder()

        Gets or sets the cell have border.

        Returns:
        boolean value
      • setNoBorder

        public final void setNoBorder(boolean value)

        Gets or sets the cell have border.

        Parameters:
        value - boolean value
      • getMargin

        public final MarginInfo getMargin()

        Gets or sets the padding.

        Returns:
        MarginInfo instance
      • setMargin

        public final void setMargin(MarginInfo value)

        Gets or sets the padding.

        Parameters:
        value - MarginInfo instance
      • getAlignment

        public final int getAlignment()

        Gets or sets the cell alignment.

        Returns:
        HorizontalAlignment element
      • setAlignment

        public final void setAlignment(int value)

        Gets or sets the cell alignment.

        Parameters:
        value - HorizontalAlignment element
      • 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
      • isWordWrapped

        public final boolean isWordWrapped()

        Gets or sets the cell's text word wrapped.

        Returns:
        boolean value
      • setWordWrapped

        public final void setWordWrapped(boolean value)

        Gets or sets the cell's text word wrapped.

        Parameters:
        value - boolean value
      • getVerticalAlignment

        public final int getVerticalAlignment()

        Gets or sets the vertical alignment.

        Returns:
        VerticalAlignment element
      • setVerticalAlignment

        public final void setVerticalAlignment(int value)

        Gets or sets the vertical alignment.

        Parameters:
        value - VerticalAlignment element
      • getColSpan

        public final int getColSpan()

        Gets or sets the column span.

        Returns:
        int value
      • setColSpan

        public final void setColSpan(int value)

        Gets or sets the column span.

        Parameters:
        value - int value
      • getRowSpan

        public final int getRowSpan()

        Gets or sets the row span.

        Returns:
        int value
      • setRowSpan

        public final void setRowSpan(int value)

        Gets or sets the row span.

        Parameters:
        value - int value
      • getStructureTextState

        public final StructureTextState getStructureTextState()

        Gets /Aspose.Pdf.LogicalStructure.StructureTextState object for current element.

        Value: /Aspose.Pdf.LogicalStructure.StructureTextState object for current element.
        Specified by:
        getStructureTextState in interface ITextElement
        Returns:
        StructureTextState instance
      • setText

        public final void setText(String text)

        Appends text content to current text element.

        Specified by:
        setText in interface ITextElement
        Parameters:
        text - Text content

Copyright © 2020 Aspose. All Rights Reserved.