-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·60 lines (48 loc) · 1.68 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*Copyright 2001
*
* rtf-converter
*
* Author: Gregory Ford [email protected]
*
* This software was developed for:
* The Ministry for the Environment (NZ)
* As part of the Kaitiaki Web Site Project
* A Sustainable Management Fund Project
*
* RTF token parser based on:
* rtf2html by Dmitry Porapov <[email protected]>,
* based on earlier work of Chuck Shotton.
* distributed under BSD-style license
* RTF token lists and hashing algorithm based on
* RTF Tools, Release 1.10
* 6 April 1994
* Paul DuBois [email protected]
*
* Copying permitted under GNU licence (see COPYING)
*/
README
======
The rtf-converter is a standalone executable.
It is intended for command-line conversion of rtf to
html. It produces only the html body code which will need
to be wrapped in "body" tags and given an html header.
It attempts to produce HTML 4.0 (strict) compliant html code.
The fonts, colours and indenting are not converted, so that
style-sheets may be used to set the look and feel of the
generated pages.
Instructions for making and running the application
are given in the INSTALL document.
Initial development was done on WinNT (Visual C++) so it should
compile on most Windows and *NIX versions.
The rtf-converter does the following conversions:
Heading and normal styles --> H and P tags
Character styles --> b, i, u
Tables --> html tables
Footnotes -->placed at end of document
The rtf-converter does not do:
Graphics
Fields (beware hyperlink and page number fields may be lost).
Indenting
As the converter throws away all font information, it also
tends to convert bullet points from Symbol fonts to ordinary letters.
13 May 2001