An Invoice Laid on a Letterhead Template
An invoice laid over a letterhead supplied as a PDF file.
A customer sends their own paper as three PDF files — the page with their name and address at the top, a plain page for the pages that follow, and the page of conditions they always attach at the end. A file used that way is called a template. What they want back is a supply agreement that looks as though it came off their own printer, and the surest way to fail at that is to try to redraw any of it.
All three templates are kept exactly as they came: the engine reads each file, takes its page in as it stands, and puts the new text on top. So the customer's letterhead looks exactly as they made it, and the conditions they agreed to are the ones on file, word for word. How many pages the plain page is needed for is settled by the table of deliveries itself: it takes the pages it takes, and the document is that long.
Nothing is left out and nothing is simplified: this is the program exactly as it runs, for the developer who uses this library. The third is the description itself: a plain list of what the page has to say, which is what the service is sent.
Read the Rust source Read the Python source Read the JSON source
Open the document in English Open the document in French Open the document in German Open the document in Spanish Open the document in Italian Open the document in Portuguese
An invoice laid over a letterhead supplied as a PDF file.
A maintenance agreement somebody else sent, with a signature area, a date and a line of one's own laid over its last page, an annex added after it and an empty place to sign over the signature area, every byte of the agreement left where it was.
A delivery label on which a designer named four rectangles, read back from its own file, placed four times and filled by those names alone: an address, an order number, a logo drawn from an SVG file and a return slip.
What you get before you pay anything: a watermark across every page, and the same pages under it, laid out exactly as a paid copy lays them out. This is also the document that says what a licence key changes, and why every figure on this site is measured with one.
A form a reader fills in: text boxes, a check box, a drop-down, radio buttons.
A page carrying a digital signature that any change to the file breaks, made with a certificate that exists only for the demonstration. Every command that made the key and the signature is printed on the page, with the one that checks it without this library.