First, this is my second day of working with itext and it looks really 
cool.  I have the itext book and started down a path to combine some 
PDFs but after more reading I think I may be using the wrong clssses.  I 
started with PdfCopy but I want to manipulate the files as I add the 
PDFs so I am stepping back to re-evaluate my plan. 

Here is what I want to do:

I have a directory tree with about a dozen sub directories.  Workers 
have been adding PDF files to these directories.  I now want to traverse 
the tree and for each directory add the files to a new PDF.  I want to:

1. Create a chapter in the PDF for each sub directory. 
2. Add a page before each chapter with the chapter title (name of 
directory).
3. I would like to create a table of contents pointing to each chapter 
title page.
4. I also want to add page numbers to the pages.

I am not sure if I should use PdfWriter, PdfStamper, or PdfCopy, 
something else or some combination of them with multiple passes.

If anyone has an example of this or any suggestions I would appreciate 
the help.

Thanks!



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to