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, updatepublic 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 SidePanePluginpublic void init(JabRefFrame frame, SidePaneManager manager)
init in interface SidePanePluginpublic javax.swing.JMenuItem getMenuItem()
getMenuItem in interface SidePanePluginpublic java.lang.String getShortcutKey()
getShortcutKey in interface SidePanePluginpublic java.util.List<BibtexDatabase> getBaseList()
public void connect(boolean auto)
public void readStyleFile()
throws java.lang.Exception
java.lang.Exceptionpublic static void addURL(java.net.URL[] u)
throws java.io.IOException
java.io.IOExceptionpublic 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 PushToApplicationpublic java.lang.String getApplicationName()
getApplicationName in interface PushToApplicationpublic java.lang.String getTooltip()
getTooltip in interface PushToApplicationpublic javax.swing.Icon getIcon()
getIcon in interface PushToApplicationpublic java.lang.String getKeyStrokeName()
getKeyStrokeName in interface PushToApplicationpublic javax.swing.JPanel getSettingsPanel()
PushToApplicationgetSettingsPanel in interface PushToApplicationpublic void storeSettings()
PushToApplicationstoreSettings in interface PushToApplicationpublic void pushEntries(BibtexDatabase bibtexDatabase, BibtexEntry[] entries, java.lang.String s, MetaData metaData)
PushToApplicationpushEntries in interface PushToApplicationpublic void operationCompleted(BasePanel basePanel)
PushToApplicationoperationCompleted in interface PushToApplicationpublic boolean requiresBibtexKeys()
PushToApplicationrequiresBibtexKeys in interface PushToApplication