Inserting HWPFDocument into XWPFDocument
Janne Jokitalo <[email protected]> Mon, 26 Feb 2024 12:24:26 +0200
| Newsgroups | gmane.comp.jakarta.poi.user |
|---|---|
| Message-ID | <CAPTbDaOFCNVLKfFw0qi70qAP5NC5FYtFKqu0CzoNPvcM1MD_qg@mail.gmail.com> |
Hi, I tried to search on the archives for this, but couldn't find it. Is there a way to insert HWPFDocument data into an existing XWPFDocument? I have multiple Word documents that need to be combined, and some of them are of the "application/msword" format, while a template and some others are of the XML-based format. I thought of extracting a range of the HWPFDocument, but couldn't come up with a way to insert that into the combined one. Thanks for any possible help in advance! Best regards, Jaska