解析HTML和CSS,并且能输出成image,PDF等格式.
FlyingSaucerisanXML/CSSrenderer,whichmeansittakesXMLfilesasinput,appliesformattingandstylingusingCSS,andgeneratesarenderedrepresentationofthatXMLasoutput.Theoutputmaygotothescreen(inaGUI),toanimage,ortoaPDFfile.Becausewebelievemostpeoplewillbeinterestedinre-usingtheirknowledgeofweblayout,ourmaintargetforcontentisXHTML1.0(strict),anXMLdocumentformatthatstandardizesHTML.
作者的一篇文章:https://today.java.net/pub/a/today/2007/06/26/generating-pdfs-with-flying-saucer-and-itext.html
评论