<?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: Merging documents from repository in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286908#M240038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you already have the library then appending the documents is just plain java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What part of the process are you stuck with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jan 2014 09:07:04 GMT</pubDate>
    <dc:creator>scouil</dc:creator>
    <dc:date>2014-01-08T09:07:04Z</dc:date>
    <item>
      <title>Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286904#M240034</link>
      <description>Hallo I have a repository based on Alfresco 4.2e containing various docx.I'd need to retrieve some of them (according to their tags) and combine them in a single docx.Could you point me in any direction?Thanks in advance</description>
      <pubDate>Thu, 02 Jan 2014 22:41:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286904#M240034</guid>
      <dc:creator>lordzoster</dc:creator>
      <dc:date>2014-01-02T22:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286905#M240035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sounds like an option to script this from LibreOffice or Word (depending on your environment/ preferences) using CMIS calls to access Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- look for an open the first document&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- from this document open and insert/ append the contents of the second document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- save under a new name and close.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers, Sasquatch&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 04:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286905#M240035</guid>
      <dc:creator>sasquatch58</dc:creator>
      <dc:date>2014-01-03T04:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286906#M240036</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;As Sasquatch stated, there is no magic out-of-the-box function that would do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What you need to do is find a java library that does this, add that lib to alfresco and then call it in your custom java code. You might start looking there. Never tried any though:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://stackoverflow.com/questions/2494549/is-there-any-java-library-maybe-poi-which-allows-to-merge-docx-files" rel="nofollow noopener noreferrer"&gt;http://stackoverflow.com/questions/2494549/is-there-any-java-library-maybe-poi-which-allows-to-merge-docx-files&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But technically it is possible. We did implement a custom action for a client that would convert all the selected documents into pdfs and then merge all the pdf (alfresco already include the libs and APIs for those 2)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then we have a pdf that is a merged version of the docs that is available to download.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It might as well be something you want to consider if it fits your requirements.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 12:04:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286906#M240036</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-03T12:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286907#M240037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was actually considering docx4j.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 14:31:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286907#M240037</guid>
      <dc:creator>lordzoster</dc:creator>
      <dc:date>2014-01-07T14:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286908#M240038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you already have the library then appending the documents is just plain java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What part of the process are you stuck with?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2014 09:07:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286908#M240038</guid>
      <dc:creator>scouil</dc:creator>
      <dc:date>2014-01-08T09:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286909#M240039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm stuck with several steps of the process:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- very basic knowledge of Java (just syntax and some principles) - I'm a C# and PHP developer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- no idea of which method to use to programmatically tag and retrieve documents, REST, CMIS, or other, since in every case the documentation I find starts from the far roots of the knowledge and I'm having an hard time in synthesizing valuable informations.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 11:37:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286909#M240039</guid>
      <dc:creator>lordzoster</dc:creator>
      <dc:date>2014-01-09T11:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Merging documents from repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286910#M240040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am a vb developer, and I do have the related methods and codes for &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://www.rasteredge.com/how-to/vb-net-imaging/word-merge-split/" rel="nofollow noopener noreferrer"&gt;http://www.rasteredge.com/how-to/vb-net-imaging/word-merge-split/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;Word merging&amp;lt;/a&amp;gt;, including Word document in 2007 and any later version. I see you are C# developer， you can search and use a code converter to convert my vb codes into c#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Private Sub Combine(source As List(Of BaseDocument), destn As Stream) Implements DOCXDocument.Combine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Private Sub Combine(source As List(Of BaseDocument), destn As [String]) Implements DOCXDocument.Combine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Private Sub Combine(source As List(Of [String]), destn As Stream) Implements DOCXDocument.Combine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Private Sub Combine(source As List(Of [String]), destn As Sting) Implements DOCXDocument.Combine&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;End Sub&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 06:15:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/merging-documents-from-repository/m-p/286910#M240040</guid>
      <dc:creator>christopheradam</dc:creator>
      <dc:date>2014-04-03T06:15:03Z</dc:date>
    </item>
  </channel>
</rss>

