By Date: <-- -->
By Thread: <-- -->

Problems with Generating Index and Cross References



Paulo Soares <psoares <at> consiste.pt> writes:

> 
> The real problem here is how do you know where the keywords and locations
> are? iText can't do that.
> 
> Paulo
> 
Hi,

My keywords are my methods, classes, constants.

Whenever I encounter a method etc, I create a named destination in my output 
pdf file.

For example assume I am processing java.lang, I create a PDF java-lang.pdf, 
which contains named destinations for all classes, methods and constants in 
java.lang package.

If I open this file stand alone and do a 
SimpleNamedDestination.getNamedDestination(..), it returns all the named 
destinations correctly.

However I later merges this with java-util.pdf using PDFCopy to create java-
packages.pdf, I noticed that if I do SimpleNamedDestination.getNamedDestination
(..) at this point on the java-packages.pdf, I just get back an empty hashmap.

How do I ensure that all the named destinations are copied across correctly and 
SimpleNamedDestination.getNamedDestination returns a valid HashMap?

Thanks,
Vijay





-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions (at) lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions