com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class TableCellBorders



  • public final class TableCellBorders
    extends Object

    Defines the information about cell's borders.

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static TableCellBorders EMPTY
      Gets an empty instance.
    • Constructor Summary

      Constructors 
      Constructor and Description
      TableCellBorders(boolean hasEdges)
      Initializes a new instance of the TableCellBorders class.
      TableCellBorders(boolean hasLeft, boolean hasTop, boolean hasRight, boolean hasBottom)
      Initializes a new instance of the TableCellBorders class.
    • Constructor Detail

      • TableCellBorders

        public TableCellBorders(boolean hasEdges)

        Initializes a new instance of the TableCellBorders class.

        Parameters:
        hasEdges - A boolean true if cell has borders; otherwise, false.
      • TableCellBorders

        public TableCellBorders(boolean hasLeft,
                        boolean hasTop,
                        boolean hasRight,
                        boolean hasBottom)

        Initializes a new instance of the TableCellBorders class.

        Parameters:
        hasLeft - A boolean true if cell has a left border; otherwise, false.
        hasTop - A boolean true if cell has a top border; otherwise, false.
        hasRight - A boolean true if cell has a right border; otherwise, false.
        hasBottom - A boolean true if cell has a bottom border; otherwise, false.
    • Method Detail

      • hasLeft

        public boolean hasLeft()

        Gets a value indicating whether cell has a left border.

        Returns:
        A boolean true if cell has a left border; otherwise, false.
      • hasTop

        public boolean hasTop()

        Gets a value indicating whether cell has a top border.

        Returns:
        A boolean true if cell has a top border; otherwise, false.
      • hasRight

        public boolean hasRight()

        Gets a value indicating whether cell has a right border.

        Returns:
        A boolean true if cell has a right border; otherwise, false.
      • hasBottom

        public boolean hasBottom()

        Gets a value indicating whether cell has a bottom border.

        Returns:
        A boolean true if cell has a bottom border; otherwise, false.