Class TextPartUtil.LineInfo

java.lang.Object
com.pnfsoftware.jeb.core.output.text.TextPartUtil.LineInfo
Enclosing class:
TextPartUtil

public static class TextPartUtil.LineInfo extends Object
Information about a line of a text document's part.
  • Constructor Details

    • LineInfo

      public LineInfo(int lineIndex, long anchorId, int anchoredLineIndex)
      Parameters:
      lineIndex - the line index in the part
      anchorId - the anchor id of the chunk containing the line
      anchoredLineIndex - the line index within the anchored chunk
  • Method Details

    • getPartLineIndex

      public int getPartLineIndex()
      Returns:
      line index in the part
    • getAnchorId

      public long getAnchorId()
      Returns:
      anchor id of the chunk containing the line
    • getAnchoredLineIndex

      public int getAnchoredLineIndex()
      Returns:
      line index within the anchored chunk
    • toString

      public String toString()
      Overrides:
      toString in class Object