注意:以下是用来导出图片的代码,在导出过程中没有报错现象
求高三帮忙!谢谢
privatevoidQuotationListReport(ModelList QuotationListReport,
HSSFSheet sheet)throwsIOException {
DynamicMapModelmodel =null;
HSSFPatriarch patriarch = sheet.createDrawingPatriarch();
HSSFWorkbook wb =newHSSFWorkbook();
if(null!= QuotationListReport) {
for(inti = 1;i
model = (DynamicMapModel) QuotationListReport.getModel(i-1);
HSSFCell r8c1= sheet.getRow(i+6).getCell((short) 0);
r8c1.setEncoding(HSSFCell.ENCODING_UTF_16);
r8c1.setCellValue(i);
HSSFCell r8c2= sheet.getRow(i+6).getCell((short) 1);
r8c2.setEncoding(HSSFCell.ENCODING_UTF_16);
r8c2.setCell