Radhakrishnan Pachyappan
089105fd09
fix(libreoffice): use separate input/output filters and add Calc category
...
LibreOffice Writer has no CSV export filter. The shared filter map used
Text for csv in both directions, which made any Writer-category conversion
to csv fail with:
no export filter for <file>.csv found, aborting.
Root cause: getFilters() looked up the same filters map for the infilter and
the outfilter. Text is a valid *input* filter for reading delimiter-
separated files in Writer but is not accepted as an *output* filter for the
.csv extension.
Fix:
- Split into separate inputFilters / outputFilters maps so csv can remain
readable by the text (Writer) category without offering it as a write
target there.
- Remove csv from properties.to.text so the UI/router no longer exposes
the unsupported Writer → CSV path.
- Populate the previously-empty filters.calc with correct LibreOffice Calc
filter names and add spreadsheet formats to properties.from.calc /
properties.to.calc, enabling conversions such as xlsx → csv, csv → xlsx,
ods → xlsx, etc. via the Calc module.
Fixes #561
Signed-off-by: Radhakrishnan Pachyappan <gingeekrishna@gmail.com>
2026-06-21 16:48:32 +05:30
Toni Ros
52af8d5824
PDF to DOCX using LibreOffice, fixes #425 ( #510 )
...
* Fix to issue #425
* Fix to Fix error in previous fix, and adapt tests
* Fix to Fix error in previous fix, and adapt tests plus prettier
* Update tests/converters/libreoffice.test.ts
Thanks
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
* Update src/converters/libreoffice.ts
Thanks
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
* Update src/converters/libreoffice.ts
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: Emrik Östling <emrik.ostling@gmail.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-29 17:20:12 +01:00
kunal763
c3f17cc5a7
feat: add VCF to CSV converter ( #497 )
2026-01-11 16:38:32 +01:00
Jörg Krzeslak
0521af0d52
test: fix code style issue
2025-12-14 02:57:00 +01:00
Jörg Krzeslak
826dc1062a
test: add awaits to rejects and resolves
2025-12-14 02:57:00 +01:00
Jörg Krzeslak
84d7da0195
test: add tests for dasel, pandoc and vtracer
2025-12-14 02:57:00 +01:00
Jörg Krzeslak
ad000f35ba
test: add libreoffice.test.ts
2025-12-14 02:57:00 +01:00
Emrik Östling
3e7e95b53c
feature: add download all file by file alongside the tar download ( #415 )
2025-10-07 21:27:31 +02:00
Jörg Krzeslak
d994c38219
test: fix imports after eslint config changes
2025-08-11 15:09:20 +02:00
Jörg Krzeslak
c0105889ab
test: extract duplicate code into another helper
2025-08-11 13:16:31 +02:00
Jörg Krzeslak
c6006b58d2
test: add test case to libjxl.test.ts when input and output are not jxl
2025-08-11 13:16:23 +02:00
Jörg Krzeslak
178f009458
test: extend fail test with different error messages
2025-08-11 13:16:17 +02:00
Jörg Krzeslak
9c24cf4aba
test: add test case to ffmpeg.test.ts
2025-08-11 13:16:11 +02:00
Jörg Krzeslak
af68498494
test: change order of parameters in ExecFileFn type
2025-08-11 13:16:05 +02:00
Jörg Krzeslak
eac22d53d3
test: prettify test for msgconvert.ts
2025-08-11 13:15:59 +02:00
Jörg Krzeslak
e5ac60c187
test: add unit test for msgconvert.ts
2025-08-11 13:15:52 +02:00
Jörg Krzeslak
4b42a5fbda
test: add test if stderror and stdout get logged if both are present
2025-08-11 13:15:46 +02:00
Jörg Krzeslak
08a833f1cf
test: add parameter options to usage of type ExecFileFn
2025-08-11 13:15:39 +02:00
Jörg Krzeslak
6452d0b357
test: add unit test for xelatex.ts
2025-08-11 13:15:23 +02:00
Jörg Krzeslak
9f6b815197
test: add unit test for vips.ts
2025-08-11 13:15:16 +02:00
Jörg Krzeslak
d8cbc0aaee
test: add unit test for resvg.ts
2025-08-11 13:15:08 +02:00
Jörg Krzeslak
b1f70ec36c
test: add unit test for potrace.ts
2025-08-11 13:15:02 +02:00
Jörg Krzeslak
311d2516ce
test: add unit test for libjxl.ts
2025-08-11 13:14:55 +02:00
Jörg Krzeslak
5957873534
test: add unit test for libheif.ts
2025-08-11 13:14:48 +02:00
Jörg Krzeslak
7524f304fe
test: add unit test for inkscape.ts
2025-08-11 13:14:39 +02:00
Jörg Krzeslak
f1730ede97
test: add unit test for imagemagick.ts
2025-08-11 13:14:30 +02:00
Jörg Krzeslak
7f9c8868fd
test: add unit test for graphicsmagick.ts
2025-08-11 13:14:23 +02:00
Jörg Krzeslak
72b484a480
test: add unit test for ffmpeg.ts
2025-08-11 13:14:14 +02:00
Jörg Krzeslak
c47c1dd4f4
test: add unit test for dvisvgm.ts
2025-08-11 13:14:06 +02:00
Jörg Krzeslak
3975c70de7
test: move converters test helper to avoid confusion
2025-08-11 13:13:58 +02:00
Jörg Krzeslak
fd4e73e76c
test: add unit test for calibre.ts
2025-08-11 13:13:49 +02:00
Jörg Krzeslak
301fab5c17
test: fix import in test
2025-08-11 13:13:30 +02:00
Jörg Krzeslak
2db99edeaf
test: move test file into separate subfolder
2025-08-11 13:13:07 +02:00