Verified Owner
Top Description Fields Constructors Methods
org.jabref.logic.openoffice.frontend

public Class RangeForOverlapCheck<T>

extends Object
implements RangeHolder
Class Inheritance
All Implemented Interfaces
org.jabref.model.openoffice.rangesort.RangeHolder
Imports
org.jabref.model.openoffice.rangesort.RangeHolder, com.sun.star.text.XTextRange

Describe a protected range for overlap checking and reporting.

To check that our protected ranges do not overlap, we collect these ranges. To check for overlaps between these, we need the range itself. To report the results of overlap checking, we need a description that can be understood by the user.

To be able to refer back to more extended data, we might need to identify its kind, and its index in the corresponding tables or other identifier within its kind (idWithinKind)

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
private final String
public static final int
public final T
public final int
public final com.sun.star.text.XTextRange
public static final int

Constructor Summary

AccessConstructor and Description
public
RangeForOverlapCheck(com.sun.star.text.XTextRange range, T idWithinKind, int kind, String description)

Method Summary

Modifier and TypeMethod and Description
public String
public com.sun.star.text.XTextRange
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BIBLIOGRAPHY_MARK_KINDback to summary
public static final int BIBLIOGRAPHY_MARK_KIND
CURSOR_MARK_KINDback to summary
public static final int CURSOR_MARK_KIND
descriptionback to summary
private final String description
FOOTNOTE_MARK_KINDback to summary
public static final int FOOTNOTE_MARK_KIND
idWithinKindback to summary
public final T idWithinKind
kindback to summary
public final int kind
rangeback to summary
public final com.sun.star.text.XTextRange range
REFERENCE_MARK_KINDback to summary
public static final int REFERENCE_MARK_KIND

Constructor Detail

RangeForOverlapCheckback to summary
public RangeForOverlapCheck(com.sun.star.text.XTextRange range, T idWithinKind, int kind, String description)

Method Detail

formatback to summary
public String format()
getRangeback to summary
public com.sun.star.text.XTextRange getRange()

Implements org.jabref.model.openoffice.rangesort.RangeHolder.getRange.

Annotations
@Override