Top Fields Constructors Methods
org.jabref.logic.exporter

public Class OpenDocumentSpreadsheetCreator

extends Exporter
Class Inheritance
Imports
java.io.BufferedInputStream, .BufferedOutputStream, .File, .FileInputStream, .FileOutputStream, .IOException, .InputStream, .OutputStream, .OutputStreamWriter, .Writer, java.net.URL, java.nio.charset.StandardCharsets, java.nio.file.Files, .Path, java.util.List, .Objects, java.util.zip.CRC32, .ZipEntry, .ZipOutputStream, javax.xml.transform.OutputKeys, .Transformer, .TransformerFactory, javax.xml.transform.dom.DOMSource, javax.xml.transform.stream.StreamResult, org.jabref.logic.l10n.Localization, org.jabref.logic.util.StandardFileType, org.jabref.model.database.BibDatabase, .BibDatabaseContext, org.jabref.model.entry.BibEntry, org.slf4j.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final Logger

Constructor Summary

AccessConstructor and Description
public
OpenDocumentSpreadsheetCreator()

Creates a new instance of OpenOfficeDocumentCreator

Method Summary

Modifier and TypeMethod and Description
private static void
private static void
public void
export(final BibDatabaseContext
the database to export from
databaseContext
,
final Path
the file to write to
file
,
List<BibEntry>
a list containing all entries that should be exported
entries
)

Implements abstract org.jabref.logic.exporter.Exporter.export.

Performs the export.

private static void
private static void
private static void
Inherited from org.jabref.logic.exporter.Exporter:
exportexportToAllFilesOfEntryexportToFileByPathgetFileTypegetIdgetNametoString

Field Detail

LOGGERback to summary
private static final Logger LOGGER

Constructor Detail

OpenDocumentSpreadsheetCreatorback to summary
public OpenDocumentSpreadsheetCreator()

Creates a new instance of OpenOfficeDocumentCreator

Method Detail

addFromResourceback to summary
private static void addFromResource(String resource, OutputStream out)
addResourceFileback to summary
private static void addResourceFile(String name, String resource, ZipOutputStream out) throws IOException
exportback to summary
public void export(final BibDatabaseContext databaseContext, final Path file, List<BibEntry> entries) throws IOException

Implements abstract org.jabref.logic.exporter.Exporter.export.

Doc from org.jabref.logic.exporter.Exporter.export.

Performs the export.

Parameters
databaseContext:BibDatabaseContext

the database to export from

file:Path

the file to write to

entries:List<BibEntry>

a list containing all entries that should be exported

Annotations
@Override
exportOpenDocumentSpreadsheetback to summary
private static void exportOpenDocumentSpreadsheet(Path file, BibDatabase database, List<BibEntry> entries) throws IOException
exportOpenDocumentSpreadsheetXMLback to summary
private static void exportOpenDocumentSpreadsheetXML(File tmpFile, BibDatabase database, List<BibEntry> entries)
storeOpenDocumentSpreadsheetFileback to summary
private static void storeOpenDocumentSpreadsheetFile(Path file, InputStream source) throws IOException