added rich text viewing from doc files