This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I have created a text editor using javascript which can format data entered in the textarea. After submit i am sending that value as a a string to add in the database alongwith the tags e.g
Mr., Ajay Mirani has over 8+ years of total industry experience which is inclusive of: 5 years in Implementi<em>ng ERP applications (JD Edwards), More th</em>an 2 years in auditing, Implemented JD Edwards EnterpriseOne Xe. Highly self-motivated and able to set effective priorities to achieve<strong> immediate & long-term goals</strong> and meet project & operational deadlines. Excellent oral and written communication skills with outstanding interpersonal skills.
This i insert as a string but i want to display this string as i entered in the pdf document. I want to format the data as per the tags i have added above. Please tell me how i can provide or display this data in the pdf because i-text however going to consider it as a string.
Any comments guys
Regards, Vijay Jamadade.
( Nothing is Impossible.)
vijay jamadade
Ranch Hand
Joined: May 12, 2008
Posts: 224
posted
0
actually the string i entered got formatted after post.
I am resending it for preview
Mr., Ajay Mirani has over 8+ years of total industry experience which is inclusive of: 5 years in Implementi<em>ng ERP applications (JD Edwards), More th</em>an 2 years in auditing, Imple<u>mented JD Edwards EnterpriseOne Xe. Highly </u>self-motivated and able to set effective priorities to achieve<strong> immediate & long-term goals</strong> and meet project & operational deadlines. Excellent oral and written communication skills with outstanding interpersonal skills.<br /><ul><li>Certified Chartered Accountant</li><li>oracle certyukjsd<br /></li></ul><ol><li>sun certified</li><li>scjp</li></ol><p><br /><strike>strik through test</strike></p><p> </p>
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35243
7
posted
0
iText has no provisions for converting HTML to PDF directly. The easiest may be to render the HTML in a Swing component (like the HTMLEditorToolkit that's part of the standard class libraries), and then render that into a PDF (which iText can do).