public class OpenOfficeDocumentCreator extends ExportFormat
Constructor and Description |
---|
OpenOfficeDocumentCreator()
Creates a new instance of OpenOfficeDocumentCreator
|
Modifier and Type | Method and Description |
---|---|
static void |
exportOpenOfficeCalc(java.io.File file,
BibtexDatabase database,
java.util.Set<java.lang.String> keySet) |
static void |
exportOpenOfficeCalcXML(java.io.File tmpFile,
BibtexDatabase database,
java.util.Set<java.lang.String> keySet) |
void |
performExport(BibtexDatabase database,
MetaData metaData,
java.lang.String file,
java.lang.String encoding,
java.util.Set<java.lang.String> keySet)
Perform the export of
database . |
static void |
storeOpenOfficeFile(java.io.File file,
java.io.InputStream source) |
finalizeSaveSession, getConsoleName, getDisplayName, getFileFilter, getReader, getSaveSession, setCustomExport, setEncoding
public OpenOfficeDocumentCreator()
public void performExport(BibtexDatabase database, MetaData metaData, java.lang.String file, java.lang.String encoding, java.util.Set<java.lang.String> keySet) throws java.lang.Exception
ExportFormat
database
.performExport
in interface IExportFormat
performExport
in class ExportFormat
database
- The database to export from.metaData
- The database's meta data.file
- the file to write the resulting export toencoding
- The encoding of the databasekeySet
- Contains the IDs of all entries that should be exported. If
null
, all entries will be exported.java.io.IOException
- if a problem occurred while trying to write to writer
or read from required resources.java.lang.Exception
- if any other error occurred during export.IExportFormat.performExport(net.sf.jabref.BibtexDatabase,
net.sf.jabref.MetaData, java.lang.String, java.lang.String, java.util.Set)
public static void storeOpenOfficeFile(java.io.File file, java.io.InputStream source) throws java.lang.Exception
java.lang.Exception
public static void exportOpenOfficeCalc(java.io.File file, BibtexDatabase database, java.util.Set<java.lang.String> keySet) throws java.lang.Exception
java.lang.Exception
public static void exportOpenOfficeCalcXML(java.io.File tmpFile, BibtexDatabase database, java.util.Set<java.lang.String> keySet)