public class OpenOfficePanel extends AbstractWorker implements SidePanePlugin, PushToApplication
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
defaultAuthorYearStylePath |
static java.lang.String |
defaultNumericalStylePath |
static boolean |
postLayoutSupported |
Modifier and Type | Method and Description |
---|---|
static void |
addURL(java.net.URL[] u) |
void |
connect(boolean auto) |
java.lang.String |
getApplicationName() |
java.util.List<BibtexDatabase> |
getBaseList() |
javax.swing.Icon |
getIcon() |
static OpenOfficePanel |
getInstance() |
java.lang.String |
getKeyStrokeName() |
javax.swing.JMenuItem |
getMenuItem() |
java.lang.String |
getName() |
javax.swing.JPanel |
getSettingsPanel()
This method asks the implementing class to return a JPanel populated
with the imlementation's options panel, if necessary.
|
java.lang.String |
getShortcutKey() |
SidePaneComponent |
getSidePaneComponent() |
java.lang.String |
getTooltip() |
void |
init(JabRefFrame frame,
SidePaneManager manager) |
void |
insertFullRefs() |
void |
insertUsingBST() |
void |
operationCompleted(BasePanel basePanel)
Reporting etc., this method is called on the event dispatch thread after
pushEntries() returns.
|
void |
pushEntries(BibtexDatabase bibtexDatabase,
BibtexEntry[] entries,
java.lang.String s,
MetaData metaData)
The actual operation.
|
void |
pushEntries(boolean inParenthesis,
BibtexEntry[] entries) |
void |
pushEntries(boolean inParenthesis,
boolean withText,
boolean addPageInfo) |
void |
readStyleFile()
Read the style file.
|
boolean |
requiresBibtexKeys()
Check whether this operation requires BibTeX keys to be set for the entries.
|
void |
run() |
void |
showConnectDialog() |
void |
showConnectionLostErrorMessage() |
void |
showSettingsPopup() |
void |
storeSettings()
This method is called to indicate that the settings panel returned from
the getSettingsPanel() method has been shown to the user and that the
user has indicated that the settings should be stored.
|
void |
updateConnectionParams(java.lang.String ooPath,
java.lang.String ooExec,
java.lang.String ooJars,
boolean oo3) |
getCallBack, getWorker, init, update
public static final java.lang.String defaultAuthorYearStylePath
public static final java.lang.String defaultNumericalStylePath
public static boolean postLayoutSupported
public static OpenOfficePanel getInstance()
public SidePaneComponent getSidePaneComponent()
getSidePaneComponent
in interface SidePanePlugin
public void init(JabRefFrame frame, SidePaneManager manager)
init
in interface SidePanePlugin
public javax.swing.JMenuItem getMenuItem()
getMenuItem
in interface SidePanePlugin
public java.lang.String getShortcutKey()
getShortcutKey
in interface SidePanePlugin
public java.util.List<BibtexDatabase> getBaseList()
public void connect(boolean auto)
public void readStyleFile() throws java.lang.Exception
java.lang.Exception
public static void addURL(java.net.URL[] u) throws java.io.IOException
java.io.IOException
public void updateConnectionParams(java.lang.String ooPath, java.lang.String ooExec, java.lang.String ooJars, boolean oo3)
public void showConnectDialog()
public void pushEntries(boolean inParenthesis, boolean withText, boolean addPageInfo)
public void showConnectionLostErrorMessage()
public void insertFullRefs()
public void insertUsingBST()
public void showSettingsPopup()
public void pushEntries(boolean inParenthesis, BibtexEntry[] entries)
public java.lang.String getName()
getName
in interface PushToApplication
public java.lang.String getApplicationName()
getApplicationName
in interface PushToApplication
public java.lang.String getTooltip()
getTooltip
in interface PushToApplication
public javax.swing.Icon getIcon()
getIcon
in interface PushToApplication
public java.lang.String getKeyStrokeName()
getKeyStrokeName
in interface PushToApplication
public javax.swing.JPanel getSettingsPanel()
PushToApplication
getSettingsPanel
in interface PushToApplication
public void storeSettings()
PushToApplication
storeSettings
in interface PushToApplication
public void pushEntries(BibtexDatabase bibtexDatabase, BibtexEntry[] entries, java.lang.String s, MetaData metaData)
PushToApplication
pushEntries
in interface PushToApplication
public void operationCompleted(BasePanel basePanel)
PushToApplication
operationCompleted
in interface PushToApplication
public boolean requiresBibtexKeys()
PushToApplication
requiresBibtexKeys
in interface PushToApplication