Package limn.print
@NullMarked
package limn.print
Printing and PDF: a
Document is widgets the toolkit cuts into pages, between
rows and lines, with a header and a footer on every page; it is written as a PDF file by
Document.writePdf(java.nio.file.Path), printed through the system's own dialog
by Document.print(limn.backend.NativeWindow), and shown before either by a
PrintPreview.
A page is drawn by the same widgets and the same theme a window draws, recorded once: the PDF, the preview and the printer all show that one recording. Text stays text in the PDF (it can be selected, copied and searched); what has no form in PDF (a soft shadow) is a picture at the document's resolution.
-
ClassDescriptionWhat a business application prints or saves as PDF: widgets the toolkit cuts into pages.Which page a header or a footer is drawn for: its number, how many pages the document has, and the paper.A sheet of paper: its name and its size in points (1/72 inch), portrait or landscape.A document's pages as sheets on a neutral background, before they are printed or saved: what a business application shows under "Print preview".How the sheets are sized to the view.