Overview of pdfmake features
masterpdfmake is a pure JavaScript library for generating PDF documents on both the server-side and client-side. It supports complex document structures and advanced layout features including:
- Text Layout: Line-wrapping, various text alignments (left, right, centered, justified), and numbered/bulleted lists.
- Tables and Columns: Supports auto/fixed/star-sized widths, col-spans, row-spans, automatic header repetition on page breaks, and snaking columns (newspaper-style flow).
- Graphics: Support for images and vector graphics.
- Styling: Convenient styling with inheritance.
- Page Management: Page headers and footers (static or dynamic with page numbers), background layers, page dimensions, orientations, margins, and custom page breaks.
- Advanced Structures: Document sections, font embedding, table of contents, and nested structures.
- Metadata & Utilities: Setting PDF metadata (author, subject) and helper methods for opening, printing, or downloading the generated PDF.