I’m getting a docx. I need to changed it(e.g. with poi) so that it could be printed as a book. i.e. if I have docx with 6 pages, I want to get docx with 3 pages where we have pages 1 and 6 on page 1 of new docx, 2 and 5 on page 2 of new docx and pages 3-4 on page 3 of new docx.
Can someone provide an example(it would nice if example is written java) of such reshuffle?
thank you!
There are a lot of tools out there for manipulating PDFs. I usually reach for pdftk or pdfjam
Since you mention Java, the Multivalent project has free (as in beer, not as in freedom) java tools for manipulating PDFs.