• Post Reply Bookmark Topic Watch Topic
  • New Topic

Parse & Identify Color/Bold text from a RTF File Using Java  RSS feed

 
V Ganesan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a requirement where I need to parse an RTF file using Java and identify lines that have a particular color and are in bold text.
is there any standard Java API that I can use ? If no, is there any other API available to do that.
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aspose has an API for working with .RTF files. http://www.aspose.com
 
Campbell Ritchie
Marshal
Posts: 56227
171
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . and welcome to the Ranch
 
V Ganesan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aspose is a thrid party product.. Do we have any opensource or Java API that can do this ?
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no simple built-in API for reading RTF in Java (I am sure you could use built-in stuff, but you would have to do all the parsing and such yourself, which is what Aspose does for you). As for open source stuff, when you did an internet search what did you find and how did the things you found not suite your needs?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!