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

local destination



How could I add destinations even if they don't exist on the local
pdf? 

If I add a setLocalGoto("hello") and the destination doesn't not exist
the document cannot be closed and it throws a RuntimeException. How
could I avoid this? If the destination doesn't exist I would like it
doesn't jump.

I throws an exception when I close the document:

java.lang.RuntimeException: The name '0.0.0.0' has no local destination.
        at com.lowagie.text.pdf.PdfWriter.addLocalDestinations(Unknown
Source)
        at com.lowagie.text.pdf.PdfDocument.close(Unknown Source)
        at com.lowagie.text.Document.close(Unknown Source)
        at com.jmrep.reportCenter.makeReport(reportCenter.java:146)
        ......

Thanks a lot 


Pablo



-------------------------------------------------------
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