• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Reading and editing PDF in java

 
Balasubramaniam Muthusamy
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Everyone,
I would like to read PDF file and write into another PDF file without changing the font,alignment,images and everything. I may delete or insert few lines based on my validation. Could you please someone help me on this? i tried with pdfbox and itext but i couldn't get it done as they are reading as image. Please help me out.


Thanks
Bala
 
Hauke Ingmar Schmidt
Rancher
Posts: 436
2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PDF is not exactly a format for editing... but you can do manipulations to a certain degree with iText, i.e. you can add blocks or fill out forms.
 
Paul Clapham
Sheriff
Posts: 21416
33
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's possible that whoever produced the PDF you have actually did produce it using images instead of text. In which case converting the images back to text is an extremely difficult task which can't be done by either of those packages.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic