Examples of Worksheet


Examples of com.aspose.cells.Worksheet

    //Instantiating a Workbook object
      Workbook workbook = new Workbook();

    //Adding a new worksheet to the Workbook object
    WorksheetCollection worksheets = workbook.getWorksheets();
    Worksheet worksheet = worksheets.add("My Worksheet");
   
    Cells cells = worksheet.getCells();

    //Adding some value to cell
    Cell cell = cells.get("A1");
    cell.setValue("This is Aspose test of fonts!");
View Full Code Here

Examples of com.google.gdata.data.spreadsheet.Worksheet

    // Add TableFeed
    if (tableEntry == null) {
      tableEntry = new TableEntry();
      tableEntry.setTitle(new PlainTextConstruct(kind));
      tableEntry.setWorksheet(new Worksheet(kind));
      tableEntry.setHeader(new Header(1));

      Data tableData = new Data();
      tableData.setNumberOfRows(0);
      tableData.setStartIndex(2);
View Full Code Here

Examples of com.lastcalc.db.Worksheet



        final Objectify obj = DAO.begin();

        final Worksheet worksheet = obj.load().type(Worksheet.class).id(request.worksheetId).get();
        //System.out.println("Worksheet: "+Misc.gsonpp.toJson(worksheet));
        //System.out.println("Request: "+Misc.gsonpp.toJson(request));
        if (worksheet == null) {
            resp.sendError(404);
            return;
View Full Code Here

Examples of edu.isi.karma.rep.Worksheet

    return CommandType.notInHistory;
  }

  @Override
  public UpdateContainer doIt(Workspace workspace) throws CommandException {
    Worksheet worksheet = workspace.getWorksheet(worksheetId);
    CSVFileExport csvFileExport = new CSVFileExport(worksheet);
   
    MDBFileExport mdbFileExport = new MDBFileExport(worksheet);

    try {
View Full Code Here

Examples of it.eng.spagobi.engines.qbe.worksheet.WorkSheet

    JSONObject header = sheetJSON.optJSONObject(WorkSheetSerializationCostants.HEADER);
    JSONObject filters = sheetJSON.optJSONObject(WorkSheetSerializationCostants.FILTERS);
    String layout = sheetJSON.optString(WorkSheetSerializationCostants.LAYOUT);
    JSONObject content = sheetJSON.optJSONObject(WorkSheetSerializationCostants.CONTENT);
    JSONObject footer = sheetJSON.optJSONObject(WorkSheetSerializationCostants.FOOTER);
    return new WorkSheet(name, layout, header, filters, content, footer);
  }
View Full Code Here

Examples of jmc.Worksheet

              // sheetName does not contain the WorkBook name, but we need the
              // full name.
              String fullSheetName = new String(wb.getWorkbookName() + "-" + sheetName);

              // Create a new (empty) WorkSheet
              ws = new Worksheet();

              // Initialize the WorkSheet
              ws.initWorksheet(fullSheetName, numRecords);

              // Loop over the number of records in the PDB
View Full Code Here

Examples of jmc.Worksheet

              // sheetName does not contain the WorkBook name, but we need the
              // full name.
              String fullSheetName = new String(wb.getWorkbookName() + "-" + sheetName);

              // Create a new (empty) WorkSheet
              ws = new Worksheet();

              // Initialize the WorkSheet
              ws.initWorksheet(fullSheetName, numRecords);

              // Loop over the number of records in the PDB
View Full Code Here

Examples of org.xlsx4j.sml.Worksheet

    s.setSheetId(sheetId);
   
    sheets.getSheet().add(s);
   
    // minimal content for the part
    Worksheet ws = Context.getsmlObjectFactory().createWorksheet();
    worksheetPart.setJaxbElement(ws);
    ws.setSheetData(
        Context.getsmlObjectFactory().createSheetData()
        );
   
    return worksheetPart;
  }
View Full Code Here

Examples of org.zkoss.zss.model.Worksheet

    String act = (String) data.get("act");
    if ("toolbar".equals(tag)) {
      spreadsheet.getActionHandler().dispatch(act, data);
    } else if ("sheet".equals(tag) && spreadsheet.getBook() != null) {
      String sheetId = (String) data.get("sheetId");
      Worksheet sheet = Utils.getSheetByUuid(spreadsheet.getBook(), sheetId);
      if (sheet != null) {
        processSheet(act, data, sheet, spreadsheet);
      }
    }
  }
View Full Code Here

Examples of org.zkoss.zss.model.Worksheet

      int numSheet = book.getNumberOfSheets();
      Ranges.range(sheet).createSheet(prefix + " " + (numSheet + 1));
    } else if ("delete".equals(action)) {
      int numSheet = book.getNumberOfSheets();
      if (numSheet > 1) {
        Worksheet sel = null;
        int index = book.getSheetIndex(sheet);
        if (index == numSheet - 1) {//delete last sheet, move select sheet left
          sel = book.getWorksheetAt(index - 1);
        } else { //move sheet right
          sel = book.getWorksheetAt(index + 1);
        }
        Ranges.range(sheet).deleteSheet();
        spreadsheet.setSelectedSheet(sel.getSheetName());
      }
    } else if ("rename".equals(action)) {
      String name = (String) data.get("name");
      Ranges.range(sheet).setSheetName(name);
    } else if ("protect".equals(action)) {
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.