Le 07/04/2020 à 11:18, edonkey2001-libreoff...@yahoo.it a écrit : Hi,
> e.g. this is the way to open files with custom input filter parameters: > soffice --infilter=CSV:44,34,UTF8 file.csv > > what I need is a way to also specify column widths and enable line wrapping. My suggestion would probably be to use a python script to get LO running and waiting for a connection (using the URP connection port), then formatting your column widths using the appropriate python-UNO objects after the CSV has been loaded into a Calc sheet. That way, at least in theory, you wouldn't have to intervene at all in the GUI. You should also be able to save the file as an ODS. Another alternative would be to do something similar using python to load a Calc template containing the required formatting, and then copy your CSV values (range of cells) into that loaded Calc document. Again, all of this should be doable without having to intervene via the GUI. I don't know how to write such a script, as I'm not familiar enough with python to do so. Alex -- To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy