• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

itext pdf and textarea values problem

 
Ranch Hand
Posts: 258
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 258
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>

 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic