Reihar's lair | Batch Document Conversions with Libreoffice
mardi 18 mars 2014 à 16:47 Famille Michon, le 18/03/2014 à 16:47
"""
Documented almost nowhere and hidden inside the libreoffice man, there is this option : the headless (Without GUI) mode. So how do you use libreoffice headless mode ? It's pretty simple. Open and terminal and type :
libreoffice --headless anyParameterYouWant
File conversion ?
libreoffice --headless --convert-to DestinationFormat[:OutputFilterName] File…
So if you want to convert all your .ppt files in your lol folder into nice .pdf files, you just have to type :
libreoffice --headless --convert-to pdf lol/*.ppt
"""
Pour faire tourner plusieurs instances de LibreOffice à la fois :
-env:UserInstallation="file://path/where/you/want/your/profile/to/be"
Ex : -env:UserInstallation="file://$HOME/.libreoffice-alt"
(Permalink)
"""
Documented almost nowhere and hidden inside the libreoffice man, there is this option : the headless (Without GUI) mode. So how do you use libreoffice headless mode ? It's pretty simple. Open and terminal and type :
libreoffice --headless anyParameterYouWant
File conversion ?
libreoffice --headless --convert-to DestinationFormat[:OutputFilterName] File…
So if you want to convert all your .ppt files in your lol folder into nice .pdf files, you just have to type :
libreoffice --headless --convert-to pdf lol/*.ppt
"""
Pour faire tourner plusieurs instances de LibreOffice à la fois :
-env:UserInstallation="file://path/where/you/want/your/profile/to/be"
Ex : -env:UserInstallation="file://$HOME/.libreoffice-alt"
(Permalink)