5,505 pts.
 Algorithm for parsing a RTF file ? anyone? ?
I need to extract the user entered text from RTF files held within the IFS. Microsoft have a quaint 'specification' which incorporates several 'standards' for the syntax of control words.

Does anyone have any RTF reading code that will run on an IBM i? - doesn't need to produce a print, or do anything but strip out the RTF control groups and keywords.

Thanks

Richard Wilson



Software/Hardware used:
IBM i v5r4
ASKED: June 16, 2011  3:04 PM
UPDATED: June 20, 2011  1:03 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I haven’t done anything with it, but How to Write an RTF Reader provides source (in C) for a RTF reader. It could be more or less converted to ILE RPG or COBOL if C isn’t appropriate.

It seems like as good of a starting point as anything else.

Tom

 107,735 pts.