feat(chromium): add generateTaggedPdf to form fields - closes #1210

This commit is contained in:
Julien Neuhart
2025-05-20 11:49:10 +02:00
parent 67ebe17fcb
commit ce155fb43e
6 changed files with 17 additions and 5 deletions

View File

@@ -220,6 +220,10 @@ type PdfOptions struct {
// GenerateDocumentOutline defines whether the document outline should be
// embedded into the PDF.
GenerateDocumentOutline bool
// GenerateTaggedPdf defines whether to generate tagged (accessible)
// PDF.
GenerateTaggedPdf bool
}
// DefaultPdfOptions returns the default values for PdfOptions.
@@ -241,6 +245,7 @@ func DefaultPdfOptions() PdfOptions {
FooterTemplate: "<html><head></head><body></body></html>",
PreferCssPageSize: false,
GenerateDocumentOutline: false,
GenerateTaggedPdf: false,
}
}