feat(libreoffice): add exportFormFields option

This commit is contained in:
Martin
2024-03-22 13:35:35 +01:00
committed by Julien Neuhart
parent c9aa4938f4
commit 91f63047e0
4 changed files with 43 additions and 2 deletions

View File

@@ -273,6 +273,10 @@ func (p *libreOfficeProcess) pdf(ctx context.Context, logger *zap.Logger, inputP
args = append(args, "--export", fmt.Sprintf("PageRange=%s", options.PageRanges))
}
if !options.ExportFormFields {
args = append(args, "--export", "ExportFormFields=false")
}
switch options.PdfFormats.PdfA {
case "":
case gotenberg.PdfA1b: