convertor/tests
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
..
converters fix(libreoffice): use separate input/output filters and add Calc category 2026-06-21 16:48:32 +05:30