PSVellumPDF
1.3.0
New-VellumPdfDocument | Add-VellumPdf... | Save-VellumPdfDocument
Add headings with outline bookmarks, paragraphs, mixed-style text runs, ordered and unordered lists, tables, line separators, and running
New-VellumPdfDocument | Add-VellumPdf... | Save-VellumPdfDocument
Add headings with outline bookmarks, paragraphs, mixed-style text runs, ordered and unordered lists, tables, line separators, and running headers and footers that resolve {page}/{pages}. Text carries per-run colour, hyperlinks, alignment, and line spacing; tables take header rows, column widths, borders, and header backgrounds. Embed images in JPEG, PNG, BMP, GIF, TIFF, JBIG2, or JPEG 2000.
Set the page size (A0-A6, Letter, Legal, Ledger), margins, and document info. Use any of the 14 standard PDF fonts, or embed a TrueType font for full Unicode, which PDF/A also requires. Tagged structure, a /Lang language tag, and per-image alt text produce accessible output.
For archives, emit PDF/A-2b, 2u, or 2a with an output intent from the default sRGB profile, a custom ICC profile, or generic CMYK. To protect a file, apply AES encryption with user and owner passwords and permission flags, or add a PAdES digital signature, optionally with an RFC-3161 timestamp (PAdES B-T).
PSVellumPDF only writes new PDFs. It cannot read, edit, split, or merge an existing file: VellumPdf is a generation engine with no parser.
Minimum PowerShell version
7.6
Installation Options
Owners
Copyright
© Timothy van der Ham. Licensed under Apache-2.0.
Package Details
Author(s)
- Timothy van der Ham (@Tim81)
Tags
PDF VellumPdf PDFA Accessibility Document Reporting Create Generate Signing PAdES CrossPlatform Windows Linux MacOS
Functions
New-VellumPdfDocument New-VellumPdfTextRun Add-VellumPdfHeading Add-VellumPdfImage Add-VellumPdfLineSeparator Add-VellumPdfList Add-VellumPdfParagraph Add-VellumPdfTable Register-VellumPdfFont Save-VellumPdfDocument Set-VellumPdfHeader Set-VellumPdfFooter Set-VellumPdfDocumentInfo Set-VellumPdfOutputIntent Set-VellumPdfSignature Protect-VellumPdfDocument
PSEditions
Dependencies
This module has no dependencies.
Release Notes
1.3.0: usability features, no breaking changes. Add-VellumPdfTable accepts PSCustomObject rows straight from Import-Csv (header derived from property names) and rich per-cell hashtables (Text/ColSpan/RowSpan/Background/Alignment/Font/FontSize/Color), plus -AlternateRowBackground (zebra striping) and -ColumnAlignment. Every colour parameter now also accepts a hex string (#3366cc/#36c) or a colour name, not just an 0..1 triple. Add-VellumPdfList builds nested lists from hashtable items with Children. Add-VellumPdfImage gains -ImageBytes/-Format for in-memory images. Full changelog: https://github.com/Tim81/PSVellumPDF/blob/main/CHANGELOG.md
FileList
- PSVellumPDF.nuspec
- Public\Add-VellumPdfParagraph.ps1
- Public\Set-VellumPdfDocumentInfo.ps1
- Private\Assert-VellumPdfDocumentOpen.ps1
- LICENSE
- Public\Protect-VellumPdfDocument.ps1
- Public\New-VellumPdfTextRun.ps1
- Private\Write-VellumPdfEncodingWarning.ps1
- PSVellumPDF.psm1
- Public\Add-VellumPdfImage.ps1
- Public\Add-VellumPdfList.ps1
- Private\Resolve-VellumPdfDefault.ps1
- PSVellumPDF.psd1
- Public\Set-VellumPdfOutputIntent.ps1
- Public\Set-VellumPdfHeader.ps1
- Private\Assert-VellumPdfFontHandle.ps1
- lib\VellumPdf.Signing.dll
- Public\New-VellumPdfDocument.ps1
- Public\Save-VellumPdfDocument.ps1
- Private\ConvertTo-VellumColor.ps1
- lib\VellumPdf.Kernel.dll
- Public\Set-VellumPdfFooter.ps1
- Public\Add-VellumPdfLineSeparator.ps1
- Private\New-VellumTextStyle.ps1
- lib\VellumPdf.Layout.dll
- Public\Register-VellumPdfFont.ps1
- Public\Add-VellumPdfHeading.ps1
- Private\Set-VellumPdfElementMargin.ps1
- Public\Add-VellumPdfTable.ps1
- Public\Set-VellumPdfSignature.ps1