I am writing application which gets questions from pdf format and converts it into moodle format. However, i have a problem. How can I read pdf file so that text and images will be extracted and there will be references for this images in text?
For example, if I read the question from pdf with picture i will get
text:
QUESTION 2
View the Exhibit to examine the description for the SALES table. Which views can have all DML operations performed on it? (Choose all that apply.)
[image.jpg]
A. CREATE VIEW v3 AS SELECT * FROM SALES WHERE cust_id = 2034 WITH CHECK OPTION;
B. CREATE VIEW v1 AS SELECT * FROM SALES WHERE time_id <= SYSDATE - 2*365 WITH CHECK OPTION;
C. CREATE VIEW v2 AS SELECT prod_id, cust_id, time_id FROM SALES WHERE time_id <= SYSDATE - 2*365 WITH CHECK OPTION;
D. CREATE VIEW v4 AS SELECT prod_id, cust_id, SUM(quantity_sold) FROM SALES WHERE time_id <= SYSDATE - 2*365 GROUP BY prod_id, cust_id WITH CHECK OPTION; Answer: AB Section: (none) Explanation/Reference:
and image.jpg with picture of table will be saved in the specified folder.
Thanks for any help in advance. =)