Re:LibreOfficeKit API in action: new API to access LibreOffi...
by robertlagrant on Monday July 08, 2024 @07:20AM
(#40904387)
It would be good to see scripting language access - I can imagine people might want to use Python or similar to automate document creation.
[ Parent
| on HN ]
Re:LibreOfficeKit API in action: new API to access LibreOffi...
by iuafhiuah on Monday July 08, 2024 @07:29AM
(#40904430)
Related but not quite the same interface. Libreoffice already supports Python in macros, and you can run Libreoffice headless on the command line.
https://help.libreoffice.org/6.3/en-US/text/sbasic/python/ma...
I've used this functionality to automate running Python scripts to update speadsheets using Libreoffice Calc in a container so non-devs can have their cake and eat it.
Re:LibreOfficeKit API in action: new API to access LibreOffi...
by robertlagrant on Monday July 08, 2024 @07:54AM
(#40904550)
Thanks! I've had a little look at this, but it seems so inside-out to me. I'd just like to run commands to make a spreadsheet, add sheet, add content to cell in sheet, that sort of thing. I might take another look though if you got it to work.