com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class PlainTableFrameAngle



  • public final class PlainTableFrameAngle
    extends Object

    Provides the information of symbols of intersections.

    • Constructor Detail

      • PlainTableFrameAngle

        public PlainTableFrameAngle(char topLeft,
                            char topRight,
                            char bottomLeft,
                            char bottomRight)

        Initializes a new instance of the PlainTableFrameAngle class.

        Parameters:
        topLeft - Symbol of a top-left angle.
        topRight - Symbol of a top-right angle.
        bottomLeft - Symbol of a bottom-left angle.
        bottomRight - Symbol of a bottom-right angle.
    • Method Detail

      • getTopLeft

        public char getTopLeft()

        Gets a top-left angle.

        Returns:
        Symbol of a top-left angle.
      • getTopRight

        public char getTopRight()

        Gets a top-right angle.

        Returns:
        Symbol of a top-right angle.
      • getBottomLeft

        public char getBottomLeft()

        Gets a bottom-left angle.

        Returns:
        Symbol of a bottom-left angle.
      • getBottomRight

        public char getBottomRight()

        Gets a bottom-right angle.

        Returns:
        Symbol of a bottom-right angle.
      • checkAngle

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

        Returns a symbol of the angle.

        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 angle.