| Modifier and Type | Field and Description |
|---|---|
| private final com. | |
| private final DialogService | |
| private static final Logger | |
| private final com. | |
| private com. | xTextDocument
Created when connected to a document. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| private com. | |
| private void | |
| pack-priv com. | |
| public Optional | |
| private static List | |
| public org.jabref.model.openoffice.util.OOResult | |
| public boolean | |
| public boolean | |
| public org.jabref.model.openoffice.util.OOVoidResult | |
| private static com. | Returns: Null if no document was selected. Otherwise the document selected.Run a dialog allowing the user to choose among the documents in |
| componentContext | back to summary |
|---|---|
| private final com. | |
| dialogService | back to summary |
|---|---|
| private final DialogService dialogService | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| xDesktop | back to summary |
|---|---|
| private final com. | |
| xTextDocument | back to summary |
|---|---|
| private com. Created when connected to a document. Cleared (to null) when we discover we lost the connection. | |
| OOBibBaseConnect | back to summary |
|---|---|
| public OOBibBaseConnect(Path loPath, DialogService dialogService) throws BootstrapException, org.jabref.model.openoffice.uno.CreationException, IOException, InterruptedException | |
| closeOfficeConnection | back to summary |
|---|---|
| public static void closeOfficeConnection() Close any open office connection, if none exists does nothing | |
| createDesktop | back to summary |
|---|---|
| private com. | |
| forgetDocument | back to summary |
|---|---|
| private void forgetDocument() Mark the current document as missing. | |
| getComponentContext | back to summary |
|---|---|
| pack-priv com. | |
| getCurrentDocumentTitle | back to summary |
|---|---|
| public Optional The title of the current document, or Optional.empty() | |
| getTextDocuments | back to summary |
|---|---|
| private static List | |
| getXTextDocument | back to summary |
|---|---|
| public org.jabref.model.openoffice.util.OOResult Returns either a valid XTextDocument in OOResult or a NoDocumentException error | |
| isConnectedToDocument | back to summary |
|---|---|
| public boolean isConnectedToDocument() A simple test for document availability. See also | |
| isDocumentConnectionMissing | back to summary |
|---|---|
public boolean isDocumentConnectionMissing()
| |
| selectDocument | back to summary |
|---|---|
| public org.jabref.model.openoffice.util.OOVoidResult Choose a document to work with. Assumes we have already connected to LibreOffice or OpenOffice. If there is a single document to choose from, selects that. If there are more than one, shows selection dialog. If there are none, throws NoDocumentFoundException After successful selection connects to the selected document and extracts some frequently used parts (starting points for managing its content). Finally initializes this.xTextDocument with the selected document and parts extracted. | |
| selectDocumentDialog | back to summary |
|---|---|
| private static com. Run a dialog allowing the user to choose among the documents in
| |