Uses of Class
io.keikai.axyra.sheets.Workbook
Packages that use Workbook
Package
Description
Public Java API for the Axyra Sheets engine.
Options for saving and rendering a workbook, and a streaming writer for
large exports.
-
Uses of Workbook in io.keikai.axyra.sheets
Methods in io.keikai.axyra.sheets that return WorkbookModifier and TypeMethodDescriptionstatic WorkbookWorkbook.create()Creates a new empty workbook with no sheets, on the sparse storage backend (the general-purpose default).static WorkbookWorkbook.createColumnar()Creates a new empty workbook, with no sheets, on the columnar storage backend.static WorkbookWorkbook.open(InputStream in, String format) static WorkbookOpens a workbook from a file.static WorkbookOpens a workbook file, decrypting it withpasswordwhen it is encrypted.static WorkbookParses a workbook from bytes.static WorkbookParses a workbook from bytes, decrypting them withpasswordwhen they are encrypted.Methods in io.keikai.axyra.sheets with parameters of type WorkbookModifier and TypeMethodDescriptionvoidAppends a deep copy of every sheet (visible and hidden) of each source workbook, in argument order, auto-suffixing colliding names.Workbook.copySheetFrom(Workbook source, int sheetIndex) Appends a deep copy of sheetsheetIndex(0-based) of another workbook and returns a view of the copy.Workbook.copySheetFrom(Workbook source, int sheetIndex, String newName) Appends a deep copy of sheetsheetIndex(0-based) of another workbook undernewNameand returns a view of the copy. -
Uses of Workbook in io.keikai.axyra.sheets.io
Methods in io.keikai.axyra.sheets.io with parameters of type WorkbookModifier and TypeMethodDescriptionstatic intThe number of printed pages a sheet paginates to.static byte[]Renderer.toBmp(Workbook workbook, int sheetIndex, ImageOptions options) Renders one printed page of a sheet to BMP bytes.static byte[]Renderer.toGif(Workbook workbook, int sheetIndex, ImageOptions options) Renders one printed page of a sheet to GIF bytes.static byte[]Renderer.toImage(Workbook workbook, int sheetIndex, String format, ImageOptions options) Renders one printed page of a sheet (page 1, or the page set inoptions) toformat.static byte[]Renderer.toImage(Workbook workbook, int sheetIndex, String rangeA1, String format, ImageOptions options) Renders an A1 range of a sheet toformat, with the format tokens ofRenderer.toImage(io.keikai.axyra.sheets.Workbook, int, String, ImageOptions).static byte[]Renderer.toJpeg(Workbook workbook, int sheetIndex, ImageOptions options) Renders one printed page of a sheet to JPEG bytes, composited over white.static byte[]Renderer.toPdf(Workbook workbook, PdfOptions options) Renders the workbook to PDF bytes withoptions.static voidRenders every visible sheet to a PDF file, replacing an existing file.static voidRenderer.toPdf(Workbook workbook, Path file, PdfOptions options) Renders the workbook to a PDF file withoptions, replacing an existing file.static byte[]Renderer.toPng(Workbook workbook, int sheetIndex, ImageOptions options) Renders one printed page of a sheet to PNG bytes: page 1, or the page set inoptions.static byte[]Renderer.toPng(Workbook workbook, int sheetIndex, String rangeA1, ImageOptions options) Renders an A1 range of a sheet to PNG bytes.static byte[]Renderer.toSvg(Workbook workbook, int sheetIndex, ImageOptions options) Renders one printed page of a sheet to SVG bytes (UTF-8): page 1, or the page set withImageOptions.Builder.page(int).static byte[]Renderer.toSvg(Workbook workbook, int sheetIndex, String rangeA1, ImageOptions options) Renders an A1 range of a sheet to SVG bytes (UTF-8).static byte[]Renderer.toTiff(Workbook workbook, int sheetIndex, ImageOptions options) Renders one printed page of a sheet to TIFF bytes.