Page 1 of 1

How can I divide one docx to several docx files ?

PostPosted: Tue Jul 14, 2015 6:58 pm
by eunpiri
Hello,
I started learning docx4java several days ago.
It is so interesting to me but I don't know well how to divide one docx file to several files.

My point is
total.docx has 5 pages and I'd like to divide this file into 5 files such as belows.

part1.docx(page 1), part2.docx(page 2), part3.docx(page 3), part4.docx(page 4), part5.docx(page 5).

Please let me know if you have any ideas.
Thank you in advance.

Re: How can I divide one docx to several docx files ?

PostPosted: Wed Jul 15, 2015 8:53 pm
by jason
To do this you need a page layout model which mimics Word's.

docx4j doesn't have one of these.

Plutext has recently developed such a thing; we're currently using it for our commercial PDF Converter.

In due course, we'll probably expand its API to do things like you describe.

Re: How can I divide one docx to several docx files ?

PostPosted: Wed Jul 15, 2015 9:32 pm
by eunpiri
Thank you, Jason,
Can I use trial version of commercial APIs ?

If it is possible, please let me know how to do it.