PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Sun Jun 30, 2024 4:23 pm

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: Fri Sep 14, 2012 6:10 am 
Offline

Joined: Fri Sep 14, 2012 5:57 am
Posts: 1
Hello,

I have a created a very simple report using PDF Sharp and Migra Doc dlls found in WPF. I have a table created using MigraDoc.DocumentObjectModel.Tables.Table. I have added 4 columns using AddColum and then added Rows and Cells. Each of the cell is populated with a Paragraph element with text fecthed from DB. One of the cell has large text without spaces in it because of which the text overflowed outside of the report. I have not found any option for setting to the Paragraph element to forcibly break at the Table border in the report. Please suggest me some options.

Regards,
Naveen


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 14, 2012 9:35 pm 
Offline
PDFsharp Expert
User avatar

Joined: Wed Dec 09, 2009 8:59 am
Posts: 343
Hi!

MigraDoc will break long words at soft hyphens (Alt+0173). So parse the paragraph text for extremely long words and insert soft hyphens (e.g. after the 10th, 15th, 20th, 25th, ... character).

_________________
Öhmesh Volta ("() => true")
PDFsharp Team Holiday Substitute


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: Bing [Bot] and 51 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