There is unoconv for Linux. I am looking something similar for Mac. I think no such a program exists.
On unoconv's gitHub page is stated that:
There it's explained too, how to install it.
And being the latest version of LibreOffice v4.0.1, there should be no problem with it.