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.
(在 Excel 2013 中,上次保存文件的绝对路径可能存储在 XSSFBRecordType.BrtAbsPath15 记录中。)
|
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 package
(pkg - opc 包)
java.io.IOException
(java.io.IOException)
OpenXML4JException
(OpenXML4JException)
public java.lang.String getAbsPathMetadata() throws java.io.IOException
XSSFBRecordType.BrtAbsPath15
record. The equivalent in ooxml is <x15ac:absPath>.
(在 Excel 2013 中,上次保存文件的绝对路径可能存储在 XSSFBRecordType.BrtAbsPath15 记录中。 ooxml 中的等价物是
null
if it could not be found.
(绝对路径,如果找不到,则返回 null。)
java.io.IOException
- when there's a problem with the workbook part's stream
(java.io.IOException - 当工作簿部分的流出现问题时)
public java.util.Iterator<java.io.InputStream> getSheetsData() throws java.io.IOException, InvalidFormatException
getSheetsData
in class
XSSFReader
java.io.IOException
(java.io.IOException)
InvalidFormatException
(无效格式异常)
public XSSFBStylesTable getXSSFBStylesTable() throws java.io.IOException
java.io.IOException
(java.io.IOException)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.