IWorkbook - Spreadsheet content entry point

IWorkbook - interface to manage spreadsheet content.

Usage examples:

public class CustomerExamples {
    private static final CompletableFuture<Optional<IScellApiResolver>> apiResolverFuture = ScellApiProvider.getApiResolverAsync();

    public static void main(String[] args) {
        apiResolverFuture.thenAccept(apiResolverOpt -> apiResolverOpt.ifPresent(apiResolver -> {

            ISpreadsheetApiProvider coreApiProvider = apiResolver.resolve(ISpreadsheetApiProvider.class); // Core API entry point

            IWorkbook newWorkbook = coreApiProvider.createNew().join();                                   // new spreadsheet
            
            String workbookName = newWorkbook.getName();                                                  // getting worksheet name

            int firstSheetID = newWorkbook.all().findFirst().get().getId();                               // getting worksheet ID
            String firstSheetName = newWorkbook.all().findFirst().get().getName();                        // getting worksheet name

            IWorksheet firstSheetByID = newWorkbook.find(firstSheetID).get();                             // getting worksheet by ID
            IWorksheet firstSheetByName = newWorkbook.find(firstSheetName).get();                         // getting worksheet by name
            
        })).join();
    }
}
  • How to save xlsx file see here

Use method getService() to get IWorkbookService (business license). IWorkbookService designed to group operations with whole workbook.

Next (IWorksheet - Sheet content manager)