PSVellumPDF
1.2.3
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.2.3: security hardening, no API additions. -LinkUri now allows only http, https, and mailto URLs; any other scheme, and relative or scheme-relative URIs, is rejected (previously only javascript/vbscript/data/file were blocked). The RFC-3161 timestamp HTTP client no longer follows redirects and honours -TimestampTimeout, shrinking the SSRF surface of the save-time TSA call. Protect-VellumPdfDocument warns when an owner password is set with no user password and the default -Permission All, which leaves the document unrestricted. Full changelog: https://github.com/Tim81/PSVellumPDF/blob/main/CHANGELOG.md
FileList
- PSVellumPDF.nuspec
- Public\Add-VellumPdfParagraph.ps1
- Public\Set-VellumPdfSignature.ps1
- Public\Add-VellumPdfHeading.ps1
- LICENSE
- Public\Protect-VellumPdfDocument.ps1
- Public\Set-VellumPdfDocumentInfo.ps1
- Private\Assert-VellumPdfDocumentOpen.ps1
- PSVellumPDF.psm1
- Public\Add-VellumPdfImage.ps1
- Public\New-VellumPdfTextRun.ps1
- Private\Write-VellumPdfEncodingWarning.ps1
- PSVellumPDF.psd1
- Public\Set-VellumPdfOutputIntent.ps1
- Public\Add-VellumPdfList.ps1
- Private\Resolve-VellumPdfDefault.ps1
- lib\VellumPdf.Signing.dll
- Public\New-VellumPdfDocument.ps1
- Public\Set-VellumPdfHeader.ps1
- Private\Assert-VellumPdfFontHandle.ps1
- lib\VellumPdf.Kernel.dll
- Public\Set-VellumPdfFooter.ps1
- Public\Save-VellumPdfDocument.ps1
- Private\New-VellumTextStyle.ps1
- lib\VellumPdf.Layout.dll
- Public\Register-VellumPdfFont.ps1
- Public\Add-VellumPdfLineSeparator.ps1
- Private\Set-VellumPdfElementMargin.ps1
- Public\Add-VellumPdfTable.ps1