public class XSSFBEventBasedExcelExtractor extends XSSFEventBasedExcelExtractor implements ExcelExtractor
| Modifier and Type | Field and Description |
|---|---|
static XSSFRelation[] |
SUPPORTED_TYPES |
| Constructor and Description |
|---|
XSSFBEventBasedExcelExtractor(OPCPackage container) |
XSSFBEventBasedExcelExtractor(String path) |
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Processes the file and returns the text
|
static void |
main(String[] args) |
void |
processSheet(XSSFSheetXMLHandler.SheetContentsHandler sheetContentsExtractor,
XSSFBStylesTable styles,
XSSFBCommentsTable comments,
SharedStrings strings,
InputStream sheetInputStream)
Processes the given sheet
|
void |
setFormulasNotResults(boolean formulasNotResults)
Should we return the formula itself, and not
the result it produces? Default is false
This is currently unsupported for xssfb
|
void |
setHandleHyperlinksInCells(boolean handleHyperlinksInCells) |
close, getCoreProperties, getCustomProperties, getExtendedProperties, getFormulasNotResults, getIncludeCellComments, getIncludeHeadersFooters, getIncludeSheetNames, getIncludeTextBoxes, getLocale, getPackage, processSheet, setConcatenatePhoneticRuns, setIncludeCellComments, setIncludeHeadersFooters, setIncludeSheetNames, setIncludeTextBoxes, setLocalegetDocument, getMetadataTextExtractorsetFilesystemequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetIncludeCellComments, setIncludeHeadersFooters, setIncludeSheetNamespublic static final XSSFRelation[] SUPPORTED_TYPES
public XSSFBEventBasedExcelExtractor(String path) throws XmlException, OpenXML4JException, IOException
public XSSFBEventBasedExcelExtractor(OPCPackage container) throws XmlException, OpenXML4JException, IOException
public void setHandleHyperlinksInCells(boolean handleHyperlinksInCells)
public void setFormulasNotResults(boolean formulasNotResults)
setFormulasNotResults in interface ExcelExtractorsetFormulasNotResults in class XSSFEventBasedExcelExtractorformulasNotResults - true if the formula itself is returnedpublic void processSheet(XSSFSheetXMLHandler.SheetContentsHandler sheetContentsExtractor, XSSFBStylesTable styles, XSSFBCommentsTable comments, SharedStrings strings, InputStream sheetInputStream) throws IOException
IOExceptionpublic String getText()
getText in interface ExcelExtractorgetText in class XSSFEventBasedExcelExtractorCopyright © 2010 - 2020 Adobe. All Rights Reserved