 
 

RTF2FO converts RTF document (for example, MS Word 2000 document saved as Rich Text Format) into well-formed XML document in line with the XSL FO specification. Below is the list of supported RTF features. The list is not full. We are constantly improving our product and if you don't see the functionality you need, there is a possibility that we have already solved this problem or are about to solve it, so do not hesitate to contact us with your requirements and suggestions.
Page formatting support
- Mixed page layout (portrait and landscape, mirror margins and gutter);
- Page headers and footers of all types;
- Page layout options: margins, page size;
- Section breaks of all types;
- Custom restart of section page numbers;
- Suppress empty page on page-number restart;
- Footnotes: custom and Arabic numbering labels, custom footnote separators;
- Watermarks (document background images);
- Document columns with identical widths and gaps (the XSL FO specification does not support columns with different widths and different gaps between columns);
- Paragraph pagination: widow/orphan control, keep together, keep with next;
- Page/column breaks before or after a paragraph.
Text formatting support
- Customizable font substitution rules;
- "Symbol" and "ZapfDingbats" fonts are supported for all renderers;
- Font family and size, superscript and subscript (exact font metrics);
- Allow strict rendering of small caps;
- Character raising (except compatibility with FOP);
- Font style and weight (bold, italic, underline, etc.);
- Font color and background color (auto color);
- Color shading of table cell and text (patterns are replaced with mixed color);
- Color shading of paragraphs in Word style;
- Borders surround of groups of paragraphs with identical formatting;
- Paragraph alignment and margins;
- Paragraph line spacing (sophisticated selection of line stacking strategy);
- Space before and after a paragraph;
- Lists of all formats;
- All useful special RTF symbols;
- Preserving of white spaces (except compatibility with XEP);
- Line breaks.
Tabs support
- The rendering is applied for calculation of true position of the text with tabs;
- Multiple tabs of all types in the first line and the single "right" tab in the last line of multi-line paragraph are allowed.
Templates
- Splitting an XML FO file into an XSL template and an XML data file is granted;
- Fields of "DOCPROPERTY" type can have a special use in RTF2FO;
- Data extraction by style is allowed;
- Template cycles in tables and lists are allowed.
Miscellaneous
- Full implementation of tables (except slanted borders);
- Height of table rows and vertical alignment of text in table cells;
- Almost all field types are supported;
- Pictures of any graphic format provided with RTF Specification 1.7;
- Plug-in interface for converting pictures' formats on the fly;
- Support of non-grouped textboxes;
- Configurable multilingual support (23 RTF code pages and 17 font character sets are supported);
- Links (e.g. in table of contents) and hyperlinks;
- Track changes support: revised text is marked with red color and deleted text is marked with red color and line-through decoration;
- Hiding of track changes is allowed;
- User-defined preferences can be applied to fo:root;
- Import additional information from RTF to XSL FO ("rtf-info" option);
- Output plug-ins (e.g. FO to PDF renderers) can be applied to fo-output on the fly;
- Document information is shown in template preparing mode;
- The RTF DOM API is available;
- More low-level conversion methods;
- A filter can be applied before conversion of RTF DOM to XSL FO;
- The "show-rtfdom" option allows serialize an RTF DOM to an external ".dom.xml" file;
- New parser configuration options are added;
- The RTF2FO GUI improvements: hints, extended configuration, auto-selection of compatibility model.
Since version 3.0, the RTF2FO is based on a new our RTF Parsing Solution --- The RTF DOM Builder. The builder is developed in concordance with RTF Specification 1.7 and recognizes more than 600 RTF commands now. More detailed specification on using RTF commands in RTF2FO is explained in RTF2FO User's Guide.
Our RTF DOM Builder constructs an RTF Document Object Model reflecting the structure of rtf file. While reading an rtf document, the builder correctly interprets many rtf commands and fills the RTF DOM with corresponding objects. Using of RTF DOM has the following benefits:
- The constructed RTF DOM is much simpler in use than the original rtf document;
- The RTF DOM entirely reflects the structure of rtf document in the set of commands, which are interpreted;
- The quality of the constructed RTF DOM is guaranteed;
- If an rtf document has logical errors or some rtf-commands are used in inappropriate places, the builder tries to recover errors and constructs a well-structured RTF DOM;
- The RTF DOM is light. It contains only necessary relations between objects;
- The default serialization of RTF DOM to XML is granted.
- Tabs rendering is applied to fonts known in Java. If graphics could not be initialized, tabs rendering is turned off. So, if X11 is not supported under Linux, the tabs rendering is forbidden.
- RTF format supports different column gaps (e.g. 12 pt between first and second column and 24 pt between second and third column) but XSL FO does not. So "column-gap" is set equal the average gap width.
|

You can buy RTF2FO converter by either:
Filling out the online purchase form via RegSoft,
or
Faxing your order to +1 (707) 9220104,
or
Emailing your order to sales@rtf2fo.com
|
|