Am 29.12.2015 um 00:18 schrieb Tory S. Anderson:
I'm working on a Clojure web app with the following function flow:

User uploaded docx -> mongodb -> docx4j converts each to PDF -> PDFBox Merger Utility merges all to a single PDF.

So far so good; everything is working. However, I need to be able to add bookmarks (outline nodes) to the produced PDF, preferably as I'm merging them. I'm not sure how best to do this, and whether the approach should be

1. Add outline to the individual PDFs BEFORE the merge (do outlines survive merges?)
2. Somehow add contents at the correct places during/after the merge.

Both is possible. Yes, they do survive merge. Not sure about 1.8.10, but sure about 2.0.

Re how create bookmarks, look at the examples for CreateBookmarks.java.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to