简体   繁体   English

iText7-Html2Pdf Jar和源

[英]iText7 - Html2Pdf Jar and source

我正在将功能从iText5迁移到iText7,我们正在将html转换为pdf,在iText5中,我们有HtmlWorker / XmlWorker,但是在iText7中,我们有html2Pdf jar,但我无法在Eclipse中检查其源代码,也没有javadoc,是否有人知道?我们如何检查这些API并了解使用哪个API来转换html2Pdf。

Assuming you have the actual iText "pdfHTML" libraby then just use the available resources on the iText site: http://itextpdf.com/itext7/pdfHTML 假设您拥有真正的iText“ pdfHTML”图书馆,请仅使用iText网站上的可用资源: http ://itextpdf.com/itext7/pdfHTML

Specifically here is the documentation for converting HTML to PDF: http://developers.itextpdf.com/content/itext-7-examples/converting-html-pdf 具体来说,这里是将HTML转换为PDF的文档: http : //developers.itextpdf.com/content/itext-7-examples/converting-html-pdf

For even more info see the blog post from iText just 10 days ago: http://itextpdf.com/blog/pdfhtml-configuration-options 有关更多信息,请参阅10天前来自iText的博客文章: http : //itextpdf.com/blog/pdfhtml-configuration-options

However if you sourced the library elsewhere then take note that there are other "html2pdf" libraries available that are not related to iText and they function differently. 但是,如果您从其他地方获得该库,请注意,还有其他与iText不相关的“ html2pdf”库,它们的功能有所不同。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM