Implemented the writer using an existing RTF writer library.