<?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: Not able run custom transformer(pdf_to_doc) through soffice in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32326#M13698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no way around it, the transformed file must be located at the path specified via the API. If the transformer is not generating the result at the correct path, you need to implement a thin wrapper that correctly moves / renames the result to the expected file path. Since you already have a custom implementation class (PDFToDOCContentTransformer) it should be trivial to add the necessary logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Nov 2017 21:44:49 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2017-11-29T21:44:49Z</dc:date>
    <item>
      <title>Not able run custom transformer(pdf_to_doc) through soffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32325#M13697</link>
      <description>Hi All,Here is the link to my project&amp;nbsp;GitHub - rastoh/ev-pdf-to-doc&amp;nbsp;Please look for service-context_bak.xml for the beans related to soffice at the path&amp;nbsp;ev-pdf-to-doc/ev-repo-pdftodoc/src/main/resources/alfresco/module/ev-repo-pdftodoc/contextI am trying to convert pdf to doc using a custom transfor</description>
      <pubDate>Mon, 27 Nov 2017 11:45:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32325#M13697</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2017-11-27T11:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Not able run custom transformer(pdf_to_doc) through soffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32326#M13698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no way around it, the transformed file must be located at the path specified via the API. If the transformer is not generating the result at the correct path, you need to implement a thin wrapper that correctly moves / renames the result to the expected file path. Since you already have a custom implementation class (PDFToDOCContentTransformer) it should be trivial to add the necessary logic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Nov 2017 21:44:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32326#M13698</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-11-29T21:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Not able run custom transformer(pdf_to_doc) through soffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32327#M13699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel for your input. I would like to know two things, if possible&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why the soffice is copying the file after generating to a different location because while running the command manually I can see the file generated at the same location. Is there something in Alfresco that is forcing the generation to a different directory ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. As I have just started playing around transformers I can't fully grasp how I can create the wrapper you are talking about in the suggestion. Any pointer or example would be much appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Hiten Rastogi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 08:40:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32327#M13699</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2017-11-30T08:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: Not able run custom transformer(pdf_to_doc) through soffice</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32328#M13700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;OL&gt;&lt;LI&gt;Alfresco does not use command-line soffice - it talks to the headless soffice process via a local socket&amp;nbsp;connection, and the source/result document are streamed through that. Alfresco itself stores the result in the correct file path.&lt;/LI&gt;&lt;LI&gt;You already have a custom class "PDFToDOCContentTransformer". Simply put any file moving / renaming logic there. That class essentially is your "wrapper" around the soffice conversion process.&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Nov 2017 08:54:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/not-able-run-custom-transformer-pdf-to-doc-through-soffice/m-p/32328#M13700</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-11-30T08:54:41Z</dc:date>
    </item>
  </channel>
</rss>

