5

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 ?

tandaica0612
  • 369
  • 10
  • 23

2 Answers2

2

Yes.
You can use RtfDocument from iText:
new RtfDocument().filterSpecialChar(baos, sentence, true, true);

Danubian Sailor
  • 1
  • 38
  • 145
  • 223
0

POI

is an apache project that help works with MS Office format.

secmask
  • 7,649
  • 5
  • 35
  • 52