| 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 List | Returns: A RangeForOverlapCheck for each citation group. result.size() == nRefMarks
|
| public void | cleanFillCursorForCitationGroup(com.
Remove brackets added by getFillCursorForCitationGroup. |
| public CitationGroup | createCitationGroup(com.
In storage order citationKeys, List<Optional<OOText>> In storage order pageInfos, CitationType citationType, com.Collapsed to its end. position,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 | Returns: A range for each footnote mark where the footnote contains at least one citation group. Purpose: We do not want markers of footnotes containing reference marks to overlap with reference marks. Overwriting these footnote marks might kill our reference marks in the footnote.Note Here we directly communicate to the document, not through the backend. This is because mapping ranges to footnote marks does not depend on how do we mark or structure those ranges.
|
| 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 OODataModel | |
| public com. | |
| public Optional | Returns: Optional.empty() if the reference mark is missing.ranges controlled by citation groups should not overlap with each other. |
| private List | Returns: citation groups sorted by their visual positions. Limitation: for two column layout visual (top-down, left-right) order does not match the expected (textual) order.If true, sort reference marks in footnotes as if they appeared at the corresponding footnote mark. mapFootnotesToFootnoteMarks, FunctionalTextViewCursor fcursor)
|
| public Optional | |
| 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. | |
| citationRanges | back to summary |
|---|---|
public List
| |
| cleanFillCursorForCitationGroup | back to summary |
|---|---|
| public void cleanFillCursorForCitationGroup(com. Remove brackets added by getFillCursorForCitationGroup. | |
| 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. | |
| getDataModel | back to summary |
|---|---|
| public OODataModel getDataModel() | |
| getFillCursorForCitationGroup | back to summary |
|---|---|
| public com. | |
| getMarkRange | back to summary |
|---|---|
| public Optional ranges controlled by citation groups should not overlap with each other.
| |
| getVisuallySortedCitationGroups | back to summary |
|---|---|
private List
| |
| healthReport | back to summary |
|---|---|
| public Optional | |
| 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 | |