com.groupdocs.parser

Interfaces

Classes

Exceptions

com.groupdocs.parser

Class PlainTableFrame



  • public final class PlainTableFrame
    extends Object

    Provides a frame of the table's borders.

    • Constructor Detail

      • PlainTableFrame

        public PlainTableFrame()

        Initializes a new instance of the PlainTableFrame class.

    • Method Detail

      • getAngles

        public PlainTableFrameAngle getAngles()

        Gets an angles of the frame.

        Returns:
        An instance of the PlainTableFrameAngle class.
      • getEdges

        public PlainTableFrameEdge getEdges()

        Gets an edges of the frame.

        Returns:
        An instance of the PlainTableFrameEdge class.
      • getIntersections

        public PlainTableFrameIntersection getIntersections()

        Gets a intersections of the frame.

        Returns:
        An instance of the PlainTableFrameIntersection class.
      • getConfig

        public PlainTableFrameConfig getConfig()

        Gets a configuration of the frame.

        Returns:
        An instance of the PlainTableFrameConfig class.
      • areCellEquals

        public static boolean areCellEquals(TableCell left,
                            TableCell right)

        Compares two cells.

        Parameters:
        left - The left cell.
        right - The right cell.
        Returns:
        A boolean true if the cells are equal; otherwise, false.
      • getVertical

        public char getVertical(TableCell left,
                       TableCell right)

        Returns a vertical edge.

        Parameters:
        left - The left cell.
        right - The right cell.
        Returns:
        A symbol of the vertical edge.
      • getHorizontal

        public String getHorizontal(TableCell top,
                           TableCell bottom,
                           int columnWidth)

        Returns a horizontal edge.

        Parameters:
        top - The top cell.
        bottom - The bottom cell.
        columnWidth - The width of the column.
        Returns:
        A symbol of the horizontal edge.
      • getCross

        public char getCross(TableCell topLeft,
                    TableCell topRight,
                    TableCell bottomLeft,
                    TableCell bottomRight)

        Returns a symbol of the cross.

        Parameters:
        topLeft - The top-left cell.
        topRight - The top-right cell.
        bottomLeft - The bottom-left cell.
        bottomRight - The bottom-right cell.
        Returns:
        A symbol of the cross.