LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2009, 06:57 PM   #1
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
pdf table to html table?


the problem is simple, i have a pdf document that is essentially a table of data that i need parsed into an html table, i know there is pdftohtml but that converts using <div> tags and i need it to be a table (<th>,<td> etc...) is there any way of doing that and if so how?
 
Old 02-14-2009, 06:40 PM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
If you are familiar with a scripting language it is not a problem. In perl you could use PDF::API2 module among others to parse the pdf and transform it to html. In php there is fpdf.org.
Why do you need this table-style html?
 
Old 02-14-2009, 06:43 PM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Another way is pdf --> txt --->(Gnumeric) --> table in various formats
 
Old 02-14-2009, 07:04 PM   #4
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Original Poster
Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
Quote:
Originally Posted by j-ray View Post
If you are familiar with a scripting language it is not a problem. In perl you could use PDF::API2 module among others to parse the pdf and transform it to html. In php there is fpdf.org.
Why do you need this table-style html?
i am using a site that keeps track of inventory and it outputs reports as a pdf, i'm looking for a way to convert the pdf table into a form that can be processed by a php script (such as an array)
 
Old 02-14-2009, 07:21 PM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
the fpdf library only supports generation of pdfs not the parsing. Sorry, no idea in php. (I had thought it could both) If you can switch to perl you are done soon...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
access paging table memory using another page table via MMU? valpa Linux - Kernel 8 08-26-2008 04:26 PM
Howto insert a pdf document into a mysql table jadewarrior Linux - Server 4 02-23-2007 06:18 AM
changing an HTML table with javascript eantoranz Programming 2 10-29-2004 01:21 PM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 12:30 PM
html page layouts with a table acid_kewpie Programming 5 06-20-2003 06:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration