Bug 47892 - Option cli -convert-to should also have the option to specify filterOption
Summary: Option cli -convert-to should also have the option to specify filterOption
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-26 03:28 UTC by marco
Modified: 2014-06-04 12:36 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marco 2012-03-26 03:28:21 UTC
Hi,
I'm currently using libreoffice within batch scripts to convert plenty of documents in various formats.

Most of the destination formats are in CSV. My current command is:

soffice --headless  -convert-to csv banca.ods 

The problem is that I would like to specify that Field Separator  must be "~" instead of default "," .  This is not possible from command line but only through API access.

So my request is to add an option for FilterOptions . 

Thanks
Comment 1 sasha.libreoffice 2012-06-19 03:11:32 UTC
Thanks for new idea
IMHO: or add ability to set default options for exporting to csv while in GUI. And cli then will use these options.
Comment 2 tomas.hlavaty 2014-06-04 11:51:18 UTC
http://cgit.freedesktop.org/libreoffice/core/commit/?id=45ba4d79d968f81f74ef0c4588fd15b1ce91153f
adds FilterOptions to cli --convert-to and --infilter
originally thought as fix for https://bugs.freedesktop.org/show_bug.cgi?id=36313#c16
Comment 3 tomas.hlavaty 2014-06-04 12:36:58 UTC
commited towards LO 4.4