Get the latest tech news

LibreOfficeKit API in action: new API to access LibreOffice functionalities


If you want to use LibreOffice functionality in your applications, LibreOfficeKit API is one of the good ways to do that. Here i describe how, with some examples.

If you want to add the capability of loading, displaying, editing, saving and/or converting LibreOffice/MS Office files to your application, you have come to a good place. For example, if you want to convert an ODT file to PDF or other formats with LibreOffice, you can use LibreOfficeKit API to do that. The conversion code happens inside convert.cc source file, and it is pretty straightforward, although there are some extra code which handles finding LibreOffice binary path, and parsing command line arguments.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of API

API

Photo of action

action

Photo of LibreOffice

LibreOffice

Related news:

News photo

Microsoft’s climbdown over its creepy Recall feature shows its AI strategy is far from intelligent | The tech company’s new Windows machines can take constant screenshots of users’ every action – quelle surprise, it’s a privacy minefield

News photo

Nintendo pledges "action" over inappropriate use of its characters so players "not made to feel uncomfortable"

News photo

Samsung Galaxy Buds 3 Pro leaked images showcase them in action