<?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: How transformation to PDF is done? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311993#M265123</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be necessary to set the mimetype on the pdfWriter - that is what the transform operation may check. That alone won't save the mimetype on the pdfNodeRef - only the transform operation will save the content and mimetype.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Oct 2016 07:00:25 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2016-10-12T07:00:25Z</dc:date>
    <item>
      <title>How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311987#M265117</link>
      <description>Hello,i'm trying to find a suitable way to convert a file (a docx in my case) to a PDF one.i took as reference this link https://community.alfresco.com/docs/DOC-5359-noderef-cookbook#w_transformingappttopdf where we have this snippet:ContentReader pptReader = contentService.getReader(pptNodeRef, Con</description>
      <pubDate>Tue, 11 Oct 2016 09:39:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311987#M265117</guid>
      <dc:creator>imphilippesimo</dc:creator>
      <dc:date>2016-10-11T09:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311988#M265118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why not just use rendition service ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 09:48:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311988#M265118</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2016-10-11T09:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311989#M265119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The NodeRef "pdfNodeRef" can be any node that is compatible with the cm:content type. It does not matter what mimetype the node has - it only has to exist.&lt;/P&gt;&lt;P&gt;The snippet you have is about taking the contents of pptNodeRef, converting it into PDF and storing that PDF content via pdfNodeRef. So the old content remains unchanged. If pdfNodeRef already has content, it will be replaced with the transformed PDF. If pdfNodeRef has versioning enabled, this should also create a new version so you can always access the previous content of pdfNodeRef and restore it. If versioning is not enabled than that content is "lost" (not technically yet, but effectively).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The rendition service may also be used to convert documents, but only into predefined target formats (including pre-defined transformation options). The way you are converting the file is the more generic approach and perfectly valid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 10:39:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311989#M265119</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-10-11T10:39:50Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311990#M265120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;If i'm getting well, you mean that even if "pdfNodeRef" has a null content data (fileFolderService.getFileInfo(pdfNodeRef).getContentData() returning null), the snippet is still working?&lt;/P&gt;&lt;P&gt;In other words, is it not required for "pdfNodeRef" to have some content, to get this working?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 16:13:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311990#M265120</guid>
      <dc:creator>imphilippesimo</dc:creator>
      <dc:date>2016-10-11T16:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311991#M265121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Oct 2016 21:54:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311991#M265121</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-10-11T21:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311992#M265122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's weird,&amp;nbsp; cause i'm not getting it working for me.&lt;/P&gt;&lt;P&gt;Alfresco complains saying that the convertion failed cause "pdfNodeRef" mime type is null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 06:53:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311992#M265122</guid>
      <dc:creator>imphilippesimo</dc:creator>
      <dc:date>2016-10-12T06:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311993#M265123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may be necessary to set the mimetype on the pdfWriter - that is what the transform operation may check. That alone won't save the mimetype on the pdfNodeRef - only the transform operation will save the content and mimetype.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 07:00:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311993#M265123</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2016-10-12T07:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: How transformation to PDF is done?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311994#M265124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;B&gt;Axel Faust&lt;/B&gt;​&lt;/P&gt;&lt;P&gt;You were right! &lt;/P&gt;&lt;P&gt;we just have to set the writer mimeType.&lt;/P&gt;&lt;P&gt;On the other hand, i have another issue, is about getting available content transformer from the content service for a source mimetype to a target one.&lt;/P&gt;&lt;P&gt;For example, i am not able to get a transformer for plain/text to application/pdf.nevertheless from this link: &lt;A href="http://docs.alfresco.com/5.1/references/dev-extension-points-content-transformer.html" title="http://docs.alfresco.com/5.1/references/dev-extension-points-content-transformer.html" rel="nofollow noopener noreferrer"&gt;Content Transformers (and Renditions) | Alfresco Documentation&lt;/A&gt;, the transformation i want to perform is listed. So i guess it's because i am not implementing the transformation with suitable third party software (libre office in my case) which provides such content transformer.&lt;/P&gt;&lt;P&gt;am i right? if yes, Can someone give me an advice about which softwares can i use depending of the available possibilities of transformation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 15:37:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-transformation-to-pdf-is-done/m-p/311994#M265124</guid>
      <dc:creator>imphilippesimo</dc:creator>
      <dc:date>2016-10-12T15:37:22Z</dc:date>
    </item>
  </channel>
</rss>

