package org.jabref.model.openoffice.rangesort;

import com.sun.star.text.XTextRange;

/// This is what `visualSort` needs in its input.
public interface RangeSortable<T> extends RangeHolder {

    /// The XTextRange
    ///
    /// For citation marks in footnotes this may be the range of the footnote mark.
    XTextRange getRange();

    /// For citation marks in footnotes this may provide order within the footnote.
    int getIndexInPosition();

    T getContent();
}
