// Create a new workbook with workbook options WorkbookOptions workbookOptions = new WorkbookOptions(); // Enable pixel-based column width for the workbook workbookOptions.setPixelBasedColumnWidth(true); Workbook workbook = new Workbook(workbookOptions); InputStream fileStream = this.getResourceStream("sjs\\Event budget.sjs"); workbook.open(fileStream, OpenFileFormat.Sjs); // Save to a pdf file workbook.save("SavePDFWithPixelBasedColumnWidth.pdf");