| Modifier and Type | Field and Description |
|---|---|
| private final boolean | |
| private final OOBibBaseConnect | |
| private final DialogService | |
| private static final Logger | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static OOVoidResult | |
| private static OOVoidResult | |
| private static OOVoidResult | |
| private OOVoidResult | checkStyleExistsInTheDocument(String familyName, String styleName, com.
|
| public OOVoidResult | |
| pack-priv OOVoidResult | |
| pack-priv OOVoidResult | |
| public Optional | exportCitedHelper(List<BibDatabase> databases, boolean
If there are some unresolved keys, shall we return an otherwise nonempty result, or Optional.empty()? returnPartialResult)GUI action for "Export cited" Does not refresh the bibliography. |
| public Optional | |
| pack-priv OOResult | |
| pack-priv OOResult | getFunctionalTextViewCursor(com.
This may move the view cursor. |
| pack-priv OOResult | getUserCursorForTextInsertion(com.
Get the cursor positioned by the user for inserting text. |
| public OOResult | |
| public void | guiActionApplyCitationEntries(List<CitationEntry> citationEntries)
Apply editable parts of citationEntries to the document: store pageInfo. |
| public Optional | |
| public void | guiActionInsertEntry(List<BibEntry>
The entries to cite. entries, BibDatabase The database the entries belong to (all of them). Used when creating the citation mark.
database, OOBibStyle
Consistency: for each entry in The bibliography style we are using. style, CitationType Indicates whether it is an in-text citation, a citation in parenthesis or an invisible citation. citationType, String A single page-info for these entries. Attributed to the last entry. pageInfo, Optional<Update.Indicates whether in-text citations should be refreshed in the document. Optional.empty() indicates no refresh. Otherwise provides options for refreshing the reference list. syncOptionsCreates a citation group from |
| public void | guiActionMergeCitationGroups(List<BibDatabase> databases, OOBibStyle style)
GUI action "Merge citations" |
| public void | |
| public void | guiActionSeparateCitations(List<BibDatabase> databases, OOBibStyle style)
GUI action "Separate citations". |
| public void | guiActionUpdateDocument(List<BibDatabase>
Must have at least one. databases, OOBibStyle Style. style)GUI action, refreshes citation markers and bibliography. |
| public boolean | |
| public boolean | |
| pack-priv OOVoidResult | |
| pack-priv void | |
| pack-priv void | |
| pack-priv OOVoidResult | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv final boolean |
| alwaysAddCitedOnPages | back to summary |
|---|---|
| private final boolean alwaysAddCitedOnPages | |
| connection | back to summary |
|---|---|
| private final OOBibBaseConnect connection | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| refreshBibliographyDuringSyncWhenCiting | back to summary |
|---|---|
| private final boolean refreshBibliographyDuringSyncWhenCiting | |
| OOBibBase | back to summary |
|---|---|
| public OOBibBase(Path loPath, DialogService dialogService) throws com.sun.star.comp.helper.BootstrapException, CreationException | |
| checkIfOpenOfficeIsRecordingChanges | back to summary |
|---|---|
| private static OOVoidResult | |
| checkRangeOverlaps | back to summary |
|---|---|
| private static OOVoidResult | |
| checkRangeOverlapsWithCursor | back to summary |
|---|---|
| private static OOVoidResult | |
| checkStyleExistsInTheDocument | back to summary |
|---|---|
| private OOVoidResult | |
| checkStylesExistInTheDocument | back to summary |
|---|---|
| public OOVoidResult | |
| collectResults | back to summary |
|---|---|
| pack-priv OOVoidResult | |
| databaseIsRequired | back to summary |
|---|---|
| pack-priv OOVoidResult | |
| exportCitedHelper | back to summary |
|---|---|
| public Optional GUI action for "Export cited" Does not refresh the bibliography.
| |
| getCurrentDocumentTitle | back to summary |
|---|---|
| public Optional The title of the current document, or Optional.empty() | |
| getFrontend | back to summary |
|---|---|
| pack-priv OOResult | |
| getFunctionalTextViewCursor | back to summary |
|---|---|
| pack-priv OOResult This may move the view cursor. | |
| getUserCursorForTextInsertion | back to summary |
|---|---|
| pack-priv OOResult Get the cursor positioned by the user for inserting text. | |
| getXTextDocument | back to summary |
|---|---|
| public OOResult Either return an XTextDocument or return JabRefException. | |
| guiActionApplyCitationEntries | back to summary |
|---|---|
| public void guiActionApplyCitationEntries(List<CitationEntry> citationEntries) Apply editable parts of citationEntries to the document: store pageInfo. Does not change presentation. Note we use no undo context here, because only DocumentConnection.setUserDefinedStringPropertyValue() is called, and Undo in LO will not undo that. GUI: "Manage citations" dialog "OK" button. Called from: ManageCitationsDialogViewModel.storeSettings Currently the only editable part is pageInfo. Since the only call to applyCitationEntries() only changes pageInfo w.r.t those returned by getCitationEntries(), we can do with the following restrictions:
| |
| guiActionGetCitationEntries | back to summary |
|---|---|
| public Optional | |
| guiActionInsertEntry | back to summary |
|---|---|
| public void guiActionInsertEntry(List<BibEntry> entries, BibDatabase database, OOBibStyle style, CitationType citationType, String pageInfo, Optional<Update. Creates a citation group from Uses LO undo context "Insert citation". Note Undo does not remove or reestablish custom properties.
| |
| guiActionMergeCitationGroups | back to summary |
|---|---|
| public void guiActionMergeCitationGroups(List<BibDatabase> databases, OOBibStyle style) GUI action "Merge citations" | |
| guiActionSelectDocument | back to summary |
|---|---|
| public void guiActionSelectDocument(boolean autoSelectForSingle) | |
| guiActionSeparateCitations | back to summary |
|---|---|
| public void guiActionSeparateCitations(List<BibDatabase> databases, OOBibStyle style) GUI action "Separate citations". Do the opposite of MergeCitationGroups. Combined markers are split, with a space inserted between. | |
| guiActionUpdateDocument | back to summary |
|---|---|
| public void guiActionUpdateDocument(List<BibDatabase> databases, OOBibStyle style) GUI action, refreshes citation markers and bibliography.
| |
| isConnectedToDocument | back to summary |
|---|---|
| public boolean isConnectedToDocument() A simple test for document availability. See also `isDocumentConnectionMissing` for a test actually attempting to use the connection. | |
| isDocumentConnectionMissing | back to summary |
|---|---|
public boolean isDocumentConnectionMissing()
| |
| selectedBibEntryIsRequired | back to summary |
|---|---|
| pack-priv OOVoidResult | |
| showDialog | back to summary |
|---|---|
| pack-priv void showDialog(OOError err) | |
| showDialog | back to summary |
|---|---|
| pack-priv void showDialog(String errorTitle, OOError err) | |
| styleIsRequired | back to summary |
|---|---|
| pack-priv OOVoidResult | |
| testDialog | back to summary |
|---|---|
| pack-priv boolean testDialog(OOVoidResult<OOError> res) | |
| testDialog | back to summary |
|---|---|
| pack-priv boolean testDialog(String errorTitle, OOVoidResult<OOError> res) | |
| testDialog | back to summary |
|---|---|
| pack-priv boolean testDialog(String errorTitle, List<OOVoidResult<OOError>> results) | |
| testDialog | back to summary |
|---|---|
pack-priv final boolean testDialog(String errorTitle, OOVoidResult<OOError>... results)
| |