ConvertX/tests/converters
tr3lane dc61643912
fix(libreoffice): don't force MS Word 97 infilter on .wps (#585)
* fix(libreoffice): don't force MS Word 97 infilter on .wps

.wps is Microsoft Works, not MS Word 97/.doc. Forcing that infilter
makes soffice reject a genuine Works document with "source file could
not be loaded", even though the same file converts fine when no
--infilter is passed at all (LibreOffice auto-detects it correctly).

Fixes #582

* test: lock in wps export direction; document why null covers both sides

Per review: the filter map feeds both --infilter and the --convert-to
suffix, so wps: null also affects exporting TO wps. That is deliberate
and behavior-preserving: LibreOffice has no Works export filter (its
MS_Works filter is import-only), and bare `--convert-to wps` falls back
to LibreOffice's default export filter for the extension - "MS Word 97",
the exact filter this map pinned before, so export output is unchanged.
Adds a regression test asserting the docx -> wps invocation.

---------

Co-authored-by: tr3lane <182920672+tr3lane@users.noreply.github.com>
2026-07-29 11:01:02 +02:00
..
helpers feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
assimp.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
calibre.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
dasel.test.ts test: add awaits to rejects and resolves 2025-12-14 02:57:00 +01:00
dvisvgm.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
ffmpeg.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
graphicsmagick.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
imagemagick.test.ts feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
inkscape.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
libheif.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
libjxl.test.ts feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
libreoffice.test.ts fix(libreoffice): don't force MS Word 97 infilter on .wps (#585) 2026-07-29 11:01:02 +02:00
msgconvert.test.ts feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
pandoc.test.ts test: add awaits to rejects and resolves 2025-12-14 02:57:00 +01:00
potrace.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
resvg.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00
vcf.test.ts feat: add VCF to CSV converter (#497) 2026-01-11 16:38:32 +01:00
vips.test.ts feature: add download all file by file alongside the tar download (#415) 2025-10-07 21:27:31 +02:00
vtracer.test.ts test: add awaits to rejects and resolves 2025-12-14 02:57:00 +01:00
xelatex.test.ts test: fix imports after eslint config changes 2025-08-11 15:09:20 +02:00