Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-30-2008, 01:50 PM
Member
 
Join Date: Jun 2008
Posts: 1
Unite is on a distinguished road
Java Extract PDF data from location XY
Anyone know of any classes that would allow me to input a pdf, convert it into a image format, locate data at XY-XXYY (rectangle) and convert to readable text?
Heres the scenario :
I need to read PDF bills and extract 5 fields worth of information to be inputted into a database. The PDF's can be generated from any application eg : Pastel Accounting. The XY-XXYY locations for the data to be extracted will be called from a database. Any suggestions or help?
I have tried the method of converting to a HTML document and reading the absolute positions but the problem Im having is if a amount is right aligned 1000.00 will have a different XY to 100.00 for example. Aswell because the PDF is a invoice/bill I cant say read the 20th line from the top cause each item will increase the amount of lines so this is unreliable.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-30-2008, 03:31 PM
Niveditha's Avatar
Senior Member
 
Join Date: May 2008
Posts: 299
Niveditha is on a distinguished road
Send a message via Skype™ to Niveditha
Hi,
There are many links to read from and write to pdf. Check the following links
1. Java libraries to read and write PDF files
2. Open Source PDF Libraries in Java - iText
3. "http://www.java2s.com/Code/Java/PDF-RTF/PDF-Read.htm" is just an example.

iText is the most commonly used one.
__________________
To finish sooner, take your own time....
Nivedithaaaa
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Applet Image location MarkWilson NetBeans 3 06-30-2008 09:37 AM
[SOLVED] How to Extract Data From this text file? jazz2k8 New To Java 31 04-18-2008 12:45 PM
Extract Text from PDF File using java TSW1016 Advanced Java 5 01-07-2008 01:03 AM
JFileChooser remember the location Mr tuition AWT / Swing 3 12-08-2007 07:17 PM
how to get the location of some button mary Java 2D 2 08-05-2007 06:02 AM


All times are GMT +3. The time now is 12:23 PM.


VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org