Boulatov, Jaroslav wrote:
> Hello, we need to extract pages from a PDF document (with bookmarks) and
> save the extracted pages as new PDF documents while keeping the
> bookmarks. The extraction is BASED on the bookmarks :
> I want to split the original file into individual bookmarked
> subsections. There could be many bookmarks in the original file -- tens
> or even a hundred -- and all these should be extracted to new individual
> *.pdf files)
> Please advise if iText or some other application is capable of doing
> this task "programmatically", without having to do it manually.
iText can do it.
Use SimpleBookmark to get the bookmarks from the existing document.
There are different ways to 'extract' the pages. These are two examples:
http://www.1t3xt.info/examples/browse/?page=example&id=31http://www.1t3xt.info/examples/browse/?page=example&id=32but there are more possibilities.
You can also manipulate the bookmarks and add the altered bookmarks
to the individual subsections programmatically.
--
This answer is provided by 1T3XT BVBA
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questionsDo you like iText?
Buy the iText book:
http://www.1t3xt.com/docs/book.phpOr leave a tip:
https://tipit.to/itexttipjar