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

public Class Update

extends Object
Class Inheritance
Imports
java.util.List, org.jabref.logic.openoffice.frontend.OOFrontend, .UpdateBibliography, .UpdateCitationMarkers, org.jabref.logic.openoffice.style.OOBibStyle, .OOProcess, org.jabref.model.database.BibDatabase, org.jabref.model.openoffice.rangesort.FunctionalTextViewCursor, org.jabref.model.openoffice.uno.CreationException, .NoDocumentException, .UnoScreenRefresh, com.sun.star.lang.IllegalArgumentException, com.sun.star.lang.WrappedTargetException, com.sun.star.text.XTextDocument

Update document: citation marks and bibliography

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 List<String>
resyncDocument(com.sun.star.text.XTextDocument doc, OOBibStyle style, FunctionalTextViewCursor fcursor, Update.SyncOptions syncOptions)

Reread document before sync

public static List<String>
synchronizeDocument(com.sun.star.text.XTextDocument doc, OOFrontend frontend, OOBibStyle style, FunctionalTextViewCursor fcursor, Update.SyncOptions syncOptions)

private static List<String>

Returns:

the list of unresolved citation keys
updateDocument
(com.sun.star.text.XTextDocument doc, OOFrontend frontend, List<BibDatabase> databases, OOBibStyle style, FunctionalTextViewCursor fcursor, boolean doUpdateBibliography, boolean alwaysAddCitedOnPages)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Updateback to summary
private Update()

Method Detail

resyncDocumentback to summary
public static List<String> resyncDocument(com.sun.star.text.XTextDocument doc, OOBibStyle style, FunctionalTextViewCursor fcursor, Update.SyncOptions syncOptions) throws CreationException, NoDocumentException, com.sun.star.lang.WrappedTargetException, com.sun.star.lang.IllegalArgumentException

Reread document before sync

synchronizeDocumentback to summary
public static List<String> synchronizeDocument(com.sun.star.text.XTextDocument doc, OOFrontend frontend, OOBibStyle style, FunctionalTextViewCursor fcursor, Update.SyncOptions syncOptions) throws CreationException, NoDocumentException, com.sun.star.lang.WrappedTargetException, com.sun.star.lang.IllegalArgumentException
updateDocumentback to summary
private static List<String> updateDocument(com.sun.star.text.XTextDocument doc, OOFrontend frontend, List<BibDatabase> databases, OOBibStyle style, FunctionalTextViewCursor fcursor, boolean doUpdateBibliography, boolean alwaysAddCitedOnPages) throws CreationException, NoDocumentException, com.sun.star.lang.WrappedTargetException, com.sun.star.lang.IllegalArgumentException
Returns:List<String>

the list of unresolved citation keys

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

public Class Update.SyncOptions

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv boolean
public final List<BibDatabase>
pack-priv boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Update.SyncOptions
setAlwaysAddCitedOnPages(boolean value)

public Update.SyncOptions
setUpdateBibliography(boolean value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

alwaysAddCitedOnPagesback to summary
pack-priv boolean alwaysAddCitedOnPages
databasesback to summary
public final List<BibDatabase> databases
updateBibliographyback to summary
pack-priv boolean updateBibliography

Constructor Detail

SyncOptionsback to summary
public SyncOptions(List<BibDatabase> databases)

Method Detail

setAlwaysAddCitedOnPagesback to summary
public Update.SyncOptions setAlwaysAddCitedOnPages(boolean value)
setUpdateBibliographyback to summary
public Update.SyncOptions setUpdateBibliography(boolean value)