Published 2025-10-13
Abstract command tokens used by pkg_pdflib.

These have no real binding to the pdflib binaries, but provide enough functionality to build json that can be consumed by the pkg_pdflib generator classes.
Can be used in invironments where the pdflib binaries are not available, like a web-application.
To regenerate the json classes use dart run build_runner build.
metadata field on Document token.page to templatepdf.TokenFactory class.kPdflibCompatibilityVersion constant.Mergepdf.EquatableMixin from LoadFont that prevented code generation.charref=true from `LoadFont'.finals due to new linter rules.IToken.children is now a List<IToken> not List<dynamic>.orientation to Mergepdf that will rotate all pages to the specified orientation if needed.TokenValidation mixin from pkg_pdflib.