Skip to content

libreoffice/unoconv options #78

@thepebbler

Description

@thepebbler

I'm having issues converting a fairly basic word document as a proof of concept for a documentation system I'm working on.

I am using Gotenberg initially but like the feature set of Stirling and want to migrate.

The issue is the word document does not convert correctly (incorrect fonts/placement/size) especially the document property fields (such as title/subject) that are used, as well as some custom text boxes that are programmatically filled using openXML with signature information in.

I was having very similar issues in Gotenberg, but found that using the "exportformfields=false" as well as "flatten" and "allowDuplicateFieldNames" tidied it up..

I've attached the original docx (as sanitised as I can make it!), the gotenberg converted one and the 'converted' one from Stirling (Unraid container)..

BOB-33252001_v3a - Saturn - Mechanical Finish Specification (signed).docx
BOB-33252001_v3a - Saturn - Mechanical Finish Specification (final - noformfields).pdf
BOB-33252001_v3a - Saturn - Mechanical Finish Specification (signed)_convertedToPDF (1).pdf

I can't see any options/API for passing the libreoffice conversion params which I think would alleviate the issues..

Its probably libreoffice that is the real root cause and having to use the options is probably a sticky plaster, but if I could at least use those it would give me some options to try to keep Stirling as the solution I can push forward with in the proposal.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions