This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Problems displaying PDF file content Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problems displaying PDF file content" Watch "Problems displaying PDF file content" New topic
Author

Problems displaying PDF file content

Andres Delrotti
Ranch Hand

Joined: Aug 11, 2005
Posts: 136
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
Marshal

Joined: Mar 22, 2005
Posts: 41125
    
  45
What modifications do you need to make to the file? PDFs can only be altered in very limited ways after they have been generated.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problems displaying PDF file content
 
Similar Threads
Display pdf file contents through jsp
Convert PDF into HTML
Converting Excel Workbook to PDF
MenuItem font setting
convert PDF file into DOC file