Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/docs/rtftohtml/rtftohtml-1.html
Дата изменения: Sat Aug 24 03:17:49 1996
Дата индексирования: Tue Oct 2 01:53:51 2012
Кодировка:

Поисковые слова: annular solar eclipse
rtftohtml Users Guide - 1 An Overview of rtftohtml << , >> , Title , Contents , Index

1 An Overview of rtftohtml

rtftohtml reads up RTF format documents and translates them to HTML. In processing text, the filter chooses HTML markup based on three characteristics . These are

  1. The destination  of the text. Example destinations are header, footer, nootnote, picture.
  2. The paragraph style . Paragraph styles are user-definable entities, but some are pre-defined by the word processing package. For Microsoft Word (on the Macintosh) examples are "Normal" and "heading 1".
  3. The text attributes . Examples of text styles are bold, courier, 12 point.

The filter has built-in rules for dealing with destinations. For paragraph and text styles, the rules for translation are contained in a file called html-trans  (see Section 5.1). By modifying this file, you can train rtftohtml to perform the correct translations for your documents. The most common change that you will need to make is to add your own paragraph styles to html-trans.

rtftohtml should produce reasonable HTML output  for most documents. Here is what you can expect:


<< , >> , Title , Contents , Index