Instant report from RTF

2021-10-20

FastReport .NET

Few people know that FastReport .NET report generator allows you to quickly convert an RTF document into any other format supported by the FastReport .NET report generator.

For example, you have a number of documents in RTF format and you would like to convert them into another format or just create electronic report based on them. Now the process of a report creation becomes much simpler – you actually have a ready document. Let us see how it works by an example.

Take an original RTF document:

The original RTF document

This invoice is a good example of a document which can be transformed into a report.

Start the report designer and open the RTF document in the menu File->Open. By default, the dialogue window has an installed filter for frx files – this is a standard template for reports. Change the filter for “Rich Text file (*.rtf)”.

Selecting a file type in the “open” dialogue

In a short time, the file will be transformed into a report template:

The report template converted from RTF

As you can see, the template largely looks like the original document, but with a little effort it can be improved. Let us change the text color and formatting and relocate some items to make the template look very much like the original:

The corrected report template

Undoubtedly, perfection knows no limits, and you may spend more time to make the template ideal. But we will stop at the current variant.

Now let us look at the report in the preview regime:

The report built from the converted RTF template

That is rather fine. Now let us export it to HTML format, for example:

Exporting the report built from the converted RTF template

Thus, the report template built from the converted RTF can be exported to almost any format available in FastReport .NET. Exporting to PDF is not available yet. We hope to correct it in the near future.

It should be noted that the RTF documents created in MS Word may have a significant amount of metainformation which will be interpreted incorrectly when transformed into a report template. Thus, it is better to create RTF files in other text editors, such as MS WordPad.

August 12, 2024

How to build and install the Postgres plugin in FastReport .NET

This article describes how to connect to the database using the FastReport .NET plugin for the report designer from Visual Studio via the NuGet server.
August 08, 2024

How to install FastReport .NET and its components on Windows

Step-by-step instructions for online and manual installation via the FastReport registration code.NET and its components in Windows.
July 26, 2024

Updating HTMLObject as a plugin for FastReport .NET

Detailed instructions for using the new HTMLObject plugin, which uses splitting DOM HTML into FastReport report objects.
Fast Reports
  • 800-985-8986 (English, US)
  • +4930568373928 (German)
  • +55 19 98147-8148 (Portuguese)
  • info@fast-report.com
  • 901 N Pitt Str #325 Alexandria VA 22314

© 1998-2024 Fast Reports Inc.