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

public final Class CSLBibliographyMark

extends Object
Class Inheritance
Annotations
@NullMarked
Imports
java.util.ArrayList, .List, .Optional, org.jabref.logic.citationstyle.CitationStyle, org.jabref.logic.openoffice.oocsltext.CSLCitationOOAdapter, org.jabref.model.database.BibDatabase, org.jabref.model.entry.BibEntry, org.jabref.model.openoffice.DocumentAnnotation, org.jabref.model.openoffice.uno.CreationException, .NoDocumentException, .UnoNameAccess, .UnoTextSection, com.sun.star.container.XNameAccess, com.sun.star.lang.WrappedTargetException, com.sun.star.text.XTextContent, com.sun.star.text.XTextCursor, com.sun.star.text.XTextDocument, com.sun.star.text.XTextRange, org.jspecify.annotations.NullMarked, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final String
private static final Logger
private static final String
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
private static void
clearAllCSLBibTextSectionContent(com.sun.star.text.XTextDocument doc)

private static String
private static void
createCSLBibTextSection(com.sun.star.text.XTextDocument doc, OpenOfficeReferenceMarkFormat referenceMarkFormat)

private static Optional<com.sun.star.text.XTextRange>
getBibliographyRange(com.sun.star.text.XTextDocument doc, OpenOfficeReferenceMarkFormat referenceMarkFormat)

private static List<com.sun.star.text.XTextRange>
getBibliographyRanges(com.sun.star.text.XTextDocument doc, OpenOfficeReferenceMarkFormat referenceMarkFormat)

private static List<com.sun.star.text.XTextRange>
getZoteroBibliographyRanges(com.sun.star.text.XTextDocument doc)

private static void
populateCSLBibTextSection(com.sun.star.text.XTextDocument doc, CSLCitationOOAdapter cslCitationOOAdapter, List<BibEntry> entries, List<BibDatabase> selectedDatabases, CitationStyle citationStyle, OpenOfficeReferenceMarkFormat referenceMarkFormat)

public static void
rebuildCSLBibliography(com.sun.star.text.XTextDocument doc, CSLCitationOOAdapter cslCitationOOAdapter, List<BibEntry> entries, List<BibDatabase> selectedDatabases, CitationStyle citationStyle, OpenOfficeReferenceMarkFormat referenceMarkFormat)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

JABREF_BIBLIOGRAPHY_SECTION_NAMEback to summary
private static final String JABREF_BIBLIOGRAPHY_SECTION_NAME
LOGGERback to summary
private static final Logger LOGGER
ZOTERO_BIBLIOGRAPHY_CODEback to summary
private static final String ZOTERO_BIBLIOGRAPHY_CODE
ZOTERO_BIBLIOGRAPHY_SECTION_NAME_PREFIXback to summary
private static final String ZOTERO_BIBLIOGRAPHY_SECTION_NAME_PREFIX
ZOTERO_BIBLIOGRAPHY_SUFFIXback to summary
private static final String ZOTERO_BIBLIOGRAPHY_SUFFIX

Constructor Detail

CSLBibliographyMarkback to summary
private CSLBibliographyMark()

Method Detail

clearAllCSLBibTextSectionContentback to summary
private static void clearAllCSLBibTextSectionContent(com.sun.star.text.XTextDocument doc) throws NoDocumentException, com.sun.star.lang.WrappedTargetException
createBibliographySectionNameback to summary
private static String createBibliographySectionName(OpenOfficeReferenceMarkFormat referenceMarkFormat)
createCSLBibTextSectionback to summary
private static void createCSLBibTextSection(com.sun.star.text.XTextDocument doc, OpenOfficeReferenceMarkFormat referenceMarkFormat) throws CreationException
getBibliographyRangeback to summary
private static Optional<com.sun.star.text.XTextRange> getBibliographyRange(com.sun.star.text.XTextDocument doc, OpenOfficeReferenceMarkFormat referenceMarkFormat) throws NoDocumentException, com.sun.star.lang.WrappedTargetException
getBibliographyRangesback to summary
private static List<com.sun.star.text.XTextRange> getBibliographyRanges(com.sun.star.text.XTextDocument doc, OpenOfficeReferenceMarkFormat referenceMarkFormat) throws NoDocumentException, com.sun.star.lang.WrappedTargetException
getZoteroBibliographyRangesback to summary
private static List<com.sun.star.text.XTextRange> getZoteroBibliographyRanges(com.sun.star.text.XTextDocument doc) throws NoDocumentException, com.sun.star.lang.WrappedTargetException
populateCSLBibTextSectionback to summary
private static void populateCSLBibTextSection(com.sun.star.text.XTextDocument doc, CSLCitationOOAdapter cslCitationOOAdapter, List<BibEntry> entries, List<BibDatabase> selectedDatabases, CitationStyle citationStyle, OpenOfficeReferenceMarkFormat referenceMarkFormat) throws com.sun.star.uno.Exception, NoDocumentException, CreationException
rebuildCSLBibliographyback to summary
public static void rebuildCSLBibliography(com.sun.star.text.XTextDocument doc, CSLCitationOOAdapter cslCitationOOAdapter, List<BibEntry> entries, List<BibDatabase> selectedDatabases, CitationStyle citationStyle, OpenOfficeReferenceMarkFormat referenceMarkFormat) throws com.sun.star.uno.Exception, NoDocumentException, CreationException