com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class PlainTableFrameIntersection



  • public final class PlainTableFrameIntersection
    extends Object

    Provides the information of symbols of intersections.

    • Constructor Detail

      • PlainTableFrameIntersection

        public PlainTableFrameIntersection(char left,
                                   char top,
                                   char right,
                                   char bottom,
                                   char cross)

        Initializes a new instance of the PlainTableFrameIntersection class.

        Parameters:
        left - Symbol of a left intersection to vertical edge.
        top - Symbol of a bottom intersection to horizontal edge.
        right - Symbol of a right intersection to vertical edge.
        bottom - Symbol of a top intersection to horizontal edge.
        cross - Symbol of a cross intersection.
    • Method Detail

      • getLeft

        public char getLeft()

        Gets a left intersection to vertical edge.

        Returns:
        Symbol of a left intersection to vertical edge.
      • getTop

        public char getTop()

        Gets a bottom intersection to horizontal edge.

        Returns:
        Symbol of a bottom intersection to horizontal edge.
      • getRight

        public char getRight()

        Gets a right intersection to vertical edge.

        Returns:
        Symbol of a right intersection to vertical edge.
      • getBottom

        public char getBottom()

        Gets a top intersection to horizontal edge.

        Returns:
        Symbol of a top intersection to horizontal edge.
      • getCross

        public char getCross()

        Gets a cross intersection.

        Returns:
        Symbol of a cross intersection.
      • checkIntersection

        public char checkIntersection(boolean left,
                             boolean top,
                             boolean right,
                             boolean bottom)

        Returns a symbol of the intersection.

        Parameters:
        left - Indicates whether the intersection has left line.
        top - Indicates whether the intersection has top line.
        right - Indicates whether the intersection has right line.
        bottom - Indicates whether the intersection has bottom line.
        Returns:
        A symbol of the intersection.