How do I set the hyphenation before the chunks are added to the paragraph?

Thanks,
Chad
-----Original Message-----
From: 1T3XT BVBA [mailto:[email protected]] 
Sent: Monday, March 05, 2012 11:27 AM
To: [email protected]
Subject: Re: [iText-questions] Using Hyphenation with XMLWorker

On 5/03/2012 19:00, Chad Snelson wrote:
> Do I need to handle this differently?
Paragraph.setHyphentation() sets the hyphenation for a paragraph for every 
Chunk added to the Paragraph AFTER the hyphenation is set.
In your case, the Chunks are already present in the Paragraph at the moment you 
set the hyphenation, thus setHyphenation() doesn't have any effect.

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers is just 
$99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style 
Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/ Please check the keywords list 
before you ask for examples: http://itextpdf.com/themes/keywords.php

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to