PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Jul 18, 2024 3:25 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sun Feb 12, 2012 6:51 pm 
Offline

Joined: Sun Feb 12, 2012 5:33 pm
Posts: 1
I am Using Migradoc to create PDF documents, the problem is dynamic formatting.

I am using CKeditor to create Rich formated text, and getting it as an HTML tag like this :

<p>\n\t< strong>Test</strong></p>\n<p>\n\t<em>Test</em></p>\n<p>\n\t<u>Test</u></p>\n


which is i real :

Test

Test

Test


How can i get that HTML text into PDF Document?


Top
 Profile  
Reply with quote  
PostPosted: Mon Feb 13, 2012 9:31 am 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3101
Location: Cologne, Germany
Here's a code snippet that does it:
http://stackoverflow.com/questions/7421 ... n-migradoc

Have you tried invoking that code snippet with your formatted text?

_________________
Regards
Thomas Hoevel
PDFsharp Team


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

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 39 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:  
cron
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group