Package io.keikai.model.impl.pdf
Class RustPdfExporter
java.lang.Object
io.keikai.model.impl.pdf.RustPdfExporter
- All Implemented Interfaces:
SExporter
PDF exporter using the Rust rendering engine.
Uses reflection to call
KeikaiNative.exportPdf(long, String) so
that this class compiles even when keikai-native is not on the classpath.- Since:
- 7.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidExport a bookvoidexport(SBook book, OutputStream fos) Export a bookvoidexport(SheetRegion region, OutputStream fos) Exports only the given region of its sheet (restores the 6.3 region-level overload).voidexport(SSheet sheet, OutputStream fos) Exports a single sheet (restores the 6.3 sheet-level overload).
-
Constructor Details
-
RustPdfExporter
public RustPdfExporter() -
RustPdfExporter
-
-
Method Details
-
export
Description copied from interface:SExporterExport a book- Specified by:
exportin interfaceSExporter- Parameters:
book- the book to exportfos- the output stream to store data- Throws:
IOException
-
export
Exports a single sheet (restores the 6.3 sheet-level overload).- Throws:
IOException- Since:
- 7.0.0
-
export
Exports only the given region of its sheet (restores the 6.3 region-level overload). The region is applied as a print-area override on the selected sheet.- Throws:
IOException- Since:
- 7.0.0
-
export
Description copied from interface:SExporterExport a book- Specified by:
exportin interfaceSExporter- Parameters:
book- the book to exportfile- the output file to store data- Throws:
IOException
-