2016-09-19 6 views
1

に私はPDFファイルからデータを読み取るためのJava iTextのPDFファイルリーダーを使っていますが、私はプログラムを実行すると、私はメッセージがJava iTextのの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

他の読者Adobe Readerは、インタラクティブフォームに大きな問題を抱えています。そして、通常は失敗すると、それについてはあまりできません。 –

答えて

1

これは通常、XFA形式のPDFの通常の内容のみです。したがって、エラーではありませんが、すべてテキスト抽出によって抽出されます。

フォームデータは、フォームの関連APIを使用して抽出できます。 iText AcroForm APIはXFAデータのサポートが限られており、XFA XMLを抽出するメソッドもあります。

+0

ありがとうございます。その働き。私はXML形式でデータを抽出することができます。 – hrishi