Embed stripped-down LibreOffice Writer into standalone app

asked 2017-10-20 14:23:34 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello all, I need features of Writer into my app. Technically, some colleagues already know how to communicate with Libreoffice (using OOoBeanViewer.java). Problem is: how do I ensure that my clients have LibreOffice on their computer ? One requirement is NOT to ask for LibreOffice as a prerequisite to install my app. So I have to repackage and redistribute it.

So here is my question: is there a standard (or not) way to repackage a light version of Libreoffice in order to have only Writer and that the weight is not too heavy ?

edit retag flag offensive close merge delete


LibreOffice is a monolithic application; you cannot remove parts of its functionality to make it weight less (some Linux distros try to do that - but the end result is problems that something doesn't work/crash).

LibreOffice works fine as a portable app (you may look at PortableApps to see the packing method there, it's open-source; or you may look at https://wiki.documentfoundation.org/I...)

Mike Kaganski gravatar imageMike Kaganski ( 2017-10-20 14:39:46 +0200 )edit