Converter from Microsoft Word (.docx) format to FastReport .NET (.frx) file

2025-04-08

Modern data processing technologies and document workflow automation require the integration of various file formats to ensure seamless interaction between software products. With its extensive capabilities, Microsoft Word has become one of the most popular text editors, suitable for a wide range of tasks.

At times, you may need to convert these documents into formats specific to other applications. For instance, there are situations where you need to convert Microsoft Word files into the FastReport .NET format, which is used for creating report templates when working with FastReport.

 


 

How to Compile the Project

First, open the .sln file named FastReport.OOXMLImportPlugin.sln. Note that there are two such files for Visual Studio 2017 and above. Then, remove the references to the FastReport and FastReport.Bars projects as shown in the screenshot below.

Open the Project in Visual Studio

 

After that, you need to add a reference to FastReport.dll. This DLL is located in the same folder as the Designer.

Reference to FastReport.dll Has Been Added to The Project

 

Right-click in the workspace and click "Build." After that, navigate to the path FastReport.OOXMLImportPlugin\bin\Debug\net472 and you will find the compiled file “OOXMLImportPlugin.dll” in that folder.

Compiled Project


 

How to Register the DLL in FastReport

You can do this in several ways.

Method 1: Register using the FastReport Development Environment

Open the report designer, then go to the "File|Settings..." menu in the Ribbon interface (or "View|Settings..." in the standard interface).

Navigating to the Settings Section from the Report Designer

 

Next, in the "Plugins" tab, add FastReport.OOXMLImportPlugin.dll.

"Plugins" Tab in the Report Designer Settings

 

After that, restart the FastReport .NET designer. If you are working in the Visual Studio IDE, be sure to restart it as well. Once the designer is launched again, click "File|Open" and select "Microsoft Word Document (*.docx)" from the list of available files, as shown in the screenshot below.

Microsoft Word Document

 

Select the desired *.docx file to import into FastReport .NET. As a result, you will see the imported file in the designer.

Open the Imported File

 


 

Method 2: Manually Edit the FastReport.config File

By default, this file is located in the folder C:\DocumentsandSettings\user_name\Local Settings\Application Data\FastReport. Make sure to close all running instances of FastReport .NET. Only after that, open the configuration file in any text editor and change it as follows:

<?xml version=«1.0» encoding=«utf-8»?>
<Config>
 ...
<Plugins
<Plugin Name=«c:\.....\ OOXMLImportPlugin.dll»/>
</Plugins>
</Config

 


 

Method 3: Register the DLL Programmatically

For this, you will need to add an "OOXMLImportPlugin.dll" reference in your project, as shown below.  

Adding the Reference to the Project

 

Then, execute the following code once when the application starts:

FastReport.Design.DesignerPlugins.Add(typeof(FastReport.Design.ImportPlugins.OOXML.DocxImportPlugin));

Adding New Code to the Project

 


 

How to Register the NuGet Package FastReport.Plugins.OOXMLImport in FastReport

First, install the NuGet packages FastReport.Net and FastReport.Plugins.OOXMLImport from our private NuGet server. Installation instructions are available at this link. 

NuGet Packages Added to the Project

 

Next, you need to register the plugin using the following code:  

FastReport.Design.DesignerPlugins.Add(typeof(FastReport.Design.ImportPlugins.OOXML.DocxImportPlugin));

Adding New Code to the Project

 

Run the application, then click "File|Open" and select "Microsoft Word Document (.docx)."

Microsoft Word Document

 

Select the desired *.docx file to import into FastReport .NET. As a result, you will see the imported file in the designer.

File Imported from .docx

 



Known Limitations as of the Release of Version 2025.2.0

As of now, our plugin does not support background highlighting of part of a line, shapes, as well as nested vector graphics (Vector Markup Language, VML), and OLE objects.
Sometimes, empty pages are added to the resulting report. If you encounter this issue, please contact our technical support at support@fast-report.com.

 


 

Conclusion

Thus, the developed converter from .docx to .frx is an important step in simplifying the automation of document handling processes and report generation. It significantly reduces the time required to create report templates by using ready-made Word files. 

It’s important to remember that the structures of the two file formats are different and cannot just be swapped into one another. You need to take into account the file structures and adjust everything to fit the required format to ensure that the data is accurate and the formatting is preserved. For guidance on how to prepare the document so that it retains its proper structure, please refer to this material.

.NET Export FastReport Designer Report Converter Word
October 13, 2025

New Features for Exporting Images to Microsoft Word in FastReport .NET

In the latest version of FastReport .NET we have added new image export features. Now you can independently adjust the balance between the quality and size of the final document.
October 13, 2025

How to Use Excel Formulas in a Report When Exporting to MS Excel

Starting with version FastReport .NET 2026.1, it is now possible to export formulas to Microsoft Excel. It is important to set up formula exports correctly and follow the syntax.
September 23, 2025

How to Export a Report to JPEG / PNG / BMP / GIF / TIFF / EMF from FastReport .NET

In this article, we will look at how to easily and efficiently export reports from FastReport .NET in JPEG, PNG, BMP, GIF, TIFF and EMF.

© 1998-2025 Fast Reports Inc.