hildogjr / KiCost

Build cost spreadsheet for a KiCad project.
MIT License
503 stars 98 forks source link

Generate .ods file instead of .xlsx from the command line #413

Closed leoheck closed 4 years ago

leoheck commented 4 years ago

Using v1.1.5

There are any way to export .ods from the command line instead of .xlsx? Looking there in the --help, I could not find anything like that

hildogjr commented 4 years ago

No, it is just a LibreOffice conversion.

this is given by the line 819 in the GUI code (just there and there is issue related with this execution #361):

os.system('{e} --headless --convert-to ods {i} --outdir {o}'.format(e=libreoffice_executable, si=spreadsheet_file, o=os.path.dirname(spreadsheet_file)))
hildogjr commented 4 years ago

Reference: https://www.ubuntubuzz.com/2016/08/libreoffice-command-line-convert-multiple-files-xlsx-to-ods.html

leoheck commented 4 years ago

Yes, but it is the user using it, not the Kicost developer.

The UI should be simple. But ok, if this is your decision.

hildogjr commented 4 years ago

Just because I are without really active programmers/developers. We have to focus the main features to keep it stable, before add some more. cosmetics. The road map planned some drastic changes at the distributors module to allow more than one API and allow automatic generic parts selection (resistors and capacitors) #17.