

On Linux the following willl start the unoconv listener on startup so no need to worry about starting the listener on reboots.Ĭreate a file /etc/init. You can prevent the system from adding the automatic PDF alternative by including the extension this is not desired for in the configuration option $non_image_types. The default file extensions that will be previewed with Open office are: $unoconv_extensions=array("doc","docx","odt","odp","html","rtf","txt","ppt","pptx","sxw","sdw","html","psw","rtf","sdw","pdb","bib","txt","ltx","sdd","sda","odg","sdc") Īn alternative method for previewing Office formats is to use QuickLook to get previews on the Mac, but using Unoconv enables page previewing and an automatic PDF alternative version of the file. It should start its own listener but it is mostly required to run this command in order to ensure that it will work correctly. Apache OpenOffice is the leading open-source office software suite for word processing, spreadsheets, presentations, graphics, databases and more. Next start the unoconv listener by enter the following into the Command line/Terminal: unoconv -listener & You must then add the following line to config.php $unoconv_path="/usr/bin"

If an argument is given, it replaces the current working directory. the current working directory of the users application).
If this file is missing or if it doesnt contain apptx you will need to install a utility called Unoconv which allows conversion between different document formats in Open Office. The default working directory depends on the 'OODoc/config.xml' file of your local OpenOffice::OODoc installation. If you require preview files to be created for common office document formats such as.
