Kevin Gutch wrote:

> I am new to Itext. I am attempting to convert an HTML page to PDF given 
> the example shown here: http://www.lowagie.com/iText/examples/Chap0707.java

XHTML to PDF is better done with other tools (for instance IceBrowser).
In iText short HTML snippet can be parsed with HtmlWorker.

> java.lang.RuntimeException: The name '' has no local destination.

This problem is not related to HTML.
You have created an internal link, apparently with
an empty String. This link points to nowhere in the
PDF (there is no local destination with this name).

This causes a problem. To solve this, remove the
invalid internal link.
br,
Bruno

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to