• Post Reply Bookmark Topic Watch Topic
  • New Topic

plz help me.....How to write rtf text in a file

 
danish shaikh
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
i m creating a rtftextEditor.. with bold, italic ,underline, strikethroug features... i want to save the text with this attributes in a file but the strikethrough attribute does not save in the file.

the code for that i write is..

File file=new File(curFileName);
OutputStream fo=new FileOutputStream(file);
rtf.write(fo,doc,0,doc.getLength());
fo.close();

so wat can i do now.plz help me
Regards...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!