In-text citation format is controlled by OpenOfficePreferences#getBstCitationFormat:
numeric [n], author-year (Name, Year), or style-defined \bibitem[label]{key} markers.
The bibliography is always rendered by the BST engine regardless of the citation format setting.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | BIBITEM_PATTERN
Matches a rendered |
| private final com. | |
| private final com. | |
| private Map | |
| private final BSTReferenceMarkManager | |
| private final OpenOfficePreferences | |
| private final PandocLatexConverter |
| Access | Constructor and Description |
|---|---|
| public | BSTCitationOOAdapter(com.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | |
| private String | |
| pack-priv static String | |
| private String | |
| pack-priv static String | |
| pack-priv static BSTCitationOOAdapter. | |
| pack-priv static BSTCitationOOAdapter. | |
| private boolean | |
| private void | |
| pack-priv static String | |
| private List | |
| public List | |
| pack-priv static String | |
| public void | insertBibliography(com.
Inserts the bibliography by rendering each cited entry through BST → pandoc → OOText. |
| public void | insertCitation(com.
Inserts an in-text citation mark. |
| private void | |
| public boolean | |
| pack-priv static boolean | |
| pack-priv static String | |
| public void | |
| private void | |
| private void |
| BIBITEM_PATTERN | back to summary |
|---|---|
| private static final Pattern BIBITEM_PATTERN Matches a rendered Examples:
| |
| componentContext | back to summary |
|---|---|
| private final com. | |
| document | back to summary |
|---|---|
| private final com. | |
| identifierToLabelMap | back to summary |
|---|---|
| private Map<String, String> identifierToLabelMap | |
| markManager | back to summary |
|---|---|
| private final BSTReferenceMarkManager markManager | |
| openOfficePreferences | back to summary |
|---|---|
| private final OpenOfficePreferences openOfficePreferences | |
| pandoc | back to summary |
|---|---|
| private final PandocLatexConverter pandoc | |
| BSTCitationOOAdapter | back to summary |
|---|---|
| public BSTCitationOOAdapter(com. | |
| buildAuthorYearCitation | back to summary |
|---|---|
pack-priv static String buildAuthorYearCitation(List<BibEntry> entries, BibDatabaseContext ctx)
| |
| buildNumericCitation | back to summary |
|---|---|
| private String buildNumericCitation(List<BibEntry> entries) | |
| buildNumericCitationText | back to summary |
|---|---|
pack-priv static String buildNumericCitationText(List<String> identifiers, Map<String, Integer> identifierToNumberMap)
| |
| buildStyleDefinedCitation | back to summary |
|---|---|
| private String buildStyleDefinedCitation(List<BibEntry> entries, BibDatabaseContext ctx) throws MissingStyleDefinedCitationLabelException | |
| buildStyleDefinedCitationText | back to summary |
|---|---|
pack-priv static String buildStyleDefinedCitationText(List<String> identifiers, Map<String, String> identifierToLabelMap) throws MissingStyleDefinedCitationLabelException
| |
| computeStyleOrderAndLabels | back to summary |
|---|---|
pack-priv static BSTCitationOOAdapter.
| |
| computeStyleOrderAndLabels | back to summary |
|---|---|
pack-priv static BSTCitationOOAdapter.
| |
| currentStyleUsesStyleDefinedNumericOrder | back to summary |
|---|---|
| private boolean currentStyleUsesStyleDefinedNumericOrder() | |
| ensureStyleDefinedLabels | back to summary |
|---|---|
| private void ensureStyleDefinedLabels(List<BibEntry> entries, BibDatabase database) | |
| extractFirstAuthorLastName | back to summary |
|---|---|
pack-priv static String extractFirstAuthorLastName(BibEntry entry)
| |
| getCitedEntriesIncluding | back to summary |
|---|---|
| private List | |
| getCitedIdentifiers | back to summary |
|---|---|
| public List | |
| getStyleDefinedLabelOrThrow | back to summary |
|---|---|
pack-priv static String getStyleDefinedLabelOrThrow(String identifier, Map<String, String> identifierToLabelMap) throws MissingStyleDefinedCitationLabelException
| |
| insertBibliography | back to summary |
|---|---|
| public void insertBibliography(com. Inserts the bibliography by rendering each cited entry through BST → pandoc → OOText. Entries are sorted by first-appearance (citation-number) order or BST style order. | |
| insertCitation | back to summary |
|---|---|
| public void insertCitation(com. Inserts an in-text citation mark. Format depends on
| |
| invalidateStyleDefinedLabels | back to summary |
|---|---|
| private void invalidateStyleDefinedLabels() | |
| isCitedEntry | back to summary |
|---|---|
| public boolean isCitedEntry(BibEntry entry) Returns | |
| isSupportedStyleDefinedLabel | back to summary |
|---|---|
pack-priv static boolean isSupportedStyleDefinedLabel(String label)
| |
| keyOrId | back to summary |
|---|---|
pack-priv static String keyOrId(BibEntry entry)
| |
| refreshCitationState | back to summary |
|---|---|
| public void refreshCitationState() throws com.sun.star.lang.WrappedTargetException, com.sun.star.container.NoSuchElementException | |
| updateNumericCitationTexts | back to summary |
|---|---|
| private void updateNumericCitationTexts(BibDatabase database) throws CreationException, com.sun.star.uno.Exception | |
| updateStyleDefinedCitationTexts | back to summary |
|---|---|
| private void updateStyleDefinedCitationTexts(BibDatabase database) throws CreationException, com.sun.star.uno.Exception, MissingStyleDefinedCitationLabelException | |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | identifierToLabelMap
Record Component accessed by identifierToLabelMap(). |
| private final Map | identifierToNumberMap
Record Component accessed by identifierToNumberMap(). |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public Map | |
| public Map | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| identifierToLabelMap | back to summary |
|---|---|
| private final Map<String, String> identifierToLabelMap Record Component accessed by identifierToLabelMap(). | |
| identifierToNumberMap | back to summary |
|---|---|
| private final Map<String, Integer> identifierToNumberMap Record Component accessed by identifierToNumberMap(). | |
| StyleOrderAndLabels | back to summary |
|---|---|
| pack-priv StyleOrderAndLabels(Map<String, Integer> identifierToNumberMap, Map<String, String> identifierToLabelMap) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| identifierToLabelMap | back to summary |
|---|---|
| public Map Record Component getter of identifierToLabelMap. | |
| identifierToNumberMap | back to summary |
|---|---|
| public Map Record Component getter of identifierToNumberMap. | |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |