Verified Owner
Top Fields Constructors Methods
org.jabref.gui.preferences.openoffice

public Class OpenOfficeTabViewModel

extends Object
implements PreferenceTabViewModel
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferenceTabViewModel
Annotations
@NullMarked
Imports
java.nio.file.Path, java.util.Optional, javafx.beans.binding.Bindings, .BooleanBinding, javafx.beans.property.BooleanProperty, .SimpleBooleanProperty, .SimpleStringProperty, .StringProperty, org.jabref.gui.DialogService, org.jabref.gui.preferences.PreferenceTabViewModel, org.jabref.gui.util.FileDialogConfiguration, org.jabref.logic.FilePreferences, org.jabref.logic.citationstyle.CitationStyle, org.jabref.logic.l10n.Localization, org.jabref.logic.openoffice.OpenOfficePreferences, org.jabref.logic.openoffice.bst.PandocLatexConverter, org.jabref.logic.util.BackgroundTask, .TaskExecutor, org.jspecify.annotations.NullMarked, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private final DialogService
private final FilePreferences
private static final Logger
private final OpenOfficePreferences
private final StringProperty
private final TaskExecutor
private final BooleanProperty
private final BooleanBinding

Constructor Summary

AccessConstructor and Description
public
OpenOfficeTabViewModel(DialogService dialogService, FilePreferences filePreferences, OpenOfficePreferences openOfficePreferences, TaskExecutor taskExecutor)

Method Summary

Modifier and TypeMethod and Description
public void
public void
public StringProperty
public void
setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden.

public void
storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog.

public BooleanBinding
public BooleanProperty
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialogServiceback to summary
private final DialogService dialogService
filePreferencesback to summary
private final FilePreferences filePreferences
LOGGERback to summary
private static final Logger LOGGER
openOfficePreferencesback to summary
private final OpenOfficePreferences openOfficePreferences
pandocPathback to summary
private final StringProperty pandocPath
taskExecutorback to summary
private final TaskExecutor taskExecutor
zoteroCompatibilityModeback to summary
private final BooleanProperty zoteroCompatibilityMode
zoteroCompatibilityModeDisabledback to summary
private final BooleanBinding zoteroCompatibilityModeDisabled

Constructor Detail

OpenOfficeTabViewModelback to summary
public OpenOfficeTabViewModel(DialogService dialogService, FilePreferences filePreferences, OpenOfficePreferences openOfficePreferences, TaskExecutor taskExecutor)

Method Detail

autoDetectPandocPathback to summary
public void autoDetectPandocPath()
browsePandocPathback to summary
public void browsePandocPath()
pandocPathPropertyback to summary
public StringProperty pandocPathProperty()
setValuesback to summary
public void setValues()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.setValues.

This method is called when the dialog is opened, or if it is made visible after being hidden. The tab should update all its values.

This is the ONLY PLACE to set values for the fields in the tab. It is ILLEGAL to set values only at construction time, because the dialog will be reused and updated.

Annotations
@Override
storeSettingsback to summary
public void storeSettings()

Implements org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

Doc from org.jabref.gui.preferences.PreferenceTabViewModel.storeSettings.

This method is called when the user presses OK in the Preferences dialog. Implementing classes must make sure all settings presented get stored in PreferencesService.

Annotations
@Override
zoteroCompatibilityModeDisabledPropertyback to summary
public BooleanBinding zoteroCompatibilityModeDisabledProperty()
zoteroCompatibilityModePropertyback to summary
public BooleanProperty zoteroCompatibilityModeProperty()