Home

Awesome

rtfToHtml

Converts RTF files into HTML.

This tool has been developed to convert RTF output from Adobe InDesign into (almost) pixel perfect formatted HTML output.

It supports the following features:

The program itself consists of two parts:

Both can be easily extended to add new features and handling of additional RTF control codes.

Command line options

Usage: rtfToHtml [options] rtfFile htmlFile

  Options:

    -h, --help                             output usage information
    -V, --version                          output the version number
    -m, --margins [top,right,left,bottom]  Override margins (twips)
    -w, --width [width]                    Override paperwidth (twips)
    -h, --height [height]                  Override paperheight (twips)
    -va, --vertalign [align]               "top", "center", "bottom"

Contribute

If you like this project and want to support it, show some love and give it a star.

© 2015 Hein Rutjes