mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 12:42:16 +01:00
feat(libreoffice): explicity set tagged PDF as default
This commit is contained in:
@@ -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",
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user