Yes, this should be enought to make it work.

Can you please :
 - tell us if the pdf conversion available on the view tab works
 - give us a log extract

Tiry

----- Original Message -----
From: [email protected] <[email protected]>
To: [email protected] <[email protected]>
Sent: Tue Jan 27 19:23:12 2009
Subject: [Ecm] Trying to make the Nuxeo Preview Addon work

Hello,

I am trying to make the *Nuxeo Preview Addon* work on Nuxeo EP 5.1.6 on a 
win xp server, as described in the Nuxeo book 
([http://doc.nuxeo.org/5.1/books/nuxeo-book/html-single/#nuxeo-platform-preview])
 
:

- Downloaded +nuxeo-platform-preview-5.1.6.jar+ and dropped it in the 
+nuxeo.ear/plugins/+ directory
- restarted the server
- configured PDF2Html transformer by downloading and installing +pdftohtml+ 
command line tool and then creating the +pdftohtml-config.xml+ in the 
+nuxeo.ear/config+ directory:
bq. &lt;?xml version="1.0"?&gt;\\ &lt;component 
name="myproject.pdftohtml.config.contrib"&gt;\\ &lt;extension 
target="org.nuxeo.ecm.platform.preview.transformers.CLTransformerPluginParameterManagerComponent"\\
 
point="cltpParameters"&gt;\\ \\ &lt;CLTranformerPluginParameters 
name="Pdf2HtmlParams" targetTransformerPlugin="Pdf2Html"&gt;\\ 
&lt;parameters&gt;\\ \\ &lt;parameter 
name="commandString"&gt;C:&#92;&#92;Documents and 
Settings&#92;&#92;Administrateur&#92;&#92;Bureau&#92;&#92;pdftohtml&#92;&#92;pdftohtml.exe&lt;/parameter&gt;\\
 
&lt;parameter 
name="tmpDir"&gt;C:&#92;&#92;Temp&#92;&#92;&lt;/parameter&gt;\\ \\ 
&lt;/parameters&gt;\\ &lt;/CLTranformerPluginParameters&gt;\\ \\ 
&lt;/extension&gt;\\ &lt;/component&gt;

- configured Any2Html transformer by starting OpenOffice.org 3 in silent 
mode as described in Nuxeo book 
([http://doc.nuxeo.org/5.1/books/nuxeo-book/html-single/#admin-openoffice])

Then I supposed it was enough to work, but I was probably wrong.
When I launch Nuxeo EP and browse to a document, I can see the Preview tab.
When previewing a Note, it displays OK.
When previewing a .pdf, .doc or .html document I get an *error* in the 
Preview tab : "*A fatal error occured*" and no document preview.

Help would be appreciated.
Thanks
--
Posted by "orl" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2244#6067>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to