| Modifier and Type | Field and Description |
|---|---|
| public final Backend52 | |
| public final CitationGroups |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public List | |
| public OOVoidResult | checkRangeOverlaps(com.
Report range pairs that only share a boundary. requireSeparation, int Limit number of overlaps reported (0 for no limit) reportAtMost)
|
| public OOVoidResult | checkRangeOverlapsWithCursor(com.
Check for any overlap between userRanges and protected ranges. |
| public void | cleanFillCursorForCitationGroup(com.
Remove brackets added by getFillCursorForCitationGroup. |
| public static OOResult | |
| public CitationGroup | createCitationGroup(com.
In storage order citationKeys, @NonNull List<Optional<OOText>> In storage order pageInfos, CitationType citationType, com.Collapsed to its end. position,If true, we insert a space before the mark. insertSpaceBefore, boolean If true, we insert a space after the mark, that carries on format of characters from the original position. insertSpaceAfter)Create a citation group for the given citation keys, at the end of position. |
| private List | createVisualSortInput(com.
If true, replace ranges in footnotes with the range of the corresponding footnote mark. This is used for numbering the citations. mapFootnotesToFootnoteMarks)Creates a list of |
| public List | footnoteMarkRanges(List<RangeForOverlapCheck<CitationGroupId>> citationRanges)
Returns: A range for each footnote mark where the footnote contains at least one citation group. |
| public List | Returns: A list with entries corresponding to citations in the text, in arbitrary order (same order as from getJabRefReferenceMarkNames).Note visual or alphabetic order could be more manageable for the user. We could provide these here, but switching between them needs change on GUI (adding a toggle or selector). Note CitationEntry implements Comparable, where compareTo() and equals() are based on refMarkName. The order used in the "Manage citations" dialog does not seem to use that. The 1st is labeled "Citation" (show citation in bold, and some context around it). The columns can be sorted by clicking on the column title. For the "Citation" column, the sorting is based on the content, (the context before the citation), not on the citation itself. In the "Extra information ..." column some visual indication of the editable part could be helpful. Wish: selecting an entry (or a button in the line) in the GUI could move the cursor in the document to the entry. GUI: Get a list of CitationEntry objects corresponding to citations in the document. |
| public List | getCitationGroupsSortedWithinPartitions(com.
Return citation groups in visual order within (but not across) XText partitions. |
| public List | |
| public com. | |
| public List | getJStyleCitationRanges(com.
Returns: A RangeForOverlapCheck for each citation group. |
| public Optional | Returns: Optional.empty() if the reference mark is missing.ranges controlled by citation groups should not overlap with each other. |
| private List | getReferenceMarkCitationRanges(com.
Returns: A RangeForOverlapCheck for each non-JStyle citation represented by a Writer reference mark. |
| private List | getVisuallySortedCitationGroups(com.
If true, sort reference marks in footnotes as if they appeared at the corresponding footnote mark. mapFootnotesToFootnoteMarks, FunctionalTextViewCursor fcursor)Returns: citation groups sorted by their visual positions. |
| public void | |
| pack-priv static String | |
| private static Map | readCitationGroupsFromDocument(Backend52 backend, com.
|
| public void | removeCitationGroup(CitationGroup group, com.
Remove |
| public void | |
| public List |
| backend | back to summary |
|---|---|
| public final Backend52 backend | |
| citationGroups | back to summary |
|---|---|
| public final CitationGroups citationGroups | |
| OOFrontend | back to summary |
|---|---|
| public OOFrontend(com. | |
| applyCitationEntries | back to summary |
|---|---|
| public void applyCitationEntries(com. | |
| bibliographyRanges | back to summary |
|---|---|
| public List | |
| checkRangeOverlaps | back to summary |
|---|---|
public OOVoidResult
| |
| checkRangeOverlapsWithCursor | back to summary |
|---|---|
| public OOVoidResult Check for any overlap between userRanges and protected ranges. Assume userRanges is small (usually 1 elements for checking the cursor) Returns on first problem found. | |
| cleanFillCursorForCitationGroup | back to summary |
|---|---|
| public void cleanFillCursorForCitationGroup(com. Remove brackets added by getFillCursorForCitationGroup. | |
| create | back to summary |
|---|---|
| public static OOResult | |
| createCitationGroup | back to summary |
|---|---|
| public CitationGroup createCitationGroup(com. Create a citation group for the given citation keys, at the end of position. On return
| |
| createVisualSortInput | back to summary |
|---|---|
| private List Creates a list of The elements of the returned list are actually of type The result is sorted within In the result, RangeSortable.getIndexInPosition() contains unique indexes within the original partition (not after mapFootnotesToFootnoteMarks).
| |
| footnoteMarkRanges | back to summary |
|---|---|
public List
| |
| getCitationEntries | back to summary |
|---|---|
| public List GUI: Get a list of CitationEntry objects corresponding to citations in the document. Called from: ManageCitationsDialogViewModel constructor.
| |
| getCitationGroupsSortedWithinPartitions | back to summary |
|---|---|
| public List Return citation groups in visual order within (but not across) XText partitions. This is (1) sufficient for combineCiteMarkers which looks for consecutive XTextRanges within each XText, (2) not confused by multicolumn layout or multipage display. | |
| getCitationRanges | back to summary |
|---|---|
| public List | |
| getFillCursorForCitationGroup | back to summary |
|---|---|
| public com. | |
| getJStyleCitationRanges | back to summary |
|---|---|
public List
| |
| getMarkRange | back to summary |
|---|---|
| public Optional ranges controlled by citation groups should not overlap with each other.
| |
| getReferenceMarkCitationRanges | back to summary |
|---|---|
private List
| |
| getVisuallySortedCitationGroups | back to summary |
|---|---|
private List
| |
| imposeGlobalOrder | back to summary |
|---|---|
| public void imposeGlobalOrder(com. | |
| rangeOverlapsToMessage | back to summary |
|---|---|
| pack-priv static String rangeOverlapsToMessage(List<RangeOverlap<RangeForOverlapCheck<CitationGroupId>>> overlaps) | |
| readCitationGroupsFromDocument | back to summary |
|---|---|
| private static Map | |
| removeCitationGroup | back to summary |
|---|---|
| public void removeCitationGroup(CitationGroup group, com. Remove | |
| removeCitationGroups | back to summary |
|---|---|
| public void removeCitationGroups(List<CitationGroup> citationGroups, com. | |
| viewCursorRanges | back to summary |
|---|---|
| public List | |