Page 1 of 1

Two docx documents in two columns

PostPosted: Tue Aug 18, 2015 2:10 am
by alosatriani
Hello!

I'm a little new to docx4j, i have achieve some things but this is something that i want to know if it would be posible:

I' have two word docx documents that i want to merge into one docx document.

But i want the two documents content to be merge each in one table cell (for comparison purposes), not to append the documents.

I've search for examples but i found nothing, is it possible? and how?

Please Help!
:| :cry:

I appreciate all your samaritan help, today for, tomorrow for you! :D

Re: Two docx documents in two columns

PostPosted: Tue Aug 18, 2015 9:44 am
by jason
Of course you can do this yourself, programmatically, but it raises all the usual issues which arise when merging docx files.

Because of that, do it yourself would generally only make sense if the input documents are simple/predictable.

The alternative is the commercial Docx4j Enterprise Edition, which includes "MergeDocx" functionality, including the ability to merge into a table cell (see page 9 of the manual "Inserting in a table cell"). You can download a trial from plutext.com