Hi, I got some questions about docx4j and openxml file format, could any one give me some advice?
1. Could I merge multi docx files? (not by altchunk)
For some reasons, I have to create a huge docx file.
In order to enhance the efficiency, I would like to create many subsets of the huge file by multi-threading.
(ex. by chapters, and all of them are docx files.)
then, merge these small subsets into one huge docx file.
I tried using altchunk, but it's not exactly what I want.
And there are all .net approaches for merging docx files I found so far.
Appending all the document parts of subsets together and solve the relationship problems take lots of efforts to make it work, is there any other good idea?
2. Could docx file formats have many "document.xml" (i.e. main document part)?
In order to solve the problem 1, I had tried to generate multi document.xml in the zipped docx structure.
I also use DTD and some other approaches to link those document.xml,
(ie. imports other xml parts into the main document.xml ), but it seems don't work in Word.
Is there any other approach could make it or solve the problem 1?
[EDIT 3. moved to separate topic]
Sorry for the poor English,
and any advice would be appreciated.