Package org.zkoss.poi.hssf.usermodel

Examples of org.zkoss.poi.hssf.usermodel.HSSFDataFormat


    return pi != null ? pi.getVerticalSplitPosition() : 0;
  }
 
  /*package*/ static void setDataFormat(Workbook book, CellStyle style, String formatString) {
    if (book instanceof HSSFWorkbook) {
      HSSFDataFormat df = ((HSSFWorkbook)book).createDataFormat();
      final short fmt = df.getFormat(formatString);
      style.setDataFormat(fmt);
    } else {
      XSSFDataFormat df = ((XSSFWorkbook)book).createDataFormat();
      final short fmt = df.getFormat(formatString);
      style.setDataFormat(fmt);
    }
  }
View Full Code Here

TOP

Related Classes of org.zkoss.poi.hssf.usermodel.HSSFDataFormat

Copyright © 2018 www.massapicom. 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.