Hello everyone, I am writing a website application where I allow the user to design components that are to be used (dynamically) in the creation of a PDF letter. For example, the letterhead, footer and body of the PDF letter created may change under certain options.
The control I am utilizing to have the user design the individual components, saves the text entered as HTML (using HTML formatting tags). I've tried using the HTMLWorker to parse the text, but it doesn't strip the HTML Tags, nor does is return the text in any special format that the PDF Writer understand, it's just regular plain text. My question is, does anyone have a sample that I can learn from (if it's even possible) to convert HTML Text into PDF Text, while preserving the formatting? (ie: Paragraphs, Bold, Italics, Font Size, etc...) ________________________ Ben Santiago, MCP Certified & A+ Certified Programmer Analyst (SQL, FoxPro, VB, VB.Net, Java, HTML, ASP, JSP, VBS, Cognos ReportNet) Eastern Suffolk BOCES - Education & Information Support Services 15 Andrea Road | Holbrook, NY 11741 Phone: (631) 244-4223 | Fax: (631) 244-4003 [Description: cid:image001.gif@01CBDCAA.1F6058B0][Description: cid:image002.gif@01CBDCAA.1F6058B0] Important: This electronic mail message and any attached files contain information intended for the exclusive use of the party or parties to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you are not an intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this information may be subject to legal restriction or sanction. Please notify the sender, by electronic mail or telephone, of any unintended recipients and delete the original message without making any copies.
<<inline: image001.gif>>
<<inline: image002.gif>>
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________ 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