• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

itext pdf and textarea values problem

 
vijay jamadade
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

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.
  • Certified Chartered Accountant
  • oracle certyukjsd
  1. sun certified
  2. scjp


strik through test

 



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
 
vijay jamadade
Ranch Hand
Posts: 243
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic