wb = Workbook.createWorkbook(new File(fileName));
wsa = wb.createSheet("标题", 0);
wsa.setPageSetup(PageOrientation.LANDSCAPE.LANDSCAPE,PaperSize.A4,0.5d,0.5d);
jxl 设置excel 默认是横向打印
最新推荐文章于 2024-04-29 13:19:48 发布
wb = Workbook.createWorkbook(new File(fileName));
wsa = wb.createSheet("标题", 0);
wsa.setPageSetup(PageOrientation.LANDSCAPE.LANDSCAPE,PaperSize.A4,0.5d,0.5d);