Closed pillais1 closed 10 years ago
Did you install the actual WebODF library JAR too? To link to download this is in the installation instructions in the README.
On Thursday, November 28, 2013, Sujay wrote:
Can someone please let me know what configuration I am missing for WebOdf preview. Below are the steps I followed:
- Placed media-viewers-2.5.1.jar, share-webodf.jar under tomcat/share/lib
- Placed web-preview.get.config.xml under tomcat\shared\classes\alfresco\web-extension\site-webscripts\org\alfresco\components\preview
Hope so we just need to add this xml snippet in web-preview.get.config.xml
WebODF
When I try to preview any *.odt file it shows the preview in PDFJs viewer by converting .odt > pdf in back instead of WebOdf viewer.
— Reply to this email directly or view it on GitHubhttps://github.com/share-extras/media-viewers/issues/34 .
Are you reffering to share-webodf.jar?
If not can you please share the URL to download the WebODF library JAR?
That is the one. DId you also enable the 'WebODF Viewer (Experimental)' extensibility module in Share?
The 'WebODF Configuration' module can be used in place of the XML configuration in 4.2.c and upwards, and is probably going to be more reliable for you.
Have the same problem. Did you manage to solve the issue?
I reproduced this issue when the PDfJs Configuration module was loaded after the WebODF Configuration module in the deployment console. This is by design, as those modules always insert the viewer at the start of the chain.
You can use the Up and Down buttons to rearrange the modules so that WebODF comes after and apply the changes, you should then find that the WebODF viewer is used for ODT documents.
Incidentally if you find the WebODF viewer useful and want to contribute to making it a bit better, that would be very welcome.
Closing as notabug
Can someone please let me know what configuration I am missing for WebOdf preview. Below are the steps I followed:
Hope so we just need to add this xml snippet in web-preview.get.config.xml
When I try to preview any *.odt file it shows the preview in PDFJs viewer by converting .odt > pdf in back instead of WebOdf viewer.