在java中将PDF数据转换为excelsheet
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9767376/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Convert PDF data into excelsheet in java
提问by user1127214
I need to convert PDF file into Excelshet in java.is there any available thridy party liberaris or API in java?
我需要在java中将PDF文件转换为Excelshet。java中是否有可用的第三方liberaris或API?
采纳答案by vikiiii
There are API's availabe to read data from PDFand to write it into excel sheet.
有 API 可用于从PDF读取数据并将其写入Excel 表。
To read data from from pdf , you can use ITEXT.
要从 pdf 读取数据,您可以使用ITEXT。
And to write data to excel sheet , you can use Apache-POI.
要将数据写入 Excel 表,您可以使用Apache-POI。
P.S - There should not be any images in the PDF.
PS - PDF 中不应有任何图像。
Simple text and tables can be easily read from PDF and can be written in excel sheet.
简单的文本和表格可以很容易地从 PDF 中读取,并且可以写入 Excel 表格中。