Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
I have this question. I have 5 PDFs having around 38,000 objective questions. So i want to make an application which imports this questions and save it into database and then give interface to the user for choosing question with four objective. I used itextsharp to read from PDFs as a chunk and also line by line. The content after reading is scattered and i cannot figure out a sequence by which i can split or differentiate between the question and the four objectives. Is there any better way by which I can import data from PDFs?? The content in PDFs is in tabular format.

Here is the snapshots of the pdf and the resulting string.
Input Pdf file
resulting string in Window
Posted 11-Oct-12 1:43am
Edited 11-Oct-12 3:16am
v3
Comments
Jörgen Andersson at 11-Oct-12 7:45am
   
Your links don't work.
Pankaj Sinai Nagarsekar at 11-Oct-12 7:52am
   
Please check the link. I ve posted it as a comment. Thanx
Tadit Dash at 11-Oct-12 8:07am
   
This is one bug of Code project as OP has posted the links correctly in the question (we can see it by clicking on "Improve question").
So, I have reported the bug - Image URLs posted in the question don't link to the actual path.
 
Thanks...
Pankaj Sinai Nagarsekar at 11-Oct-12 8:16am
   
The links are working now.
Tadit Dash at 11-Oct-12 9:13am
   
Yes you added "http://" that's why... but without that it is also correct, which was not working in Code Project and it is a bug.
Pankaj Sinai Nagarsekar at 11-Oct-12 9:57am
   
oh.. i see.. thanx for the information @Tadit :)
Tadit Dash at 11-Oct-12 10:07am
   
Anytime...
Currently I am looking answers to your question...
Hope I can help you...
 
Thanks...
Pankaj Sinai Nagarsekar at 11-Oct-12 13:48pm
   
That vl be really helpful @Tadit..
Pankaj Sinai Nagarsekar at 11-Oct-12 7:51am
   
Input PDF file
http://s12.postimage.org/sq1htmh5p/Qbank.jpg
OutPut Window
http://s12.postimage.org/kn3biawkd/Resulting_String.jpg

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

See my previous answer[^] for similar question.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 25 Oct 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100