<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Share previever document layout sometimes broken? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262975#M216105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used your swf file as a content (cm:content) for the webpreview thumbnail (I switched the original swf) and I also got the broken preview in Share previewer - so it seems the Linux version of pdf2swf tool generates "invalid" swf file. I think you can check other versions of swftools package to find which of them is able to generate a valid swf file. Did you try 0.9.2 and 0.9.1 versions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukasz Turakiewicz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jan 2013 07:39:24 GMT</pubDate>
    <dc:creator>lukasz_turakiew</dc:creator>
    <dc:date>2013-01-03T07:39:24Z</dc:date>
    <item>
      <title>Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262968#M216098</link>
      <description>Hello,I wonder if something can be done about the 4.2c Share content previewer. It works with some of my PDFs and Office documents, but on others it is broken.In example, if I load this https://www.dropbox.com/s/r17c5tj2tooim82/What%20is%20Magic%20Briefcase.pdf file, my previewer looks broken, like</description>
      <pubDate>Mon, 31 Dec 2012 17:02:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262968#M216098</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2012-12-31T17:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262969#M216099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Zlatko,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please insert a valid link to "What is Magic Briefcase-4.pdf" file? It seems you inserted two links to screenshot of document-details page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukasz Turakiewicz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 07:28:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262969#M216099</guid>
      <dc:creator>lukasz_turakiew</dc:creator>
      <dc:date>2013-01-02T07:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262970#M216100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply, I updated the post with the correct link.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 08:13:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262970#M216100</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-01-02T08:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262971#M216101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The preview looks good in my environment (Alfresco 4.2.c with default settings, swftools 0.9.1, Win 7, Firefox 17.01 or Chrome or IE9, Flash 11.5.502.135). To show the preview Alfresco converts pdf to swf using pdf2swf tool from swftools package -&amp;nbsp; so in this case (pdf file) LibreOffice is not used in conversion process. Maybe you are using Linux version of Alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukasz Turakiewicz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:43:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262971#M216101</guid>
      <dc:creator>lukasz_turakiew</dc:creator>
      <dc:date>2013-01-02T10:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262972#M216102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yep, I'm using linux version. I tried converting directly with pdf2swf to see the result - I didn't think of that until you mentioned it. There seems to be some error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;zlatko@server ~ # pdf2swf What\ is\ Magic\ Briefcase.pdf&lt;BR /&gt;NOTICE&amp;nbsp; Output filename not given. Writing to What is Magic Briefcase.swf&lt;BR /&gt;Error: May not be a PDF file (continuing anyway)&lt;BR /&gt;Error: PDF file is damaged - attempting to reconstruct xref table…&lt;BR /&gt;Error: Couldn't find trailer dictionary&lt;BR /&gt;Error: Couldn't read xref table&lt;BR /&gt;ERROR&amp;nbsp;&amp;nbsp; Couldn't open What is Magic Briefcase.pdf&lt;BR /&gt;zlatko@server ~ #&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I even compiled swftools 0.9.1, the same result. It appears the problem is there?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 11:40:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262972#M216102</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-01-02T11:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262973#M216103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco adds additional conversion parameters to pdf2swf (there are in swf-transform.properties) so you should also add them from command line - you can also try other versions of pdf2swf.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can also check the generated (generated by Alfresco during creating webpreview thumbnail) swf file and open it directly in the browser - open Alfresco Node Browser, find your document, open webpreview child and open its content (mimetype=application/x-shockwave-flash) - is it the same as the one in Share webpreviewer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukasz Turakiewicz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 13:31:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262973#M216103</guid>
      <dc:creator>lukasz_turakiew</dc:creator>
      <dc:date>2013-01-02T13:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262974#M216104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The webpreview file is good - I can open it without problems: &lt;/SPAN&gt;&lt;A href="https://www.dropbox.com/s/d5fe3a61k16gwom/file.swf" rel="nofollow noopener noreferrer"&gt;https://www.dropbox.com/s/d5fe3a61k16gwom/file.swf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;. But the layout in Alfresco is still broken.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any pointers where I could look?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Oh, and just for the record, I really really appreciate your involvement and help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 14:20:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262974#M216104</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-01-02T14:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262975#M216105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I used your swf file as a content (cm:content) for the webpreview thumbnail (I switched the original swf) and I also got the broken preview in Share previewer - so it seems the Linux version of pdf2swf tool generates "invalid" swf file. I think you can check other versions of swftools package to find which of them is able to generate a valid swf file. Did you try 0.9.2 and 0.9.1 versions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lukasz Turakiewicz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 07:39:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262975#M216105</guid>
      <dc:creator>lukasz_turakiew</dc:creator>
      <dc:date>2013-01-03T07:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262976#M216106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I have tested both versions. I'll see if I have another version of pdf2swf available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jan 2013 08:37:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262976#M216106</guid>
      <dc:creator>zladuric</dc:creator>
      <dc:date>2013-01-03T08:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262977#M216107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you solve this? I'm having the same problem here with docx files. First preview is ok, but when the preview is regenerated p.e. after online edit, the preview gets distorted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jan 2013 21:08:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262977#M216107</guid>
      <dc:creator>mnemonic</dc:creator>
      <dc:date>2013-01-31T21:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262978#M216108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I noticed that a prebuild pdf2swf (0.9.1) binary from a bitnami stack works flawlessly, so it seems to be caused by the repository version (0.9.2) of Ubuntu 12.04.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:37:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262978#M216108</guid>
      <dc:creator>mnemonic</dc:creator>
      <dc:date>2013-02-01T14:37:25Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262979#M216109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ALF-15843" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ALF-15843&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;What I did for now (as previously mentioned) was to downgrade swftools. I went with 0.9.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And even better kan be to try PdfJs viewer from Share Extras Media Viewers add-on &lt;/SPAN&gt;&lt;A href="http://code.google.com/p/share-extras/wiki/MediaViewers" rel="nofollow noopener noreferrer"&gt;http://code.google.com/p/share-extras/wiki/MediaViewers&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Use PdfJs and the Embed viewer, and you most likely will not have to see flash based previews.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;More reading &lt;/SPAN&gt;&lt;A href="http://blogs.alfresco.com/wp/wabson/2013/02/01/media-viewers-2-5-released/" rel="nofollow noopener noreferrer"&gt;http://blogs.alfresco.com/wp/wabson/2013/02/01/media-viewers-2-5-released/&lt;/A&gt;&lt;SPAN&gt; and &lt;/SPAN&gt;&lt;A href="http://loftux.com/2012/11/30/media-viewers-extending-alfresco-viewer-capability/" rel="nofollow noopener noreferrer"&gt;http://loftux.com/2012/11/30/media-viewers-extending-alfresco-viewer-capability/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 10:44:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262979#M216109</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2013-02-02T10:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262980#M216110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately I get a "Could not load PDF content" error with PdfJs. Using Media-Viewers 2.5 and Alfresco 4.2.d (nightly build). PDF is shown ok in browser with standard viewer (PDF.js).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 18:44:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262980#M216110</guid>
      <dc:creator>mnemonic</dc:creator>
      <dc:date>2013-02-02T18:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Share previever document layout sometimes broken?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262981#M216111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Since I was the one introducing Media viewers into this topic, sorry if this thread goes a bit off topic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested the latest Media Viewers with Nightly downloaded today. I could not replicate any problems, either with pdf:s or office document transformed to pdf:s. Tested with Chrome, Firefox on Chrome, IE on win 7. Tested with small pdf:s and one 30Mb pdf with 1300 pages.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So it may be that one specific pdf that is the problem, does it work for others? We try to keep up to date with the pdf.js lib, but we are slightly behind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do want to sort it out, start a new thread where you post alfresco.log, and check tomcat/logs/catalina.out, it may be some transfer error there. Be specific on what browser and os you are using.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 20:17:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/share-previever-document-layout-sometimes-broken/m-p/262981#M216111</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2013-02-02T20:17:04Z</dc:date>
    </item>
  </channel>
</rss>

