Examples of createSheet()


Examples of org.apache.poi.xssf.streaming.SXSSFWorkbook.createSheet()

    }

    @Test
    public void showInPaneManyRowsBug55248SXSSF() {
        SXSSFWorkbook workbook = new SXSSFWorkbook(new XSSFWorkbook());
        SXSSFSheet sheet = (SXSSFSheet) workbook.createSheet("Sheet 1");

        sheet.showInPane(0, 0);

        for(int i = ROW_COUNT/2;i < ROW_COUNT;i++) {
            sheet.createRow(i);
View Full Code Here

Examples of org.apache.poi.xssf.usermodel.XSSFWorkbook.createSheet()

public class ScatterChart {

  public static void main(String[]args) throws Exception {
    Workbook wb = new XSSFWorkbook();
    CreationHelper creationHelper = wb.getCreationHelper();
    Sheet sheet = wb.createSheet("Sheet 1");
    final int NUM_OF_ROWS = 3;
    final int NUM_OF_COLUMNS = 10;

    // Create a row and put some cells in it. Rows are 0 based.
    Row row;
View Full Code Here

Examples of org.apache.poi.xssf.usermodel.XSSFWorkbook.createSheet()

  @Override
  public void processExport(OutputStream output) {

    try {
      XSSFWorkbook workbook = new XSSFWorkbook();
      XSSFSheet sheet = workbook.createSheet(exportConf.getFileName());
      Row row = null;
      Cell cell = null;
      int rowIndex = 0;
      int columnIndex;
View Full Code Here

Examples of org.zkoss.zss.model.Book.createSheet()

      Ref ref = _refs != null && !_refs.isEmpty() ? _refs.iterator().next() : null;
      if (ref != null) {
        final Book book = _sheet.getBook();
        if (book != null) {
          if (Strings.isBlank(name)) {
            book.createSheet();
          } else {
            book.createSheet(name);
          }
          BookHelper.notifyCreateSheet(ref, name);
        }
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.