Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problems displaying PDF file content

 
Andres Delrotti
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone hows it going?

I just like to ask a question. Is there anyway to retrieve the contents of a pdf...INCLUDING it's format, arrangement, font styles and font sizes. Currently, we use the itext-2.0.1.jar to read contents of a pdf file and modfy it a bit it show it as a new PDF file using PDFBox-0.7.3.

The thing is..since we're lazy..(hehe, but seriously it's a LOT of work for us), we do not want to again do the reformatting of the pdf content (font style, size, spacing).Is there any way of retrieving the content as it is and displaying it in a new PDF file without doing all the work of reformatting text style, size and spacing to have it look the same as in the original pdf file?

I'd appreciate any form of help. Thanks.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What modifications do you need to make to the file? PDFs can only be altered in very limited ways after they have been generated.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic