Giter Club home page Giter Club logo

rtf2text's Introduction

rtf2text

rtf2text converts rtf files into plaintext. It supports only minimal rtf features and relies heavily on backwards compatibility hints that most complex rtf writers emit.

It has been tested with Cocoa, WordML, and OpenOffice RTF files with a high degree of success.

Areas for improvement

Asian languages are not current supported properly. It probably also doesn't handle Right-To-Left languages or marks properly either. European languages seem to work fine, though.

Support for rtf "destinations" and for tracking control word states is poor, and consequently display tables, lists, and some other document structure formatting features aren't well supported.

Possible new features

With improved rtf destination support and control word state tracking, we could emit markdown, simplified rtf, or other structured text formats (including HTML).

Why would you want to parse rtf and emit RTF? To simplify the document formatting, reducing overall filesize, or strip out undesired advanced features (like embedded shapes or images).

rtf2text's People

Contributors

compenguy avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.