@Internal
public class OoxmlReader
extends org.apache.poi.xssf.eventusermodel.XSSFReader
| Modifier and Type | Class and Description |
|---|---|
static class |
OoxmlReader.SheetData |
| Constructor and Description |
|---|
OoxmlReader(StreamingReader.Builder builder,
org.apache.poi.openxml4j.opc.OPCPackage pkg,
boolean strictOoxmlChecksNeeded)
Creates a new XSSFReader, for the given package
|
| Modifier and Type | Method and Description |
|---|---|
int |
getNumberOfSheets() |
org.apache.poi.xssf.model.SharedStrings |
getSharedStrings(StreamingReader.Builder builder)
Opens up the Shared Strings Table, parses it, and
returns a handy object for working with
shared strings.
|
org.apache.poi.xssf.model.SharedStringsTable |
getSharedStringsTable()
Opens up the Shared Strings Table, parses it, and
returns a handy object for working with
shared strings.
|
OoxmlReader.SheetData |
getSheetDataAt(int idx) |
int |
getSheetIndex(java.lang.String name) |
org.apache.poi.xssf.model.StylesTable |
getStylesTable()
Opens up the Styles Table, parses it, and
returns a handy object for working with cell styles
|
@Internal public OoxmlReader(StreamingReader.Builder builder, org.apache.poi.openxml4j.opc.OPCPackage pkg, boolean strictOoxmlChecksNeeded) throws java.io.IOException, org.apache.poi.openxml4j.exceptions.OpenXML4JException
java.io.IOExceptionorg.apache.poi.openxml4j.exceptions.OpenXML4JExceptionpublic org.apache.poi.xssf.model.SharedStringsTable getSharedStringsTable()
throws java.io.IOException
getSharedStringsTable in class org.apache.poi.xssf.eventusermodel.XSSFReaderjava.io.IOExceptionpublic org.apache.poi.xssf.model.SharedStrings getSharedStrings(StreamingReader.Builder builder) throws java.io.IOException, org.xml.sax.SAXException
java.io.IOExceptionorg.xml.sax.SAXExceptionpublic org.apache.poi.xssf.model.StylesTable getStylesTable()
throws java.io.IOException,
org.apache.poi.openxml4j.exceptions.InvalidFormatException
getStylesTable in class org.apache.poi.xssf.eventusermodel.XSSFReaderjava.io.IOExceptionorg.apache.poi.openxml4j.exceptions.InvalidFormatExceptionpublic int getSheetIndex(java.lang.String name)
public OoxmlReader.SheetData getSheetDataAt(int idx)
public int getNumberOfSheets()