Versions in this module Expand all Collapse all v0 v0.1.3 Sep 24, 2026 Changes in this version + func Bytes(documents [][]byte, w io.Writer, options Options) error + func Files(paths []string, w io.Writer, options Options) error + func Marshal(paths []string, options Options) ([]byte, error) + func Pages(inputs []Source, w io.Writer, options PageOptions) error + func ParsePages(spec string) ([]int, error) + func Sources(inputs []Source, w io.Writer, options Options) error + type Limits = creator.Limits + type Options struct + Compression creator.CompressionMode + CompressionLevel int + Deterministic bool + Limits Limits + OnSignature func(SignatureEvent) + OnWarning func(string) + Orphans OrphanMode + Signatures creator.SignatureMode + type OrphanMode string + const OrphanError + const OrphanIgnore + const OrphanPreserve + type PageLimits struct + MaxInputBytes int64 + MaxPages int + MaxTotalBytes int64 + type PageOptions struct + Author string + Compression creator.CompressionMode + CompressionLevel int + Concurrency int + Deterministic bool + ID string + Limits PageLimits + OnSignature func(SignatureEvent) + Pages []int + Selectors []PageSelector + Subject string + Title string + type PageSelector struct + Pages []int + Source int + func ParsePageSelection(spec string) ([]PageSelector, error) + type SignatureAction string + const SignatureDropped + const SignaturePreserved + const SignatureRewritten + type SignatureEvent struct + Action SignatureAction + DocumentIndex int + ID string + Input string + type SignatureStatus struct + DigestValid bool + ID string + VerificationError string + Verified bool + func VerifySignatures(input any) ([]SignatureStatus, error) + type Source struct + Data []byte + Name string + Path string + Reader io.ReaderAt + Size int64