Class TextSpanSelection

java.lang.Object
org.odftoolkit.odfdom.changes.TextSelection
org.odftoolkit.odfdom.changes.TextSpanSelection
All Implemented Interfaces:
Comparable

public class TextSpanSelection extends TextSelection implements Comparable
Author:
svante.schubertATgmail.com
  • Constructor Details

    • TextSpanSelection

      public TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition)
      Constructor.
      Parameters:
      spanElement - the spanElement of the Span element.
      startPosition - the startPosition of the Span element.
    • TextSpanSelection

      public TextSpanSelection(TextSpanElement spanElement, List<Integer> startPosition, List<Integer> endPosition)
      Constructor.
      Parameters:
      spanElement - the spanElement of the Span element.
      startPosition - the startPosition of the Span element.
  • Method Details

    • getSpanElement

      public TextSpanElement getSpanElement()
      Returns the spanElement of the Span element.
      Returns:
      the spanElement of the Span element.
    • toString

      public String toString()
      Overrides:
      toString in class Object