Page 1 of 1

How to embed a file in docx4j

PostPosted: Tue May 05, 2015 11:28 pm
by sreedhar
Hi

Im using Docx4j to generate report.I need to embed a pdf,xlsx as attachment into docx. Could you please help me on this

Re: How to embed a file in docx4j

PostPosted: Wed May 06, 2015 8:44 am
by jason
The easiest way to do this is to use Plutext's commercial enterprise edition, from http://www.plutext.com/m/index.php/products

You'll find examples there covering both your requirements.

Otherwise, all the low level support you need to do it yourself is available in docx4j. But there may be a learning curve as you come to grips with OLE, assuming you're already comfortable with OpenXML and docx4j.