我正在使用iText 2.1.7从数据库生成文档。我需要添加的字段之一是XHTML格式。我可以使用HTMLWorker类来生成超文本标记语言,但这有一点限制。String url = chapterDesc.getString("description").toString(); // get the HTML string from the database
org.w3c.dom.Document doc = XMLResource.load(new ByteArrayInputStream(url.getBytes())).getD
$OldAWTFSImage cannot be cast to org.xhtmlrenderer.pdf.ITextFSImage at org.xhtmlrenderer.render.AbstractOutputDevice.paintBackground0(AbstractOutputDevice.javaorg.xhtmlrenderer.render.Box.paintBackg