| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private Map | |
| private CSLCitationType | |
| private final com. | |
| private final com. | |
| private final com. | |
| private static final String | |
| private static final Pattern | |
| private static final Pattern | |
| private int | |
| private static final Pattern | |
| private boolean | |
| private static final Logger | |
| private final Map | |
| private final List | |
| private int | |
| private final com. |
| Access | Constructor and Description |
|---|---|
| public | CSLReferenceMarkManager(com.
|
| Modifier and Type | Method and Description |
|---|---|
| private static int | appendUpdatedCitationTextSegment(StringBuilder result, String textSegment, List<Integer> newNumbers, int numberIndex)
|
| private Optional | buildConvertedReferenceMarkName(CSLReferenceMark mark, OpenOfficeReferenceMarkFormat referenceMarkFormat, List<BibDatabase> selectedDatabases, BibEntryTypesManager entryTypesManager, Map<String, String> zoteroUriByCitationKey)
|
| private Optional | buildZoteroReferenceMarkName(CSLReferenceMark mark, List<BibDatabase> selectedDatabases, BibEntryTypesManager entryTypesManager, Map<String, String> zoteroUriByCitationKey)
|
| private int | |
| private static boolean | |
| public int | convertReferenceMarks(OpenOfficeReferenceMarkFormat referenceMarkFormat, List<BibDatabase> selectedDatabases, BibEntryTypesManager entryTypesManager)
|
| public CSLReferenceMark | createReferenceMark(List<BibEntry> entries, CSLCitationType citationType, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, OpenOfficeReferenceMarkFormat referenceMarkFormat)
|
| private Optional | |
| private Optional | |
| public int | |
| public CSLCitationType | |
| private String | |
| public List | |
| pack-priv static String | |
| private String | |
| private Map | |
| public boolean | |
| public void | insertReferenceIntoOO(List<BibEntry> entries, com.
|
| public boolean | |
| public void | |
| public void | |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | |
| public void | |
| private void | |
| private void | updateMarkAndTextWithNewNumbers(CSLReferenceMark mark, List<Integer> newNumbers, String currentText)
|
| public void | |
| private boolean |
| CITATION_NUMBER_PATTERN | back to summary |
|---|---|
| private static final Pattern CITATION_NUMBER_PATTERN | |
| citationKeyToNumber | back to summary |
|---|---|
| private Map<String, Integer> citationKeyToNumber | |
| 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. | |
| FORMATTED_CITATION_TEXT_PROPERTY_PREFIX | back to summary |
|---|---|
| private static final String FORMATTED_CITATION_TEXT_PROPERTY_PREFIX | |
| FULL_SUBSCRIPT_PATTERN | back to summary |
|---|---|
| private static final Pattern FULL_SUBSCRIPT_PATTERN | |
| FULL_SUPERSCRIPT_PATTERN | back to summary |
|---|---|
| private static final Pattern FULL_SUPERSCRIPT_PATTERN | |
| highestCitationNumber | back to summary |
|---|---|
| private int highestCitationNumber | |
| HTML_TAG_PATTERN | back to summary |
|---|---|
| private static final Pattern HTML_TAG_PATTERN | |
| isNumberUpdateRequired | back to summary |
|---|---|
| private boolean isNumberUpdateRequired | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| marksByName | back to summary |
|---|---|
| private final Map<String, CSLReferenceMark> marksByName | |
| marksInOrder | back to summary |
|---|---|
| private final List<CSLReferenceMark> marksInOrder | |
| nextZoteroItemId | back to summary |
|---|---|
| private int nextZoteroItemId | |
| textRangeCompare | back to summary |
|---|---|
| private final com. | |
| CSLReferenceMarkManager | back to summary |
|---|---|
| public CSLReferenceMarkManager(com. | |
| appendUpdatedCitationTextSegment | back to summary |
|---|---|
| private static int appendUpdatedCitationTextSegment(StringBuilder result, String textSegment, List<Integer> newNumbers, int numberIndex) | |
| buildConvertedReferenceMarkName | back to summary |
|---|---|
| private Optional | |
| buildZoteroReferenceMarkName | back to summary |
|---|---|
| private Optional | |
| compareTextRanges | back to summary |
|---|---|
| private int compareTextRanges(RangeSortEntry<CSLReferenceMark> first, RangeSortEntry<CSLReferenceMark> second) | |
| containsEscapementMarkup | back to summary |
|---|---|
| private static boolean containsEscapementMarkup(String text) | |
| convertReferenceMarks | back to summary |
|---|---|
| public int convertReferenceMarks(OpenOfficeReferenceMarkFormat referenceMarkFormat, List<BibDatabase> selectedDatabases, BibEntryTypesManager entryTypesManager) throws com.sun.star.uno.Exception, CreationException | |
| createReferenceMark | back to summary |
|---|---|
| public CSLReferenceMark createReferenceMark(List<BibEntry> entries, CSLCitationType citationType, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, OpenOfficeReferenceMarkFormat referenceMarkFormat) throws com.sun.star.uno.Exception | |
| findEntriesByCitationKeys | back to summary |
|---|---|
| private Optional | |
| findEntryByCitationKey | back to summary |
|---|---|
| private Optional | |
| getCitationNumber | back to summary |
|---|---|
| public int getCitationNumber(String citationKey) | |
| getCitationType | back to summary |
|---|---|
| public CSLCitationType getCitationType() | |
| getCurrentCitationText | back to summary |
|---|---|
| private String getCurrentCitationText(CSLReferenceMark mark) throws com.sun.star.lang.WrappedTargetException | |
| getMarksInOrder | back to summary |
|---|---|
| public List | |
| getUpdatedCitationTextWithNewNumbers | back to summary |
|---|---|
| pack-priv static String getUpdatedCitationTextWithNewNumbers(String currentText, List<Integer> newNumbers) | |
| getUpdatedReferenceMarkNameWithNewNumbers | back to summary |
|---|---|
| private String getUpdatedReferenceMarkNameWithNewNumbers(String oldName, List<Integer> newNumbers) | |
| getZoteroUriByCitationKey | back to summary |
|---|---|
| private Map | |
| hasCitationForKey | back to summary |
|---|---|
| public boolean hasCitationForKey(String citationKey) | |
| insertReferenceIntoOO | back to summary |
|---|---|
| public void insertReferenceIntoOO(List<BibEntry> entries, com. | |
| isConversionNeededForFirstReferenceMark | back to summary |
|---|---|
| public boolean isConversionNeededForFirstReferenceMark(OpenOfficeReferenceMarkFormat referenceMarkFormat) | |
| 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 | |
| rebuildCitationNumberState | back to summary |
|---|---|
| private void rebuildCitationNumberState() | |
| removeUnusedFormattedCitationTextProperties | back to summary |
|---|---|
| private void removeUnusedFormattedCitationTextProperties(Set<String> existingReferenceMarkUniqueIds) | |
| restoreEscapementFormattingIfNeeded | back to summary |
|---|---|
| private void restoreEscapementFormattingIfNeeded(String text, com. | |
| 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> preferredCitationKeyToNumber) throws com.sun.star.uno.Exception, CreationException | |
| updateMarkAndText | back to summary |
|---|---|
| private void updateMarkAndText(CSLReferenceMark mark, String newText, String markName) throws com.sun.star.uno.Exception, CreationException | |
| updateMarkAndTextWithNewNumbers | back to summary |
|---|---|
| private void updateMarkAndTextWithNewNumbers(CSLReferenceMark mark, List<Integer> newNumbers, String currentText) throws com.sun.star.uno.Exception, CreationException | |
| updateMarkAndTextWithNewStyle | back to summary |
|---|---|
| public void updateMarkAndTextWithNewStyle(CSLReferenceMark mark, String newText, CSLCitationType citationType) throws com.sun.star.uno.Exception, CreationException | |
| updateReferenceMarkName | back to summary |
|---|---|
| private boolean updateReferenceMarkName(CSLReferenceMark mark, String markName) throws com.sun.star.uno.Exception, CreationException | |