Uses of Class
io.keikai.axyra.sheets.Workbook
Packages that use Workbook
Package
Description
Public Java API for the Axyra Sheets engine.
-
Uses of Workbook in io.keikai.axyra.sheets
Methods in io.keikai.axyra.sheets that return WorkbookModifier and TypeMethodDescriptionstatic WorkbookWorkbook.create()Create a new empty workbook (sparse backend — the general-purpose default).static WorkbookWorkbook.createColumnar()Create a new empty workbook on the columnar storage backend — behaviorally identical tocreate()but far leaner in memory for large, dense, numeric workbooks (roughly 4.6× smaller at rest at 10M cells), and saving at or below the sparse path.static WorkbookWorkbook.open(InputStream in, String format) Parse a workbook by reading all ofin(of the givenformat).static WorkbookOpen a workbook from a file.static WorkbookOpen a workbook from a file, decrypting withpasswordwhen the file is an agile-encrypted workbook ([MS-OFFCRYPTO] §2.3.4 — whatsaveEncrypted(java.nio.file.Path, java.lang.String)and Excel 2013+/365 write).static WorkbookParse a workbook from an in-memory byte array of the givenformat.static WorkbookParse a workbook from an in-memory byte array, decrypting withpasswordwhen the bytes are an agile-encrypted workbook.Methods in io.keikai.axyra.sheets with parameters of type WorkbookModifier and TypeMethodDescriptionvoidAppend a deep copy of EVERY sheet (visible and hidden) of each source workbook, in argument order, auto-suffixing colliding names — the cross-workbook merge counterpart ofcopySheetFrom(Workbook, int)(same migration semantics and exclusions, except as follows).Workbook.copySheetFrom(Workbook source, int sheetIndex) Append a deep copy of sheetsheetIndexof ANOTHER workbook and return the new view.Workbook.copySheetFrom(Workbook source, int sheetIndex, String newName) Append a deep copy of sheetsheetIndexof ANOTHER workbook undernewNameand return the new view. -
Uses of Workbook in io.keikai.axyra.sheets.io
Methods in io.keikai.axyra.sheets.io with parameters of type WorkbookModifier and TypeMethodDescriptionstatic intNumber of printed pagessheetIndexpaginates to — the valid range forImageOptions.Builder.page(int)and the PDF export's page numbering.static byte[]Renderer.toBmp(Workbook workbook, int sheetIndex, ImageOptions options) Render one sheet to BMP bytes.static byte[]Renderer.toGif(Workbook workbook, int sheetIndex, ImageOptions options) Render one sheet to GIF bytes.static byte[]Renderer.toImage(Workbook workbook, int sheetIndex, String format, ImageOptions options) Render one sheet to the given raster format —"png","jpeg","gif","bmp"or"tiff".static byte[]Renderer.toImage(Workbook workbook, int sheetIndex, String rangeA1, String format, ImageOptions options) Render an A1 range of a sheet to the given raster format.static byte[]Renderer.toJpeg(Workbook workbook, int sheetIndex, ImageOptions options) Render one sheet to JPEG bytes (composited over white).static byte[]Renderer.toPdf(Workbook workbook, PdfOptions options) Render the workbook to PDF bytes honoringoptions(null= defaults).static voidRender the whole workbook to a PDF file.static voidRenderer.toPdf(Workbook workbook, Path file, PdfOptions options) Render the workbook to a PDF file honoringoptions.static byte[]Renderer.toPng(Workbook workbook, int sheetIndex, ImageOptions options) Render one sheet to PNG bytes — page 1 of its print layout, or the page selected inoptions.static byte[]Renderer.toPng(Workbook workbook, int sheetIndex, String rangeA1, ImageOptions options) Render an A1 range (e.g.static byte[]Renderer.toSvg(Workbook workbook, int sheetIndex, ImageOptions options) Render one sheet (first page of its print layout) to SVG bytes (UTF-8).static byte[]Renderer.toSvg(Workbook workbook, int sheetIndex, String rangeA1, ImageOptions options) Render an A1 range of a sheet to SVG bytes (UTF-8).static byte[]Renderer.toTiff(Workbook workbook, int sheetIndex, ImageOptions options) Render one sheet to TIFF bytes.