diff --git a/pkg/modules/libreoffice/api/api.go b/pkg/modules/libreoffice/api/api.go index aead1088..68bd6ebf 100644 --- a/pkg/modules/libreoffice/api/api.go +++ b/pkg/modules/libreoffice/api/api.go @@ -267,86 +267,86 @@ func (a *Api) Pdf(ctx context.Context, logger *zap.Logger, inputPath, outputPath func (a *Api) Extensions() []string { return []string{ ".bib", - ".doc", - ".xml", - ".docx", - ".fodt", - ".html", - ".ltx", - ".txt", - ".odt", - ".ott", - ".pdb", - ".pdf", - ".psw", - ".rtf", - ".sdw", - ".stw", - ".sxw", - ".uot", - ".vor", - ".wps", - ".epub", - ".png", ".bmp", - ".emf", - ".eps", - ".fodg", - ".gif", - ".jpg", - ".jpeg", - ".met", - ".odd", - ".otg", - ".pbm", - ".pct", - ".pgm", - ".ppm", - ".ras", - ".std", - ".svg", - ".svm", - ".swf", - ".sxd", - ".sxw", - ".tif", - ".tiff", - ".xhtml", - ".xpm", - ".odp", - ".fodp", - ".pages", - ".key", - ".potm", - ".pot", - ".pptx", - ".pps", - ".ppt", - ".pwp", - ".sda", - ".sdd", - ".sti", - ".sxi", - ".uop", - ".wmf", ".csv", ".dbf", ".dif", + ".doc", + ".docx", + ".dotx", + ".emf", + ".eps", + ".epub", + ".fodg", + ".fodp", ".fods", + ".fodt", + ".gif", + ".html", + ".jpeg", + ".jpg", + ".key", + ".ltx", + ".met", + ".odd", + ".odg", + ".odp", ".ods", + ".odt", + ".otg", ".ots", + ".ott", + ".pages", + ".pbm", + ".pct", + ".pdb", + ".pdf", + ".pgm", + ".png", + ".pot", + ".potm", + ".ppm", + ".pps", + ".ppt", + ".pptx", + ".psw", + ".pwp", ".pxl", + ".ras", + ".rtf", + ".sda", ".sdc", + ".sdd", + ".sdw", ".slk", ".stc", + ".std", + ".sti", + ".stw", + ".svg", + ".svm", + ".swf", ".sxc", + ".sxd", + ".sxi", + ".sxw", + ".sxw", + ".tif", + ".tiff", + ".txt", + ".uop", ".uos", + ".uot", + ".vor", + ".wmf", + ".wps", + ".xhtml", ".xls", - ".xlt", ".xlsx", - ".odg", - ".dotx", + ".xlt", ".xltx", + ".xml", + ".xpm", } } diff --git a/pkg/modules/libreoffice/api/api_test.go b/pkg/modules/libreoffice/api/api_test.go index 3ebc45e6..169535fb 100644 --- a/pkg/modules/libreoffice/api/api_test.go +++ b/pkg/modules/libreoffice/api/api_test.go @@ -450,7 +450,7 @@ func TestApi_Extensions(t *testing.T) { extensions := a.Extensions() actual := len(extensions) - expect := 81 + expect := 80 if actual != expect { t.Errorf("expected %d extensions, but got %d", expect, actual)