Underlining is a simple matter of making a call to setUnderline or some such. This was just covered this week on another thread.
'Bold' on the other hand is a separate font from 'regular'. You just switch fonts as needed. As to the rest, you'll have to do the string parsing yourself. --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer<Cardiff> DisCard = null; > -----Original Message----- > From: prithvi.s [mailto:[email protected]] > Sent: Wednesday, October 13, 2010 2:25 AM > To: [email protected] > Subject: [iText-questions] Textile Markup Using iText > > > Dear all, > > I have a specific requirement for a textile markup using > iText. I will try define the scenario i am facing. > > I will have a simple POJO about a CV. Using this CV object, i > need to generate the layout of the CV using iText. Please see > the attached CV for reference. Now if we see the CV inside, > the section having the heading named UPPDRAG. It is bold and > then all other fields are following. > The client says he has designed the data-set as for example > > ** for bolds and _ _ > > Means that whenever i encounter something like ** and __, it > will change to particular format and do. Is there any way to > do such a textile markup in iText. > > Hope i am not vague providing my question. > > Best Wishes, > Prithvi > http://itext-general.2136553.n4.nabble.com/file/n2993401/Ricka rd_Sundin.pdf > Rickard_Sundin.pdf > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/Textile-Markup-Usin g-iText-tp2993401p2993401.html > Sent from the iText - General mailing list archive at Nabble.com. > > -------------------------------------------------------------- > ---------------- > Beautiful is writing same markup. Internet Explorer 9 > supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, > and DOM L2 & L3. > Spend less time writing and rewriting code and more time > creating great experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > 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 > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.862 / Virus Database: 271.1.1/3192 - Release > Date: 10/12/10 11:37:00 > ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions 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
