xhtmlrenderer
<div id="p_fullcontent" class="detail"> <p>解析HTML与XML,并应用CSS样式,然后输出成图片,PDF(通过iText)等格式。</p> <p>功能特性:</p> <ul> <li>100% Java XML+CSS layout engine with native PDF, Swing, image rendering. </li> <li>Strong support for the CSS 2.1 specification including extensions to better support paged media. </li> <li>Good performance. </li> <li>Support for XHTML including forms. </li> <li>Arbitrary elements may be replaced with custom content. </li> <li>Limited support for dynamic effects (for example, the :hover pseudo-class and links) </li> <li>Some support for PDF specific features (for example, bookmarks and internal links). More coming soon.Limitations: </li> <li>Resource loading is single threaded and occurs inline with layout. </li> <li>Support for XHTML is weaker than XML+CSS (for example, not all XHTML presentational attributes are supported nor are X/HTML features like the <tt><object></tt> element). </li> <li>No support for legacy HTML (although there are several open source Java HTML cleaners of varying quality available). </li> <li>No support for incremental layout (applies to screen media only).<br /> </li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324432252749" target="_blank">http://www.open-open.com/lib/view/home/1324432252749</a></p> </div>
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!