cancel
Showing results for 
Search instead for 
Did you mean: 

Doucment Preview looks so Strange

smilehahohi
Champ in-the-making
Champ in-the-making
I have checked the source from SVN head, and build the Alfresco successfully, then I installed the OpenOffice, SWFTools, ImageMagic, the Alfresco running well, except the preview functionality. It looks like the format of the word document is disordered, as below screen-shot.

[img]http://www.ecmkit.com/wp-content/uploads/2012/04/preview1.png[/img]

My OS is Ubuntu 11.04, I also add below informatin into the alfresco-global.properties


ooo.exe=/usr/bin/soffice
ooo.enabled=true
ooo.port=8100

img.root=/ImageMagick
img.exe=/usr/bin/convert

swf.exe=/usr/local/bin/pdf2swf

Could anybody tell me why the flash looks so strange? Thanks.
1 REPLY 1

afaust
Legendary Innovator
Legendary Innovator
Hello,

indeed, this is a bit strange. Although OpenOffice in combination with PDF2SWF is known to not produce the same results when converting Office documents as the Microsoft products give, I have not yet seen something like in your case - usually, you have a proper page format and content is just not visible, not some overlay that exceeds the page boundaries.

Have you checked the intermediary PDF or generated SWF as well? It would be good to know in what part of the transformation and display chain this artifact is produced. You can check the PDF by doing a straight conversion with Alfresco via the "Run Action" feature. The SWF you can inspect via the Node Browser as content of the "preview" rendition node for the document in question.

Regards
Axel