java - 请稍等..java itext pdf阅读器中的消息

标签 java itext

我正在使用 java itext pdf reader 从 pdf 中读取数据,但是当我运行程序时出现以下错误

Please wait... 

If this message is not eventually replaced by the proper contents of the document, your PDF 
viewer may not be able to display this type of document. 

You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by 
visiting  http://www.adobe.com/go/reader_download. 

    For more assistance with Adobe Reader visit  http://www.adobe.com/go/acrreader. 

Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark 
of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other 
countries.

Pdf 包含表格和表格。我正在使用 ubutnu 并且 adobe reader 已更新。

最佳答案

这是带有 XFA 表单的 pdf 中常见的唯一常规内容。因此,这不是错误,而是通过文本提取来提取的所有内容。

您可以尝试通过itext的表单相关API来提取表单数据。 iText AcroForm API 对 XFA 数据的支持有限,并且还有提取 XFA xml 的方法。

关于java - 请稍等..java itext pdf阅读器中的消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39567736/

相关文章:

java - 关于maven和gradle,如何使用?

java - 为什么在来自 int-jms :outbound-channel-adapter? 的 MQException 的情况下不会调用 errorChannel

java - 就性能而言,: foo. setVisibility(View.GONE) 和parent.removeView(foo) 哪个更好?

java - iText 5.4.2 是开源的吗?

java - 如何使用java itext保存pdf

java - 如何只听数字按键?

Java序列化,writeObject(Object obj) 为什么不用writeObject(Serializable obj)

css - iTextSharp 更改列中所有文本的字体

itextsharp - 如何将书签添加到 pdfpcell

java - 如何使用 itext 打开受密码保护的 pdf