Currently my project need export report to MS Word , and i choose using RTFTemplate engine to do it. But my problem is I need convert all character to RTF string first . Everyone have experiment with this problem can suggest me ?
Asked
Active
Viewed 2,821 times
2 Answers
2
Yes.
You can use RtfDocument from iText:
new RtfDocument().filterSpecialChar(baos, sentence, true, true);

Danubian Sailor
- 1
- 38
- 145
- 223