com.github.pjfanning.xlsx.impl.StreamingWorkbook Maven / Gradle / Ivy
The newest version!
package com.github.pjfanning.xlsx.impl;
import com.github.pjfanning.xlsx.exceptions.MissingSheetException;
import com.github.pjfanning.xlsx.exceptions.ReadException;
import org.apache.poi.ooxml.POIXMLProperties;
import org.apache.poi.openxml4j.opc.PackagePart;
import org.apache.poi.ss.SpreadsheetVersion;
import org.apache.poi.ss.formula.EvaluationWorkbook;
import org.apache.poi.ss.formula.udf.UDFFinder;
import org.apache.poi.ss.usermodel.*;
import org.apache.poi.ss.usermodel.Row.MissingCellPolicy;
import org.apache.poi.xssf.usermodel.XSSFPictureData;
import javax.xml.stream.XMLStreamException;
import java.io.IOException;
import java.io.OutputStream;
import java.util.*;
import java.util.regex.Pattern;
public class StreamingWorkbook implements Workbook, Date1904Support, AutoCloseable {
private final StreamingWorkbookReader reader;
private POIXMLProperties.CoreProperties coreProperties = null;
private List pictures;
public StreamingWorkbook(StreamingWorkbookReader reader) {
this.reader = reader;
reader.setWorkbook(this);
}
int findSheetByName(final String name) {
final List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy