<?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: Can the PDF converter be invoked via scripts? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158345#M112458</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its inside &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/frs/download.php/494/webscripts-only.zip" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/frs/download.php/494/webscripts-only.zip&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; inside the integratedsemantics.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the in the integratedsemantics/transform dir&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makePDF.post.desc.xml ,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makePDF.post.js, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makePDF.post.xml.ftl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2009 22:33:39 GMT</pubDate>
    <dc:creator>stevereiner</dc:creator>
    <dc:date>2009-03-13T22:33:39Z</dc:date>
    <item>
      <title>Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158339#M112452</link>
      <description>Hello,I need to modify the behaviour of the PDF rendering of MS-Office documents.When defined in a Rule, the standard "Transform and copy content to a specific space" action does not work well when applied to subspaces (all documents converted in PDF will be saved in the SAME destination space, and</description>
      <pubDate>Thu, 05 Jun 2008 16:24:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158339#M112452</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-06-05T16:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158340#M112453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var nodeTrans = docNode.transformDocument("application/pdf", parentNodeForTransform);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (nodeTrans != null)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nodeTrans.properties.content.mimetype = "application/pdf";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;(Note you have to set the mimetype on the transform result!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FlexSpaces does this transform in its integratedsemantics/transform/makePDF javascript webscript&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forge.alfresco.com/projects/flexspaces/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/flexspaces/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 17:41:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158340#M112453</guid>
      <dc:creator>stevereiner</dc:creator>
      <dc:date>2008-06-05T17:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158341#M112454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Steve for the hint!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, for the next question: do you know if it is possible to modify the behaviour of the PDF transformation, for instance to automatically add some security settings (disable printing, disable copy, etc.) to the resulting PDF file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that this could also be done by using some external third party libraries for PDF manipulation, but perhaps there is an easier way by changing some settings that influence the transformDocument() method…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2008 19:45:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158341#M112454</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2008-06-05T19:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158342#M112455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you every come up with an implementation of this?&amp;nbsp; I'm looking for a transform that will convert to PDF in the current space what ever it it.&amp;nbsp; This could then be an inherited rule defined only once.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 19:05:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158342#M112455</guid>
      <dc:creator>opoplawski</dc:creator>
      <dc:date>2009-02-11T19:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158343#M112456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I didn't have the time to continue my investigations…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2009 22:43:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158343#M112456</guid>
      <dc:creator>theorbix</dc:creator>
      <dc:date>2009-02-11T22:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158344#M112457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;FlexSpaces does this transform in its integratedsemantics/transform/makePDF javascript webscript&lt;BR /&gt;&lt;A href="http://forge.alfresco.com/projects/flexspaces/" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/projects/flexspaces/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I think I've downloaded everything there but still can't find the actual makePDF webscript.&amp;nbsp; Pointers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 22:24:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158344#M112457</guid>
      <dc:creator>opoplawski</dc:creator>
      <dc:date>2009-03-13T22:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158345#M112458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Its inside &lt;/SPAN&gt;&lt;A href="http://forge.alfresco.com/frs/download.php/494/webscripts-only.zip" rel="nofollow noopener noreferrer"&gt;http://forge.alfresco.com/frs/download.php/494/webscripts-only.zip&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; inside the integratedsemantics.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the in the integratedsemantics/transform dir&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makePDF.post.desc.xml ,&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makePDF.post.js, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;makePDF.post.xml.ftl&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2009 22:33:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158345#M112458</guid>
      <dc:creator>stevereiner</dc:creator>
      <dc:date>2009-03-13T22:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can the PDF converter be invoked via scripts?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158346#M112459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, didn't expect the double zip.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Mar 2009 14:52:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/can-the-pdf-converter-be-invoked-via-scripts/m-p/158346#M112459</guid>
      <dc:creator>opoplawski</dc:creator>
      <dc:date>2009-03-16T14:52:11Z</dc:date>
    </item>
  </channel>
</rss>

