Top Constructors Methods
org.jabref.model.openoffice.rangesort

public Class RangeOverlapBetween

extends Object
Class Inheritance
Imports
java.util.ArrayList, .List, org.jabref.model.openoffice.uno.UnoCast, .UnoTextRange, org.jabref.model.openoffice.util.OOTuple3, com.sun.star.text.XText, com.sun.star.text.XTextDocument, com.sun.star.text.XTextRange, com.sun.star.text.XTextRangeCompare

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <V extends RangeHolder> List<RangeOverlap<V>>
findFirst(com.sun.star.text.XTextDocument doc, List<V> fewHolders, List<V> manyHolders, boolean includeTouching)

Check for any overlap between two sets of XTextRange values.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

RangeOverlapBetweenback to summary
private RangeOverlapBetween()

Method Detail

findFirstback to summary
public static <V extends RangeHolder> List<RangeOverlap<V>> findFirst(com.sun.star.text.XTextDocument doc, List<V> fewHolders, List<V> manyHolders, boolean includeTouching)

Check for any overlap between two sets of XTextRange values.

Assume fewHolders is small (usually a single element, for checking the cursor)

Returns on first problem found.