Interface PrintPdfButton.PdfWriterCallback
- All Superinterfaces:
Serializable
- Enclosing class:
PrintPdfButton
Callback that writes a PDF document to an output stream. Typically
implemented with a PDF library such as Apache PDFBox, OpenPDF or
iText.
-
Method Summary
Modifier and TypeMethodDescriptionvoidwritePdf(OutputStream outputStream) Writes the PDF document to the given output stream.
-
Method Details
-
writePdf
Writes the PDF document to the given output stream.- Parameters:
outputStream- the stream to write PDF bytes to- Throws:
IOException- if writing fails
-