OK, so I'm working-around this issue, and to enhance my work, I extended HTMLWorker (I don't have an XML Worker in my version - 5.1.1, I think).
When I debug a call to addText(String x), and there are unicode characters in the string, it seems that they are stripped from the PDF element output instead of parsed or sent intact. For example, I have a java string like: \u0093This is quoted\u0094 And when I look at the output, there are no quotes around the text; it's as if they never existed. Any hints as to what might be happening here? Thanks, AJ On 1/15/2013 2:27 AM, 1T3XT BVBA wrote: > RTF has been removed from iText in 2009. > HTML Worker has been deprecated in favor of XML Worker. > > On 14/01/2013 20:01, AJ Weber wrote: >> Hi all, >> >> I have the need to basically insert an RTF string -- keeping its >> formatting wherever possible -- to my PdfWriter/Document. A brute-force >> test of just adding the RTF string as a Paragraph's string, doesn't work. >> >> I notice there is a HTMLWorker helper-class that tries to maintain the >> formatting of an HTML string, and was wondering if anyone knew of an RTF >> equivalent? It would seem like something that would be even more >> straight-forward than an HTML formatter (because I assume there only >> exists one "style sheet"). >> >> Interestingly enough, "iText In Action" (2nd ed) has nothing about RTF. >> I guess that was split-off before or during the writing of the book (I >> actually also have a copy of the 1st ed, but can't locate it at this >> minute). >> >> Thank you in advance for any tips& tricks, >> AJ >> >> >> ------------------------------------------------------------------------------ >> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >> MVPs and experts. SALE $99.99 this month only -- learn more at: >> http://p.sf.net/sfu/learnmore_122412 >> _______________________________________________ >> iText-questions mailing list >> iText-questions@lists.sourceforge.net >> 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 > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > 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 ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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