PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Tue May 22, 2018 12:17 am

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
PostPosted: Mon Feb 06, 2012 5:08 am 
Offline

Joined: Mon Feb 06, 2012 4:57 am
Posts: 2
Please anyone tell me answer

I am generating a report using html code and string builder now i want to generate that report in pdf format only using
Migra doc .i am facing problem please suggent me .


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 06, 2012 9:31 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2813
Location: Cologne, Germany
malti Tiwari wrote:
i am facing problem please suggent me .
It's no problem to create PDF files with MigraDoc. You have to write code that reads from HTML or create the report directly with MigraDoc.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 06, 2012 9:31 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2813
Location: Cologne, Germany
malti Tiwari wrote:
i am facing problem please suggent me .
It's no problem to create PDF files with MigraDoc. You have to write code that reads from HTML or create the report directly with MigraDoc.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 06, 2012 10:16 am 
Offline

Joined: Mon Feb 06, 2012 4:57 am
Posts: 2
Thomas Hoevel wrote:
malti Tiwari wrote:
i am facing problem please suggent me .
It's no problem to create PDF files with MigraDoc. You have to write code that reads from HTML or create the report directly with MigraDoc.





Plz plz explain me i m not getting


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 06, 2012 10:35 am 
Offline

Joined: Wed Feb 01, 2012 12:58 pm
Posts: 4
hi, Thomas Hoevel,
I have same problem. In my previous projects I was creating reports using HTML Code. First I create a html code and then put that code to asp .net literal control.
But now my PM want me to create same in PDF.
I am using MigraDoc to create new PDF files. But there are a large amount of old HTML reports. I have to convert them to PDF files too. Now I am searching for a soln to convert that html code to PDF files with same formatting.

Is it possible with MigraDoc? or Is there any other soln?


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 06, 2012 11:03 am 
Offline
empira Employee
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 2813
Location: Cologne, Germany
sumit wrote:
Is it possible with MigraDoc?
Yes, but neither MigraDoc nor PDFsharp include code that reads (parses) HTML.
You have to read and analyze the HTML files, using own code or other tools (maybe Internet Explorer can help).

See also:
http://www.pdfsharp.net/wiki/PDFsharpFA ... _to_PDF_10
http://www.google.com/search?q=html2pdf

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 06, 2012 11:11 am 
Offline

Joined: Wed Feb 01, 2012 12:58 pm
Posts: 4
Thanks Thomas for replying.


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 3 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:  
Powered by phpBB® Forum Software © phpBB Group