This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Read the pdf file using java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Read the pdf file using java" Watch "Read the pdf file using java" New topic
Author

Read the pdf file using java

Megan James
Greenhorn

Joined: Nov 21, 2008
Posts: 11
could any one help me how to read the pdf file with the corresponding font family, stlye and size using JAVA.
Daron Tan
Greenhorn

Joined: Jun 02, 2008
Posts: 16
You can try apache pdfbox
But there could have some issue if you want to edit the file


SCJP 5.0, SCWCD 5.0, SCBCD 5.0, SCDJWS 5.0
Megan James
Greenhorn

Joined: Nov 21, 2008
Posts: 11
could give the sample code for convert pdf text to String using java with the font style and size.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
I don't think there's a Java library that provides access to layout and styling information of a PDF file. The best that can be done is to extract the text; both JPedal and PDFBox can do that.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Read the pdf file using java
 
Similar Threads
convert to pdf file format
API for reading/writing PDF in java
Read Word/PDF
Reading PDF file
Can I read already pdf file