public class StreamingWorkbook extends Object implements org.apache.poi.ss.usermodel.Workbook, AutoCloseable
| Constructor and Description |
|---|
StreamingWorkbook(StreamingWorkbookReader reader) |
| Modifier and Type | Method and Description |
|---|---|
int |
addOlePackage(byte[] bytes,
String s,
String s1,
String s2)
Not supported
|
int |
addPicture(byte[] pictureData,
int format)
Not supported
|
void |
addToolPack(org.apache.poi.ss.formula.udf.UDFFinder toopack)
Not supported
|
org.apache.poi.ss.usermodel.Sheet |
cloneSheet(int sheetNum)
Not supported
|
void |
close() |
org.apache.poi.ss.usermodel.CellStyle |
createCellStyle()
Not supported
|
org.apache.poi.ss.usermodel.DataFormat |
createDataFormat()
Not supported
|
org.apache.poi.ss.usermodel.Font |
createFont()
Not supported
|
org.apache.poi.ss.usermodel.Name |
createName()
Not supported
|
org.apache.poi.ss.usermodel.Sheet |
createSheet()
Not supported
|
org.apache.poi.ss.usermodel.Sheet |
createSheet(String sheetname)
Not supported
|
org.apache.poi.ss.usermodel.Font |
findFont(boolean b,
short i,
short i1,
String s,
boolean b1,
boolean b2,
short i2,
byte b3)
Not supported
|
int |
getActiveSheetIndex()
Not supported
|
List<? extends org.apache.poi.ss.usermodel.Name> |
getAllNames()
Not supported
|
List<? extends org.apache.poi.ss.usermodel.PictureData> |
getAllPictures()
Not supported
|
org.apache.poi.ss.usermodel.CellStyle |
getCellStyleAt(int i)
Not supported
|
org.apache.poi.ss.usermodel.CreationHelper |
getCreationHelper()
Not supported
|
int |
getFirstVisibleTab()
Not supported
|
org.apache.poi.ss.usermodel.Font |
getFontAt(int i)
Not supported
|
org.apache.poi.ss.usermodel.Font |
getFontAt(short idx)
Not supported
|
boolean |
getForceFormulaRecalculation()
Not supported
|
org.apache.poi.ss.usermodel.Row.MissingCellPolicy |
getMissingCellPolicy()
Not supported
|
org.apache.poi.ss.usermodel.Name |
getName(String name)
Not supported
|
org.apache.poi.ss.usermodel.Name |
getNameAt(int nameIndex)
Not supported
|
int |
getNameIndex(String name)
Not supported
|
List<? extends org.apache.poi.ss.usermodel.Name> |
getNames(String s)
Not supported
|
short |
getNumberOfFonts()
Not supported
|
int |
getNumberOfFontsAsInt()
Not supported
|
int |
getNumberOfNames()
Not supported
|
int |
getNumberOfSheets() |
int |
getNumCellStyles()
Not supported
|
String |
getPrintArea(int sheetIndex)
Not supported
|
org.apache.poi.ss.usermodel.Sheet |
getSheet(String name) |
org.apache.poi.ss.usermodel.Sheet |
getSheetAt(int index) |
int |
getSheetIndex(org.apache.poi.ss.usermodel.Sheet sheet) |
int |
getSheetIndex(String name) |
String |
getSheetName(int sheet) |
org.apache.poi.ss.usermodel.SheetVisibility |
getSheetVisibility(int i)
Not supported
|
org.apache.poi.ss.SpreadsheetVersion |
getSpreadsheetVersion()
Not supported
|
boolean |
isHidden()
Not supported
|
boolean |
isSheetHidden(int sheetIx) |
boolean |
isSheetVeryHidden(int sheetIx) |
Iterator<org.apache.poi.ss.usermodel.Sheet> |
iterator() |
int |
linkExternalWorkbook(String name,
org.apache.poi.ss.usermodel.Workbook workbook)
Not supported
|
void |
removeName(int index)
Not supported
|
void |
removeName(org.apache.poi.ss.usermodel.Name name)
Not supported
|
void |
removeName(String name)
Not supported
|
void |
removePrintArea(int sheetIndex)
Not supported
|
void |
removeSheetAt(int index)
Not supported
|
void |
setActiveSheet(int sheetIndex)
Not supported
|
void |
setFirstVisibleTab(int sheetIndex)
Not supported
|
void |
setForceFormulaRecalculation(boolean value)
Not supported
|
void |
setHidden(boolean hiddenFlag)
Not supported
|
void |
setMissingCellPolicy(org.apache.poi.ss.usermodel.Row.MissingCellPolicy missingCellPolicy)
Not supported
|
void |
setPrintArea(int sheetIndex,
int startColumn,
int endColumn,
int startRow,
int endRow)
Not supported
|
void |
setPrintArea(int sheetIndex,
String reference)
Not supported
|
void |
setSelectedTab(int index)
Not supported
|
void |
setSheetHidden(int sheetIx,
boolean hidden)
Not supported
|
void |
setSheetName(int sheet,
String name)
Not supported
|
void |
setSheetOrder(String sheetname,
int pos)
Not supported
|
void |
setSheetVisibility(int i,
org.apache.poi.ss.usermodel.SheetVisibility sheetVisibility)
Not supported
|
Iterator<org.apache.poi.ss.usermodel.Sheet> |
sheetIterator() |
void |
write(OutputStream stream)
Not supported
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic StreamingWorkbook(StreamingWorkbookReader reader)
public Iterator<org.apache.poi.ss.usermodel.Sheet> iterator()
public Iterator<org.apache.poi.ss.usermodel.Sheet> sheetIterator()
sheetIterator in interface org.apache.poi.ss.usermodel.Workbookpublic String getSheetName(int sheet)
getSheetName in interface org.apache.poi.ss.usermodel.Workbookpublic int getSheetIndex(String name)
getSheetIndex in interface org.apache.poi.ss.usermodel.Workbookpublic int getSheetIndex(org.apache.poi.ss.usermodel.Sheet sheet)
getSheetIndex in interface org.apache.poi.ss.usermodel.Workbookpublic int getNumberOfSheets()
getNumberOfSheets in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet getSheetAt(int index)
getSheetAt in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet getSheet(String name)
getSheet in interface org.apache.poi.ss.usermodel.Workbookpublic boolean isSheetHidden(int sheetIx)
isSheetHidden in interface org.apache.poi.ss.usermodel.Workbookpublic boolean isSheetVeryHidden(int sheetIx)
isSheetVeryHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.poi.ss.usermodel.WorkbookIOExceptionpublic int getActiveSheetIndex()
getActiveSheetIndex in interface org.apache.poi.ss.usermodel.Workbookpublic void setActiveSheet(int sheetIndex)
setActiveSheet in interface org.apache.poi.ss.usermodel.Workbookpublic int getFirstVisibleTab()
getFirstVisibleTab in interface org.apache.poi.ss.usermodel.Workbookpublic void setFirstVisibleTab(int sheetIndex)
setFirstVisibleTab in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetOrder(String sheetname, int pos)
setSheetOrder in interface org.apache.poi.ss.usermodel.Workbookpublic void setSelectedTab(int index)
setSelectedTab in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetName(int sheet,
String name)
setSheetName in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet createSheet()
createSheet in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet createSheet(String sheetname)
createSheet in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Sheet cloneSheet(int sheetNum)
cloneSheet in interface org.apache.poi.ss.usermodel.Workbookpublic void removeSheetAt(int index)
removeSheetAt in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font createFont()
createFont in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font findFont(boolean b,
short i,
short i1,
String s,
boolean b1,
boolean b2,
short i2,
byte b3)
findFont in interface org.apache.poi.ss.usermodel.Workbookpublic short getNumberOfFonts()
getNumberOfFonts in interface org.apache.poi.ss.usermodel.Workbookpublic int getNumberOfFontsAsInt()
getNumberOfFontsAsInt in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font getFontAt(short idx)
getFontAt in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Font getFontAt(int i)
getFontAt in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.CellStyle createCellStyle()
createCellStyle in interface org.apache.poi.ss.usermodel.Workbookpublic int getNumCellStyles()
getNumCellStyles in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.CellStyle getCellStyleAt(int i)
getCellStyleAt in interface org.apache.poi.ss.usermodel.Workbookpublic void write(OutputStream stream) throws IOException
write in interface org.apache.poi.ss.usermodel.WorkbookIOExceptionpublic int getNumberOfNames()
getNumberOfNames in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Name getName(String name)
getName in interface org.apache.poi.ss.usermodel.Workbookpublic List<? extends org.apache.poi.ss.usermodel.Name> getNames(String s)
getNames in interface org.apache.poi.ss.usermodel.Workbookpublic List<? extends org.apache.poi.ss.usermodel.Name> getAllNames()
getAllNames in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Name getNameAt(int nameIndex)
getNameAt in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Name createName()
createName in interface org.apache.poi.ss.usermodel.Workbookpublic int getNameIndex(String name)
getNameIndex in interface org.apache.poi.ss.usermodel.Workbookpublic void removeName(int index)
removeName in interface org.apache.poi.ss.usermodel.Workbookpublic void removeName(String name)
removeName in interface org.apache.poi.ss.usermodel.Workbookpublic void removeName(org.apache.poi.ss.usermodel.Name name)
removeName in interface org.apache.poi.ss.usermodel.Workbookpublic int linkExternalWorkbook(String name, org.apache.poi.ss.usermodel.Workbook workbook)
linkExternalWorkbook in interface org.apache.poi.ss.usermodel.Workbookpublic void setPrintArea(int sheetIndex,
String reference)
setPrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic void setPrintArea(int sheetIndex,
int startColumn,
int endColumn,
int startRow,
int endRow)
setPrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic String getPrintArea(int sheetIndex)
getPrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic void removePrintArea(int sheetIndex)
removePrintArea in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.Row.MissingCellPolicy getMissingCellPolicy()
getMissingCellPolicy in interface org.apache.poi.ss.usermodel.Workbookpublic void setMissingCellPolicy(org.apache.poi.ss.usermodel.Row.MissingCellPolicy missingCellPolicy)
setMissingCellPolicy in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.DataFormat createDataFormat()
createDataFormat in interface org.apache.poi.ss.usermodel.Workbookpublic int addPicture(byte[] pictureData,
int format)
addPicture in interface org.apache.poi.ss.usermodel.Workbookpublic List<? extends org.apache.poi.ss.usermodel.PictureData> getAllPictures()
getAllPictures in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.CreationHelper getCreationHelper()
getCreationHelper in interface org.apache.poi.ss.usermodel.Workbookpublic boolean isHidden()
isHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void setHidden(boolean hiddenFlag)
setHidden in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetHidden(int sheetIx,
boolean hidden)
setSheetHidden in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.usermodel.SheetVisibility getSheetVisibility(int i)
getSheetVisibility in interface org.apache.poi.ss.usermodel.Workbookpublic void setSheetVisibility(int i,
org.apache.poi.ss.usermodel.SheetVisibility sheetVisibility)
setSheetVisibility in interface org.apache.poi.ss.usermodel.Workbookpublic void addToolPack(org.apache.poi.ss.formula.udf.UDFFinder toopack)
addToolPack in interface org.apache.poi.ss.usermodel.Workbookpublic void setForceFormulaRecalculation(boolean value)
setForceFormulaRecalculation in interface org.apache.poi.ss.usermodel.Workbookpublic boolean getForceFormulaRecalculation()
getForceFormulaRecalculation in interface org.apache.poi.ss.usermodel.Workbookpublic org.apache.poi.ss.SpreadsheetVersion getSpreadsheetVersion()
getSpreadsheetVersion in interface org.apache.poi.ss.usermodel.Workbookpublic int addOlePackage(byte[] bytes,
String s,
String s1,
String s2)
throws IOException
addOlePackage in interface org.apache.poi.ss.usermodel.WorkbookIOExceptionCopyright © 2018. All rights reserved.