我正在使用 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/