Page 1 of 2

Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffice5.0

Posted: Wed Feb 03, 2016 2:18 pm
by lmilesuk
Hi,

Could some tell me whether logicaldoc is capable of showing LibreOffice previews for .doc, .odt, .txt extensions. As at present I am unable to configure it to work correctly.

I have pdf's, jpegs previewing (only in the small preview window in the documents->Properties tab, the main preview tab doesn't work at all it is blank with a black bar along the top!!!), however it doesn't seem to work with anything to do with from libreoffice.

My Administrations->Settings->GUI Settings are currently set too;

See ScreenShot

However I have also tried

/usr/lib/libreoffice
/usr/local/bin/libreoffice5.0

With no effect.

My setup is;

LogicalDoc 7.4
Ubuntu 14.04 LTS x64
libreoffice 5.0.4.2 x64

Many thanks in advance

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Wed Feb 03, 2016 6:45 pm
by shatzing
Check this page for the correct configuration of LibreOffice:

http://docs.logicaldoc.com/en/installat ... are-ubuntu

For what regards the setup of SWFTools you will have to build and compile from the sources since the packages for Ubuntu as far as I remember does not include the command that LD needs: pdf2swf

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Wed Feb 03, 2016 6:48 pm
by shatzing
This is to get SWFTools 0.9.0

Code: Select all

sudo apt-get install libjpeg62 libgif4 libart-2.0-2
wget http://archive.canonical.com/ubuntu/pool/partner/s/swftools/swftools_0.9.0-0ubuntu2_amd64.deb
chmod a+x swftools_0.9.0-0ubuntu2_amd64.deb
sudo dpkg -i swftools_0.9.0-0ubuntu2_amd64.deb

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Wed Feb 03, 2016 6:54 pm
by shatzing
This is another useful link that will allow you to setup a more updated version of SWFTool

https://help.ubuntu.com/community/SWFTools

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Thu Feb 04, 2016 7:57 am
by lmilesuk
So I followed the guide you sent me and the user manual. And have reinstalled swfttools;

I now do a whereis swfttools in teminal and get /usr/share/swftools. My setup now looks like (see screenshot.

Previews are still only working for PDF's and JPEGs in the little preview box and nothing works for preview tab.

Any more Idea's?

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Fri Feb 12, 2016 12:52 pm
by agaspa
Hi @lmilesuk,
unfortunatelly there is a thing you should know,
in the latest available distribution of SWFTools for Ubuntu the needed command is missed,
check for the command pdf2swf

Code: Select all

whereis pdf2swf
If you have it installed you should use its parent path so, if pdf2swf full path is /usr/bin/pdf2swf
you should just put /usr/bin in the field SWFTools path

Also I have another interesting info,
starting from LogicalDOC 7.4.2 SWFTools will be no more required, so you don't need to install it in your system to see the preview of the documents.

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Fri Feb 12, 2016 5:17 pm
by shatzing
Hi to all,
I found a good article that can be useful: swftools on Ubuntu 14.04 – Trusty Tahr

Here is the link:
http://www.toysdesk.com/2014/06/swftool ... usty-tahr/

The sequence of commands allows to successfully compile and install on the system SWFTools version 0.9.2

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Wed Feb 17, 2016 9:20 am
by lmilesuk
So now when I do a whereis pdf2swf;

pdf2swf: /usr/local/bin/pdf2swf

My settings are now set at (See Screenshot 1)

This has not helped improve the previews at all, I am unable to get a preview. the only previews I do see is the thumbnail in properties for jpeg and pdf's. However this doesn't work for .txt, .doc, .zip.

Am I missing anything else here?

Many thanks

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Thu Feb 18, 2016 12:20 pm
by agaspa
Hi lmilesuk,
the community edition of LD has limited preview capabilities,
in particular you can get the preview of images, txt, html and pdf, but not openoffice documents or ms office documents.
In order to know if everything is in place try to upload a new pdf and request the preview of it.

Re: Preview not working - logdoc 7.4 Ubuntu14.04, LibreOffic

Posted: Fri Feb 19, 2016 12:43 pm
by lmilesuk
Ok but my previews aren't working for txt or hrml, which third party app is responsible for this? So I know what to investigate further?