java pdf index

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.

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 problem is that the index doesn't work. We would like that with a click onto the title in the index acrobat 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](..)

method to work on is only generateIndexInternal(..)

this method is currently using iText and order and grouping logic is outside that method so you don't need to work in order and grouping logic.

I think main problem is that index is generated as a single pdf file and then merged with other pages so we need to target click to pagenumber when page still is not there.

Pages referred by index are added later.

We think it can be solved in this way:

You can change entirely [url removed, login to view](..) creating an open iText document, adding frontpage if needed, index in needed, all single pdfs and needed customizations (page number and image) and only then close the document so index ca contain references to pages.

Then you need to check generated document total number of page to verify it match calculated one because an index longer than expected can invalidate pagenumbers in index row.

If page number don't match you need to adapt initialPageShift in index and recreate all above document.

At last you have to add outline if needed.

We don't need to find another way to solve a problem or a suggest.

We need that the software works like is.

We need to solve to problems with this software. The problem must be solved in three days.

Here you can find software:

[url removed, login to view]

For award is evaluated in order a short description of how you want to solve,

no details, but just for understand you know the problem, the fast, e he price.

Thank you

I remember that:
For award is evaluated in order a short description of how you want to solve,
no details, but just for understand you know the problem, the fast, and the price.

A short description is required, but short. I don't want a suggest for the solution,
but understand if you know how you can solve the problem.

Evner: Java, Software Arkitektur

Se mere: single match, problems with match, match problems, match problem, how to find problems, find original image, eclipse architecture, java pdf, pdf index java, servlets in java, servlets, recreate image, problem in java, pdf work, pdf image, pages pdf, just pdf, java problem, java libraries, itext, index, generate pdf, acrobat, total war open source, order java

Om arbejdsgiveren:
( 3 bedømmelser ) parma, Italy

Projekt ID: #980361

Tildelt til:


Please check PMB.

$30 USD på 1 dag
(9 bedømmelser)

9 freelancere byder i gennemsnit $137 på dette job


Hello, Please check your inbox Thanks

$240 USD in 3 dage
(95 bedømmelser)

hi, Please look into your PMB. Thanks

$90 USD in 5 dage
(14 bedømmelser)

I can do this [login to view URL] check your pmb.

$100 USD in 3 dage
(0 bedømmelser)

Hi, I am waiting to get this one. See PMB.

$150 USD in 7 dage
(0 bedømmelser)

I'm interested by your project,please contact me in private for more details.

$70 USD in 5 dage
(0 bedømmelser)

Please look our private message.

$200 USD in 2 dage
(0 bedømmelser)

Hello, Please check you pm.

$200 USD in 5 dage
(0 bedømmelser)

Pls. check your pm.

$150 USD in 2 dage
(0 bedømmelser)