Examples of ExcelExportAction


Examples of org.springside.examples.showcase.report.ExcelExportAction

*/
public class ExcelExportActionTest {

  @Test
  public void test() throws Exception {
    ExcelExportAction action = new ExcelExportAction();
    Workbook wb = (Workbook) ReflectionUtils.invokeMethod(action, "exportExcelWorkbook", null, null);

    //按照Cell名称取得Cell,读取Cell的数值
    CellReference cr = new CellReference("B3");
    Cell cell1970 = wb.getSheetAt(0).getRow(cr.getRow()).getCell(cr.getCol());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.