This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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!