I have .iqy file which is Internet query file for Excel. If I open that file with LibreOffice Calc I can get the sheet correctly populated with the data and I can save it as I please with GUI.
My question is how to open that file in headless mode in a way that I can save the populated file as .xls file? Preferred solutions would be either bash scripting or Python because I could easily implement them in my current project.
The steps I want to do in headless mode are as following:
- Open .iqy file with LibreOffice Calc
- Wait for spreadsheet to populate from data
- Save As .xls
I can make them easily with GUI, but on server I am working I should be able to do these things without GUI via scripting.
EDIT: It seems that there is no other way than try to do it via LibreOffice API. I post update here if I manage to find workaround.