<?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: I have a java web application with Jquery and HTML5 on front end. We are using cmis library to download the documents uploaded. We now want to preview the alfresco documents in browser with zoom and scrol options. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/i-have-a-java-web-application-with-jquery-and-html5-on-front-end/m-p/24084#M10494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. We use pdf.js (see&amp;nbsp;&lt;A class="link-titled" href="https://mozilla.github.io/pdf.js/" title="https://mozilla.github.io/pdf.js/" rel="nofollow noopener noreferrer"&gt;PDF.js&lt;/A&gt;&amp;nbsp;) We simply created a webscript that takes the nodeRef of the document, uses the renditionService to create a PDF rendition and returns the rendered file download URL (consumed by PDF.js).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example in JavaScript: (see&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/5.0/references/API-JS-RenditionService.html" title="http://docs.alfresco.com/5.0/references/API-JS-RenditionService.html" rel="nofollow noopener noreferrer"&gt;Rendition service | Alfresco Documentation&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var renditionDef = renditionService.createRenditionDefinition('cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;dfExport', 'reformat');&lt;BR /&gt; renditionDef.parameters['mime-type'] = format;&lt;BR /&gt;var renderedNode = renditionService.render(node, renditionDef);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Jul 2017 23:45:26 GMT</pubDate>
    <dc:creator>eva_vasques</dc:creator>
    <dc:date>2017-07-06T23:45:26Z</dc:date>
    <item>
      <title>I have a java web application with Jquery and HTML5 on front end. We are using cmis library to download the documents uploaded. We now want to preview the alfresco documents in browser with zoom and scrol options.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-have-a-java-web-application-with-jquery-and-html5-on-front-end/m-p/24083#M10493</link>
      <description>I have a java web application with Jquery and HTML5 on front end. We are using CMIS library to download the documents uploaded. We now want to preview the alfresco documents in browser with zoom and scrol facility. Please suggest a suitable plugin/api that can be integrated for this.I read on this :</description>
      <pubDate>Tue, 27 Jun 2017 11:19:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-have-a-java-web-application-with-jquery-and-html5-on-front-end/m-p/24083#M10493</guid>
      <dc:creator>ruchidalal</dc:creator>
      <dc:date>2017-06-27T11:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: I have a java web application with Jquery and HTML5 on front end. We are using cmis library to download the documents uploaded. We now want to preview the alfresco documents in browser with zoom and scrol options.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/i-have-a-java-web-application-with-jquery-and-html5-on-front-end/m-p/24084#M10494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. We use pdf.js (see&amp;nbsp;&lt;A class="link-titled" href="https://mozilla.github.io/pdf.js/" title="https://mozilla.github.io/pdf.js/" rel="nofollow noopener noreferrer"&gt;PDF.js&lt;/A&gt;&amp;nbsp;) We simply created a webscript that takes the nodeRef of the document, uses the renditionService to create a PDF rendition and returns the rendered file download URL (consumed by PDF.js).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example in JavaScript: (see&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/5.0/references/API-JS-RenditionService.html" title="http://docs.alfresco.com/5.0/references/API-JS-RenditionService.html" rel="nofollow noopener noreferrer"&gt;Rendition service | Alfresco Documentation&lt;/A&gt;&amp;nbsp;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var renditionDef = renditionService.createRenditionDefinition('cm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;dfExport', 'reformat');&lt;BR /&gt; renditionDef.parameters['mime-type'] = format;&lt;BR /&gt;var renderedNode = renditionService.render(node, renditionDef);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2017 23:45:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/i-have-a-java-web-application-with-jquery-and-html5-on-front-end/m-p/24084#M10494</guid>
      <dc:creator>eva_vasques</dc:creator>
      <dc:date>2017-07-06T23:45:26Z</dc:date>
    </item>
  </channel>
</rss>

