Top Inners Constructors Methods
org.jabref.logic.openoffice.action

public Class ExportCited

extends Object
Class Inheritance
Imports
java.util.ArrayList, .HashSet, .List, .Set, org.jabref.logic.openoffice.frontend.OOFrontend, org.jabref.model.database.BibDatabase, org.jabref.model.entry.BibEntry, org.jabref.model.entry.field.StandardField, org.jabref.model.openoffice.style.CitedKey, .CitedKeys, org.jabref.model.openoffice.uno.NoDocumentException, com.sun.star.lang.WrappedTargetException, com.sun.star.text.XTextDocument

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ExportCited.GenerateDatabaseResult

Returns:

A new database, with cloned entries. If a key is not found, it is added to result.unresolvedKeys

Cross references (in StandardField.CROSSREF) are followed (not recursively): If the referenced entry is found, it is included in the result. If it is not found, it is silently ignored.

generateDatabase
(com.sun.star.text.XTextDocument doc, List<BibDatabase>
The databases to look up the citation keys in the document from.
databases
)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ExportCitedback to summary
private ExportCited()

Method Detail

generateDatabaseback to summary
public static ExportCited.GenerateDatabaseResult generateDatabase(com.sun.star.text.XTextDocument doc, List<BibDatabase> databases) throws NoDocumentException, com.sun.star.lang.WrappedTargetException
Parameters
databases:List<BibDatabase>

The databases to look up the citation keys in the document from.

Returns:ExportCited.GenerateDatabaseResult

A new database, with cloned entries. If a key is not found, it is added to result.unresolvedKeys

Cross references (in StandardField.CROSSREF) are followed (not recursively): If the referenced entry is found, it is included in the result. If it is not found, it is silently ignored.

org.jabref.logic.openoffice.action back to summary

public Class ExportCited.GenerateDatabaseResult

extends Object
Class Inheritance
  • java.lang.Object
  • org.jabref.logic.openoffice.action.ExportCited.GenerateDatabaseResult

Field Summary

Modifier and TypeField and Description
public final BibDatabase
public final List<String>
unresolvedKeys

null: not done; isEmpty: no unresolved

Constructor Summary

AccessConstructor and Description
pack-priv
GenerateDatabaseResult(List<String> unresolvedKeys, BibDatabase newDatabase)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

newDatabaseback to summary
public final BibDatabase newDatabase
unresolvedKeysback to summary
public final List<String> unresolvedKeys

null: not done; isEmpty: no unresolved

Constructor Detail

GenerateDatabaseResultback to summary
pack-priv GenerateDatabaseResult(List<String> unresolvedKeys, BibDatabase newDatabase)