Mirrors the behavior of CSLReferenceMarkManager but uses identifier terminology
and supports applying a precomputed numbering map (e.g., from BST style order).
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private CSLCitationType | |
| private final com. | |
| private final com. | |
| private final com. | |
| private int | |
| private Map | |
| private boolean | |
| private static final Logger | |
| private final Map | |
| private final List | |
| private final com. |
| Access | Constructor and Description |
|---|---|
| public | BSTReferenceMarkManager(com.
|
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| public BSTReferenceMark | |
| public int | |
| public CSLCitationType | |
| public List | |
| private String | |
| private String | |
| public boolean | |
| public void | insertReferenceIntoOO(List<BibEntry> entries, com.
|
| public void | |
| public void | |
| public void | |
| private void | |
| private void | |
| public void | |
| public void | |
| private void | |
| private void | |
| private void |
| CITATION_NUMBER_PATTERN | back to summary |
|---|---|
| private static final Pattern CITATION_NUMBER_PATTERN | |
| citationType | back to summary |
|---|---|
| private CSLCitationType citationType | |
| componentContext | back to summary |
|---|---|
| private final com. | |
| document | back to summary |
|---|---|
| private final com. | |
| factory | back to summary |
|---|---|
| private final com. | |
| highestCitationNumber | back to summary |
|---|---|
| private int highestCitationNumber | |
| identifierToNumber | back to summary |
|---|---|
| private Map<String, Integer> identifierToNumber | |
| isNumberUpdateRequired | back to summary |
|---|---|
| private boolean isNumberUpdateRequired | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| marksByName | back to summary |
|---|---|
| private final Map<String, BSTReferenceMark> marksByName | |
| marksInOrder | back to summary |
|---|---|
| private final List<BSTReferenceMark> marksInOrder | |
| textRangeCompare | back to summary |
|---|---|
| private final com. | |
| BSTReferenceMarkManager | back to summary |
|---|---|
| public BSTReferenceMarkManager(com. | |
| compareTextRanges | back to summary |
|---|---|
| private int compareTextRanges(RangeSortEntry<BSTReferenceMark> first, RangeSortEntry<BSTReferenceMark> second) | |
| createReferenceMark | back to summary |
|---|---|
| public BSTReferenceMark createReferenceMark(List<BibEntry> entries, CSLCitationType citationType) throws com.sun.star.uno.Exception | |
| getCitationNumber | back to summary |
|---|---|
| public int getCitationNumber(String identifier) | |
| getCitationType | back to summary |
|---|---|
| public CSLCitationType getCitationType() | |
| getMarksInOrder | back to summary |
|---|---|
| public List | |
| getUpdatedCitationTextWithNewNumbers | back to summary |
|---|---|
| private String getUpdatedCitationTextWithNewNumbers(String currentText, List<Integer> newNumbers) | |
| getUpdatedReferenceMarkNameWithNewNumbers | back to summary |
|---|---|
| private String getUpdatedReferenceMarkNameWithNewNumbers(String oldName, List<Integer> newNumbers) | |
| hasCitationForIdentifier | back to summary |
|---|---|
| public boolean hasCitationForIdentifier(String identifier) | |
| insertReferenceIntoOO | back to summary |
|---|---|
| public void insertReferenceIntoOO(List<BibEntry> entries, com. | |
| readAndUpdateExistingMarks | back to summary |
|---|---|
| public void readAndUpdateExistingMarks() throws com.sun.star.lang.WrappedTargetException, com.sun.star.container.NoSuchElementException | |
| readExistingMarks | back to summary |
|---|---|
| public void readExistingMarks() throws com.sun.star.lang.WrappedTargetException, com.sun.star.container.NoSuchElementException | |
| setRealTimeNumberUpdateRequired | back to summary |
|---|---|
| public void setRealTimeNumberUpdateRequired(boolean isNumeric) | |
| sortMarksInOrder | back to summary |
|---|---|
| private void sortMarksInOrder() | |
| updateAllCitationNumbers | back to summary |
|---|---|
| private void updateAllCitationNumbers() throws com.sun.star.uno.Exception, CreationException | |
| updateAllCitationNumbers | back to summary |
|---|---|
| public void updateAllCitationNumbers(Map<String, Integer> preferredIdentifierToNumber) throws com.sun.star.uno.Exception, CreationException | |
| updateAllStyleDefinedCitationTexts | back to summary |
|---|---|
| public void updateAllStyleDefinedCitationTexts(Map<String, String> identifierToLabelMap) throws com.sun.star.uno.Exception, CreationException, MissingStyleDefinedCitationLabelException | |
| updateMarkAndText | back to summary |
|---|---|
| private void updateMarkAndText(BSTReferenceMark mark, String newText, String markName) throws com.sun.star.uno.Exception, CreationException | |
| updateMarkAndTextWithNewNumbers | back to summary |
|---|---|
| private void updateMarkAndTextWithNewNumbers(BSTReferenceMark mark, List<Integer> newNumbers) throws com.sun.star.uno.Exception, CreationException | |
| updateMarkText | back to summary |
|---|---|
| private void updateMarkText(BSTReferenceMark mark, String newText) throws com.sun.star.uno.Exception, CreationException | |