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.
Or read this on Hacker News