Package io.keikai.axyra.sheets.io
package io.keikai.axyra.sheets.io
Options for saving and rendering a workbook, and a streaming writer for
large exports.
SaveOptions,CsvOptionsandHtmlOptionsshape the files theWorkbook.save*methods write.PdfOptionsandImageOptionsshape PDF and image output;Rendererrenders with them, as theWorkbook.render*methods do.StreamWorkbookwrites an XLSX file row by row in memory that does not grow with the row count. Use it for a large export that never needs to read back, edit or recalculate the whole workbook.
-
ClassDescriptionOptions for
Workbook.saveCsv(path, options).What a numeric cell is written as; seeCsvOptions.values(Values).How formula cells are written byWorkbook.save(path, SaveOptions).Options forWorkbook.saveHtml(path, options): choose between the HTML package and one self-contained document.Immutable options for sheet and range image export:Renderer.toPng(io.keikai.axyra.sheets.Workbook, int, io.keikai.axyra.sheets.io.ImageOptions),Renderer.toSvg(io.keikai.axyra.sheets.Workbook, int, io.keikai.axyra.sheets.io.ImageOptions),Renderer.toImage(io.keikai.axyra.sheets.Workbook, int, java.lang.String, io.keikai.axyra.sheets.io.ImageOptions)and the JPEG, GIF, BMP and TIFF shortcuts, and the matchingWorkbook.render*methods.Fluent builder forImageOptions; seeImageOptions.builder().Immutable options for PDF export:Renderer.toPdf(io.keikai.axyra.sheets.Workbook, java.nio.file.Path)andWorkbook.renderPdf.Fluent builder forPdfOptions; seePdfOptions.builder().Fit-to-page override forPdfOptions.Builder.fitTo(Fit), with the meaning of Excel's page setup "Fit to" (ECMA-376fitToWidth/fitToHeight).Renders workbooks to fixed-layout output: PDF documents, and sheet or range images in PNG, JPEG, GIF, BMP, TIFF or SVG.Export options forWorkbook.save(path, options).A row under construction forStreamWorkbook.An immutable cell style forStreamWorkbook: the small subset that covers report authoring, a number format plus bold and italic.Writes an XLSX file row by row, in memory that does not grow with the row count.