简体   繁体   中英

How to attach files to MS Word document using docx4j?

Is there a way how to attach files into MS Word document? I mean the same way as you drag and drop eg MS Excel file into MS Word. It shows MS Excel icon and file name and double click opens attached document.

My situation comes from former html files that I import using XHTMLImporter.convert. Now HTML references attachments for download on several places and would like to attach these files into appropriate MS Word documents.

The easiest way is to use Plutext's Docx4j Enterprise Edition.

If you download the trial, see the section in the manual on "OLE Helper".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM