We developed some servlets to manage pdfs using mainly iText-2 and pdfbox libraries.
One of them merge some existing pdfs, generate a frontpage, an index and add some other cutomization then return resulting file.
All works fine but there's a problem with a customization: adding page number at bottom of every page.
More precisely page number is added to every page, is visible in frontpage and index but is not visible (but present) in other pages.
Other pages are newspaper story scanned to fullpage tiffs with hidden ocr text.
We suspect pagenumber text is hidden by some settings used for hiding ocr text but I wasn't able to solve the problem.
Attached zip contains:
- eclipse project with full source (eclipse_project subdir)
- external libraries jars (external_libs_jars subdir)
- compiled war ([url removed, login to view] file)
- some example original pdfs with resulting defecting generated pdf (test
The involved servlet is Pdfs2volume and the problematic method for adding pagenumber is [url removed, login to view](..).
The page number is very urgent.
Another problem is that the index doesn't work. We would like that with a click onto the tile in the index acorbat goes on the right page. Current index contains page number but need to be clickable similar to outline.
Method that generate index is [url removed, login to view](..)
This is a plus to award the progect. Will be selected the freelance who produce faster the step one the option of step two.
look at this attach please