News for hackers. Stuff that matters.
Re:LibreOfficeKit API in action: new API to access LibreOffi... by no_time on Monday July 08, 2024 @07:27AM (#40904424)
Very nice. Maybe the freedesktop world can finally replicate how Windows is able to embed a mini excel viewer into the filepicker.
Re:LibreOfficeKit API in action: new API to access LibreOffi... by geokon on Monday July 08, 2024 @06:55AM (#40904271)
I don't work in this space at all but how does this stacks up to Apache POI? The mini-GUI functionality seems cool
Re:LibreOfficeKit API in action: new API to access LibreOffi... by grandinj on Monday July 08, 2024 @07:56AM (#40904556)
Its a ton heavier, because you need a full LibreOffice install effectively, but it does a lot more than Apache POI, so it depends on whether your use-case warrants the extra features.
Re:LibreOfficeKit API in action: new API to access LibreOffi... by catapart on Monday July 08, 2024 @07:35AM (#40904457)
Alright, so if I pull this into WASM, I can finally have a fully featured rich text editor on the web? If so, I'm sold!
Re:LibreOfficeKit API in action: new API to access LibreOffi... by grandinj on Monday July 08, 2024 @07:57AM (#40904559)
There are people working on compiling Libreoffice to WASM, but it is a separate effort
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.
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.