Hi,
I installed Alfresco on windows with the installer and disabled libreoffice. I tried to install it later as described in the documentation here Installing LibreOffice | Alfresco Documentation and there are some problems.
I can see the preview of txt files just fine but when i try to see the preview of docx files a windows pops up that says "unable to open the PDF document" (or something along those lines).
What i don't understand is why it works for txt files but not for docx files.
If you are running Alfresco on Windows then there is a path length limit that may prevent previews from being generated. This is a known issue.
Unfortunately it is difficult to help from this information. Have you tried running conversions on the affected documents from the command line yourself? Depending on the way you have installed LibreOffice there may be some components missing, e.g. a customer of mine once installed it from the repository specific to his Linux distribution and simply forgot to install one of the dozen software packages that compose LibreOffice.
If you are using Alfresco Enterprise Edition you can install the Alfresco Support Tools addon to test transformations via the admin console. If you run Alfresco Community Edition you can build and install the Community Support Tools addon for the same feature.
I hve an even stranger problem now, friday on my test machine (with libreoffice installed with the alfresco installer) i could see docx previews correctly while today i can only see the first page of the pdf and no lateral scroll bar or page selector on top is shown
EDIT:
restarting the tomcat server fixed this last problem, strange (it was running for less than an hour)
This is just the fallback to a different kind of preview when the PDF preview is not available. The docx file contains a thumbnail of the first page and this is displayed as a static preview in this case.
Oh ok, i wasn't aware of that functionality, as of today on the machine that i tried installing libreoffice on later i can see only some of the previews for the same MIME type (can see preview of document x.docx but not y.docx), also on my test machine i have a button "Edit in Microsoft Office" in the preview page while on the other i don't have it even when the preview is shown. Any idea what might cause this? Later today i'll try to install libreoffice again checking all the dependencies necessary and if i'm missing any