feat(libreoffice): explicity set tagged PDF as default

This commit is contained in:
Julien Neuhart
2024-02-24 13:45:01 +01:00
parent bf5056f8fe
commit 34f69263a2

View File

@@ -256,6 +256,7 @@ func (p *libreOfficeProcess) pdf(ctx context.Context, logger *zap.Logger, inputP
"--no-launch", "--no-launch",
"--format", "--format",
"pdf", "pdf",
"--export", "UseTaggedPDF=true",
} }
args = append(args, "--port", fmt.Sprintf("%d", p.socketPort)) args = append(args, "--port", fmt.Sprintf("%d", p.socketPort))
@@ -289,7 +290,6 @@ func (p *libreOfficeProcess) pdf(ctx context.Context, logger *zap.Logger, inputP
args = append( args = append(
args, args,
"--export", "EnableTextAccessForAccessibilityTools=true", "--export", "EnableTextAccessForAccessibilityTools=true",
"--export", "UseTaggedPDF=true",
) )
} }