Hi,
I'm trying to merge two documents into a new document. One of the documents has an embedded Excel spreadsheet as an OLEObject. If I remove the OLEObject, I can merge the files into a new file with no issues.
That being said, is there an sample file in the source code that illustrates this use case? Is it possible to do this in docx4j? If so, what specific code should I be using to do this?
I know that that OLEObject has a corresponding relationship defined in document.xml.rels. I'm assuming I have to transfer that relationship to the new document's document.xml.rels file, but I also notice there's a corresponding *.xls file in the package. Programatically is there API way for copying that actual file into the new document I'm merging into?
Thanks in advance!
Justin