LibreOffice headless (for Android)

Is there a “headless” version of LibreOffice that can be used purely to convert documents to various formats, i.e. not the GUI app, just libraries/utilities that can can called/invoked to do the conversions on the command line?

I’m interested in this more from an Android point of view.

Look here