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. 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 a element, the working directory is '.' (i.e.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 working directory depends on the 'OODoc/config.xml' file of your local OpenOffice::OODoc installation. 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. 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" pptx you will need to install a utility called Unoconv which allows conversion between different document formats in Open Office. If you require preview files to be created for common office document formats such as.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |