This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes itext pdf and textarea values problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "itext pdf and textarea values problem" Watch "itext pdf and textarea values problem" New topic
Author

itext pdf and textarea values problem

vijay jamadade
Ranch Hand

Joined: May 12, 2008
Posts: 235
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

Regards, Vijay Jamadade.
( Nothing is Impossible.)
vijay jamadade
Ranch Hand

Joined: May 12, 2008
Posts: 235
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: 39576
    
  27
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).


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: itext pdf and textarea values problem
 
Similar Threads
Access & Read Embedded Email Attachments From Existing Email Message
Select & Convert Memory Stream Image to PDF File Using Aspose.Pdf
Removing a href tags using XSL
Generate & Recognize Barcodes from PDF Documents in Java Applications
want to remove this hardcoding Ie &nbsp