diff --git a/pkg/modules/libreoffice/api/libreoffice.go b/pkg/modules/libreoffice/api/libreoffice.go index c8a426eb..4ad1d96f 100644 --- a/pkg/modules/libreoffice/api/libreoffice.go +++ b/pkg/modules/libreoffice/api/libreoffice.go @@ -256,6 +256,7 @@ func (p *libreOfficeProcess) pdf(ctx context.Context, logger *zap.Logger, inputP "--no-launch", "--format", "pdf", + "--export", "UseTaggedPDF=true", } 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, "--export", "EnableTextAccessForAccessibilityTools=true", - "--export", "UseTaggedPDF=true", ) }