feat(libreoffice): add updateIndexes form field

This commit is contained in:
Julien Neuhart
2025-03-17 13:20:00 +01:00
parent 85eaef05ad
commit b31024c362
4 changed files with 13 additions and 1 deletions

View File

@@ -62,6 +62,10 @@ type Options struct {
// PageRanges allows to select the pages to convert.
PageRanges string
// UpdateIndexes specifies whether to update the indexes before conversion
// or not, with the risk of disabling links in documents.
UpdateIndexes bool
// ExportFormFields specifies whether form fields are exported as widgets
// or only their fixed print representation is exported.
ExportFormFields bool
@@ -152,6 +156,7 @@ func DefaultOptions() Options {
Password: "",
Landscape: false,
PageRanges: "",
UpdateIndexes: true,
ExportFormFields: true,
AllowDuplicateFieldNames: false,
ExportBookmarks: true,