public class XssfWorkbookWrapper extends java.lang.Object implements POIWorkbookAction
构造器和说明 |
---|
XssfWorkbookWrapper(com.fr.third.v2.org.apache.poi.ss.usermodel.Workbook xssfWorkbook) |
限定符和类型 | 方法和说明 |
---|---|
int |
addPicture(byte[] imageBytes,
int type)
往Excel中插入图片
|
java.lang.Object |
createFont()
创建字体
|
POIFontAction |
getFontAt(short fontIndex) |
int |
getNumberOfSheets() |
java.lang.Object |
getSheet(java.lang.String sheetName) |
java.lang.Object |
getWorkbook() |
void |
setSheetName(int sheetIndex,
java.lang.String sheetname) |
public XssfWorkbookWrapper(com.fr.third.v2.org.apache.poi.ss.usermodel.Workbook xssfWorkbook)
public void setSheetName(int sheetIndex, java.lang.String sheetname)
setSheetName
在接口中 POIWorkbookAction
public java.lang.Object getSheet(java.lang.String sheetName)
getSheet
在接口中 POIWorkbookAction
public int getNumberOfSheets()
getNumberOfSheets
在接口中 POIWorkbookAction
public java.lang.Object createFont()
createFont
在接口中 POIWorkbookAction
public int addPicture(byte[] imageBytes, int type)
addPicture
在接口中 POIWorkbookAction
imageBytes
- 图片内容type
- 类型public POIFontAction getFontAt(short fontIndex)
getFontAt
在接口中 POIWorkbookAction
public java.lang.Object getWorkbook()
getWorkbook
在接口中 POIWorkbookAction