• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to detect a bookmark in a rtf file  RSS feed

 
Anirban Roy
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to detect a bookmark in a rtf file and then copy the section beyond that book mark till we come across another bookmark.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you need to extract the text between bookmarks, or the RTF between them? I'm not aware of a library that can read RTF and handle it as text. RTF is pretty structured, though, so you could parse the file yourself, and look for the bookmark tags.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!