public class XSSFBReader extends XSSFReader
Modifier and Type | Class and Description |
---|---|
static class |
XSSFBReader.SheetIterator |
XSSFReader.XSSFSheetRef
pkg, workbookPart
Constructor and Description |
---|
XSSFBReader(OPCPackage pkg)
Creates a new XSSFReader, for the given package
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbsPathMetadata()
In Excel 2013, the absolute path where the file was last saved may be stored in
the
XSSFBRecordType.BrtAbsPath15 record. |
java.util.Iterator<java.io.InputStream> |
getSheetsData()
Returns an Iterator which will let you get at all the
different Sheets in turn.
|
XSSFBStylesTable |
getXSSFBStylesTable() |
getSharedStringsData, getSharedStringsTable, getSheet, getStylesData, getStylesTable, getThemesData, getWorkbookData
public XSSFBReader(OPCPackage pkg) throws java.io.IOException, OpenXML4JException
pkg
- opc packagejava.io.IOException
OpenXML4JException
public java.lang.String getAbsPathMetadata() throws java.io.IOException
XSSFBRecordType.BrtAbsPath15
record. The equivalent in ooxml is
<x15ac:absPath>.null
if it could not be found.java.io.IOException
- when there's a problem with the workbook part's streampublic java.util.Iterator<java.io.InputStream> getSheetsData() throws java.io.IOException, InvalidFormatException
getSheetsData
in class XSSFReader
java.io.IOException
InvalidFormatException
public XSSFBStylesTable getXSSFBStylesTable() throws java.io.IOException
java.io.IOException
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.