我正在使用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更新。
答案 0 :(得分:1)
这是通常只有具有XFA表格的pdf的常规内容。因此,它没有错误,但所有都是通过文本提取提取。
您可以尝试通过itext的表单相关API提取表单数据。 iText AcroForm API对XFA数据的支持有限,还有提取XFA xml的方法。