Class TextSegment

java.lang.Object
org.apache.poi.xwpf.usermodel.TextSegment

public class TextSegment extends Object
saves the begin and end position of a text in a Paragraph
  • Constructor Details

    • TextSegment

      public TextSegment()
    • TextSegment

      public TextSegment(int beginRun, int endRun, int beginText, int endText, int beginChar, int endChar)
    • TextSegment

      public TextSegment(PositionInParagraph beginPos, PositionInParagraph endPos)
  • Method Details

    • getBeginPos

      public PositionInParagraph getBeginPos()
    • getEndPos

      public PositionInParagraph getEndPos()
    • getBeginRun

      public int getBeginRun()
    • setBeginRun

      public void setBeginRun(int beginRun)
    • getBeginText

      public int getBeginText()
    • setBeginText

      public void setBeginText(int beginText)
    • getBeginChar

      public int getBeginChar()
    • setBeginChar

      public void setBeginChar(int beginChar)
    • getEndRun

      public int getEndRun()
    • setEndRun

      public void setEndRun(int endRun)
    • getEndText

      public int getEndText()
    • setEndText

      public void setEndText(int endText)
    • getEndChar

      public int getEndChar()
    • setEndChar

      public void setEndChar(int endChar)