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

public Class CSLReferenceMark

extends Object
Class Inheritance
Imports
java.util.List, .Map, .Optional, org.jabref.logic.openoffice.JabRefReferenceMark, .OpenOfficeReferenceMarkFormat, .ReferenceMark, .ZoteroReferenceMark, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .BibEntryTypesManager, org.jabref.model.openoffice.ootext.OOText, com.sun.star.container.XNamed, com.sun.star.lang.XMultiServiceFactory, com.sun.star.text.XTextContent, com.sun.star.uno.Exception, com.sun.star.uno.UnoRuntime

Class to model a reference mark. See CSLReferenceMarkManager for the usage and management of all reference marks.

Field Summary

Modifier and TypeField and Description
private final List<String>
private List<Integer>
private final CSLCitationType
private Optional<OOText>
private ReferenceMark
private com.sun.star.text.XTextContent

Constructor Summary

AccessConstructor and Description
public
CSLReferenceMark(com.sun.star.container.XNamed named, ReferenceMark referenceMark)

Method Summary

Modifier and TypeMethod and Description
pack-priv static ReferenceMark
buildReferenceMark(List<BibEntry> entries, List<String> citationKeys, List<Integer> citationNumbers, CSLCitationType citationType, int firstZoteroItemId, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, OpenOfficeReferenceMarkFormat referenceMarkFormat, Map<String, String> zoteroUriByCitationKey)

public List<String>
public List<Integer>
public CSLCitationType
public Optional<OOText>
public String
public com.sun.star.text.XTextContent
public String
public static CSLReferenceMark
of(List<BibEntry> entries, List<String> citationKeys, List<Integer> citationNumbers, CSLCitationType citationType, int firstZoteroItemId, com.sun.star.lang.XMultiServiceFactory factory, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, OpenOfficeReferenceMarkFormat referenceMarkFormat, Map<String, String> zoteroUriByCitationKey)

public void
public void
setFormattedCitationText(OOText formattedCitationText)

public void
updateName(String newName)

public void
updateTextContent(com.sun.star.text.XTextContent newTextContent)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

citationKeysback to summary
private final List<String> citationKeys
citationNumbersback to summary
private List<Integer> citationNumbers
citationTypeback to summary
private final CSLCitationType citationType
formattedCitationTextback to summary
private Optional<OOText> formattedCitationText
referenceMarkback to summary
private ReferenceMark referenceMark
textContentback to summary
private com.sun.star.text.XTextContent textContent

Constructor Detail

CSLReferenceMarkback to summary
public CSLReferenceMark(com.sun.star.container.XNamed named, ReferenceMark referenceMark)

Method Detail

buildReferenceMarkback to summary
pack-priv static ReferenceMark buildReferenceMark(List<BibEntry> entries, List<String> citationKeys, List<Integer> citationNumbers, CSLCitationType citationType, int firstZoteroItemId, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, OpenOfficeReferenceMarkFormat referenceMarkFormat, Map<String, String> zoteroUriByCitationKey)
getCitationKeysback to summary
public List<String> getCitationKeys()
getCitationNumbersback to summary
public List<Integer> getCitationNumbers()
getCitationTypeback to summary
public CSLCitationType getCitationType()
getFormattedCitationTextback to summary
public Optional<OOText> getFormattedCitationText()
getNameback to summary
public String getName()
getTextContentback to summary
public com.sun.star.text.XTextContent getTextContent()
getUniqueIdback to summary
public String getUniqueId()
ofback to summary
public static CSLReferenceMark of(List<BibEntry> entries, List<String> citationKeys, List<Integer> citationNumbers, CSLCitationType citationType, int firstZoteroItemId, com.sun.star.lang.XMultiServiceFactory factory, BibDatabaseContext bibDatabaseContext, BibEntryTypesManager entryTypesManager, OpenOfficeReferenceMarkFormat referenceMarkFormat, Map<String, String> zoteroUriByCitationKey) throws com.sun.star.uno.Exception
setCitationNumbersback to summary
public void setCitationNumbers(List<Integer> numbers)
setFormattedCitationTextback to summary
public void setFormattedCitationText(OOText formattedCitationText)
updateNameback to summary
public void updateName(String newName)
updateTextContentback to summary
public void updateTextContent(com.sun.star.text.XTextContent newTextContent)