[英]Java: Is there a way to create a pdf file in eclipse using just apache poi
我搜索的所有方法似乎都在使用itext库,但是有没有办法只使用apache poi库呢?
I don't believe so. 我不相信 POI is strictly for Microsoft documents and PDF was created by Adobe.
POI严格用于Microsoft文档,而PDF由Adobe创建。 So the short and quick answer is no.
因此简短而快速的答案是“否”。
If you read the docs for Apache's POI project you'll read in the title "Apache POI - the Java API for Microsoft Documents". 如果您阅读Apache POI项目的文档,则会看到标题为“ Apache POI-Microsoft文档的Java API”。
POI is explicitly made for Microsoft Documents. POI是为Microsoft文档明确创建的。 Using itext is the easiest way to generate or create a PDF file within Java.
使用itext是在Java中生成或创建PDF文件的最简单方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.