• Post Reply Bookmark Topic Watch Topic
  • New Topic

Excel to PDF in Java  RSS feed

 
puneet walia
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Would like to Convert entire excel file to its equivalent PDF file in Java

Looking for quick and immediate solution.

Open Java libraries didn't work out easily
 
Tim Moores
Saloon Keeper
Posts: 4034
94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a number of ways, involving various libraries, that you could use, depending on your circumstances. None works for all use cases, and most definitely not "immediately", so you may be out of luck. But it would help if you told us more details about what you need to accomplish, what exactly you have tried, and how that didn't work.
 
Anil KumarVerma
Greenhorn
Posts: 7
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Think of your problem as a two step problem.
First read the excel file. You can do this using Apache POI.
And then write the data into PDF. You can use iText or PDFBox.
 
Dave Tolls
Ranch Foreman
Posts: 3064
37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What counts as an "equivalent PDF file"?

If you have an xlsx file with a hundred columns, a thousand rows and a dozen sheets, what should that look like in a PDF?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!