PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Mon Jun 17, 2024 7:21 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: PDF to excel
PostPosted: Mon Nov 05, 2012 12:44 pm 
Offline

Joined: Mon Nov 05, 2012 12:40 pm
Posts: 4
I have pdf document which consists of table and contents.I wanted to export it to excel.
using pdfsharp how it is possible?


Last edited by kamii47 on Tue Nov 06, 2012 11:33 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PDF to excel
PostPosted: Mon Nov 05, 2012 2:55 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
Just extract the text and put it into Excel tables.
It could be more easy with other PDF libraries.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: PDF to excel
PostPosted: Mon Nov 05, 2012 3:03 pm 
Offline

Joined: Mon Nov 05, 2012 12:40 pm
Posts: 4
Hi Thomas,
Thanks for the reply.Is there any sample there for it.
What i needed is that i have a folder where PDF files are copying.At the file receive event i wanted to generate the the excel of that pdf. [currently i were making txt file via pdftotxt third party component]


Top
 Profile  
Reply with quote  
 Post subject: Re: PDF to excel
PostPosted: Mon Nov 05, 2012 3:36 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
PDFsharp FAQ wrote:
Can I use PDFsharp to extract text from PDF?
This can be done at a low level. You can get at the characters in the order they are drawn - and most applications draw them from top-left to bottom-right. There are no high-level functions that return words, paragraphs, or whole pages.
We (empira) have no samples for that purpose and I cannot help you.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: PDF to excel
PostPosted: Tue Nov 06, 2012 4:52 am 
Offline

Joined: Mon Nov 05, 2012 12:40 pm
Posts: 4
Ok thanks Thomson.
Any body else can help me in this?


Top
 Profile  
Reply with quote  
 Post subject: Re: PDF to excel
PostPosted: Tue Nov 06, 2012 8:41 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3100
Location: Cologne, Germany
Have you tried the link in my first post?

See also:
viewtopic.php?p=4010#p4010
http://stackoverflow.com/a/9161732/162529

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
 Post subject: Re: PDF to excel
PostPosted: Tue Nov 06, 2012 9:14 am 
Offline

Joined: Mon Nov 05, 2012 12:40 pm
Posts: 4
Hi Thomas,
I have read the link but not able to move froward with it as i were not able to understand that how I will extract text and maintain the cell and row and column information


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 144 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group