FastReport

FastReportsMIT活跃维护

面向 .NET 的开源报表生成库,能在 .NET 6、.NET Core 和 .NET Framework 应用中快速生成报表并导出为 PDF 等文档格式。

Free Open Source Reporting tool for .NET6/.NET Core/.NET Framework that helps your application generate document-like reports

v2027.1.0发布于 2026-10-12 06:26 UTC3,107star +3 / 7 天682fork同步于 2026-11-10 05:41 UTC

怎么上手

从 README 代码块原样提取,可能是其中一种安装方式
git clone https://github.com/FastReports/FastReport.git
硬件要求

README 没有说明硬件要求。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

这个项目的说明还在生成中,先参考下面「最近发版」和 README。

最近发版

5 个版本v2027.1.0
  1. v2027.1.0FastReport OpenSource 2027.1.0最新正式版2026-10-12 · 2026-10-12 06:26 UTC

    [Engine]

    • added GS1 DataBar Expanded Stacked barcode;
    • improved the loading speed of some fpx files;
    • script security updates;
    • fixed a bug with multi-symbol brackets in the Text object;
    • fixed text handling in some East Asian locales;
    • fixed script security issues;
    • fixed incorrect rendering of underline and strikeout styles in some fonts;
    • fixed an incorrect default value of the CommandParameter.Direction property;
    • fixed the ProcessAt behavior on a breakable band;

    [Designer]

    • added vCard versions 3.0 and 4.0;
    • fixed linear barcode text overflow when the text is wider than the barcode;
    • fixed a designer bug when dragging a report parameter;

    [Preview]

    • fixed a bug with editing a preview page when the MirrorMargins property is set to true;
    • fixed the tooltip in the email form;

    [Common]

    • added mapping of MySql types;

    [Extras]

    • added Greenplum database connection;
    • added the FastReport.ReportBuilder plugin;
    • the FastReport.Data.MsSql plugin now uses Microsoft.Data.SqlClient instead of System.Data.SqlClient;
    • fixed MongoDB 3.5.2 breaking changes and assembly conflicts;
  2. v2026.2.0FastReport OpenSource 2026.2.02026-04-07 · 2026-04-07 10:15 UTC
    查看更新说明

    [Engine]

    • added new mode for TextObject.AutoShrink property - FitText;
    • added additional properties required for third party JSON type connections;
    • added linear barcode properties - OneBarWidth, FitDevicePixels;
    • added the ToWords function for Chinese;
    • fixed error with dialog controls data filtering;
    • fixed a bug that prevented temporary files from being deleted when using UseFileCache;
    • fixed duplicate datasource name when creating JSON connection;

    [Designer]

    • added the ability to change the shape of QR-code modules;
    • added the ability to move bands in the designer;
    • the error message is now more informative when the names in the SQL-query are incorrect;
    • the Relation Editor window can now be resized;
    • fixed a bug with visibility of StartReport and FinishReport events;
    • fixed a bug when adding the Report component on a form;
    • fixed a bug when switching to FRX page in the designer;
    • fixed a bug in the DataSource property editor;
    • fixed text overlapping in the query builder;
    • fixed a field naming error in the query builder for Postgres;

    [Preview]

    • added icons to the export menu for items that were previously missing them;

    [Common]

    • added a start/stop character property field to Codabar;
    • fixed the JSON database binding scheme;

    [Extras]

    • added Apache Ignite plugin;
    • fixed a bug when connectiong to JSON Database.
  3. v2026.1.0FastReport OpenSource 2026.1.02025-10-13 · 2025-10-13 10:57 UTC
    查看更新说明

    [Engine]

    • added the ability to select encoding when connecting to an XML database;
    • added support for asynchronous requests in database connectors;
    • supplemented the description of the IsNull function;
    • fixed an assembly loading error when compiling a report script;
    • fixed an error with parameter values ​​being reset to zero when setting them using the SetParameterValue() method;
    • fixed an error with printing table rows and columns with the Printable property disabled;

    [Designer]

    • added support for horizontal scrolling gestures in the designer and report preview windows;
    • added support for the Ctrl key To select multiple objects in the designer (previously, the Shift key was used);
    • added a setting for displaying extended information about the object's position in the designer;
    • added an alternative grid (Alt + mouse) in the designer;
    • added scaling of objects relative to their own center (Shift + corner handles);
    • added transferring fields using drag and drop and double-click in the standard report wizard;
    • added the PaperSizeEqual(...) method for comparing the sizes of paper used;
    • added support for change notifications in the Collection Editor;
    • changed the OpenLink method in AboutForm;
    • changed the calling sequence of the CheckDirectories method;
    • fixed a visibility error for the StartReport and FinishReport events;
    • fixed an error with resizing small objects;
    • fixed an error with displaying the position and size of an object in Designer;
    • fixed a bug with returning the result of an empty parameter expression;
    • fixed a bug with missing icons in the code editor;
    • fixed a bug in the code editor when using snippets;
    • fixed a bug with line offsets when resizing non-diagonal lines in the designer;
    • fixed a bug where Scale, Pointer, and Border were rendered twice for SimpleGauge;

    [Preview]

    • fixed bugs when selecting paper type;
    • fixed the behavior of the "Properties" button in the print window;
    • fixed a bug in the print dialog;

    [Common]

    • fixed a bug where the paper size would reset when changing the printer;

    [Extras]

    • fixed an error connecting to the Linter database.
  4. v2025.2.0FastReport OpenSource 2025.2.02025-04-07 · 2025-04-07 14:50 UTC
    查看更新说明

    [Engine]

    • added support for vertical tabulation
    • added support of encoding for Chinese (simplified) language when converting RTF
    • fixed a bug with simultaneous compilation of a report script when preparing reports in multiple threads
    • fixed a bug when passing null value to a MS SQL query parameter
    • fixed a bug leading to infinite loop when child band of "Page Header" or "Column Header" has "StartNewPage" property turned on
    • fixed a bug leading to System.ArgumentException when connecting to MySQL
    • fixed calculation of PrintableExpression of page
    • fixed a bug leading to System.NullReferenceException in the Report.GetParameterValue method

    [Designer]

    • added a possibility to copy data from the list of properties of an object using the keyboard shortcut Ctrl + C
    • added the ability to copy totals and parameters, preserving their hierarchy
    • in the window for opening the report page, it is still possible to select only a *.frx file
    • fixed a bug where the image of PictureObject disappeared after canceling changes in the designer when editing a prepared page
    • fixed a bug with the search filter in the data tree that reset the current search state
    • removed the "New Dialog" context menu, which when selected resulted in an unhandled exception
    • fixed a bug when running preview from a designer
    • fixed System.InvalidOperationException when deleting a data source column when that column no longer exists in the database
    • fixed a bug with selecting layout of band columns in "Data Band Column Editor" window
    • fixed deleting objects and categories from the sidebar in the designer
    • fixed a bug when adding IsNull function via "Text editor" added an extra comma

    [Preview]

    • added collapse and expand buttons with icons in OutlineControl
    • added the ability to change the width and height of the scroll bar through the code
    • fixed disabling the button to save the prepared report in the preview
    • fixed a bug where the print form did not appear in the preview when pressing Ctrl + P

    [Common]

    • changed width of "About..." window

    [Extras]

    • added connection to Apache Ignite
  5. v2025.1.0FastReport OpenSource 2025.1.02024-10-18 · 2024-10-18 07:36 UTC
    查看更新说明

    [Engine]

    • added PicturesInParagraph property to RichObject;
    • added method for asynchronous report preparation PrepareAsync();
    • added converting of strings to dbtype compatible;
    • added print scale;
    • added decimal conversion to words in ToWords functions;
    • added locale identifier for Spanish is 22538 (Spanish - Latin America) and 3082 (Spanish - Spain (Modern Sort));
    • a new IfNull function has been added for working with expressions. It returns the result of the calculated expression if it is not null, otherwise the specified default value;
    • implemented calculation of horizontal position of pictures in RichObject;
    • added the ability to send a request in the virtual-host-style;
    • added support for text rotation with TextRenderType = HtmlParagraph;
    • added the ability to use header bands for the "PrintOn" property of the Totals;
    • upgraded Oracle.ManagedDataAccess.Core in FastReport.Data.OracleODPCore;
    • methods GetConnection, OpenConnection and Dispose marked as virtual;
    • added null check for incoming value for Hyperlink.Value property;
    • static verification methods TryParse has been introduced into classes of QRCodes;
    • fixed text break issues;
    • fixed page visibility change after PageStart event;
    • fixed conversion to parameter type;
    • fixed checking of the report script for stop-words if it contained in the variable name;
    • fixed visibility of the bottom border of a text object with enabled GrowToBottom;
    • fixed border doubling when the grouped DataBand has the GrowToBottom option;
    • removed rendering of child clipPath tags in SVGPictureObject;
    • fixed a bug in FinishReport event;
    • removed invalid ability to add SubreportObject to ContainerObject;
    • fixed changing the CommandType of the request if it was set in GetAdapter;

    [Designer]

    • added ability to open page as link from another report;
    • added italic, bold, underline and strikethrough font styles to the span tag;
    • added a search in the TreeView by the character entered from the keyboard;
    • added a check for duplicates of downloaded fonts;
    • replaced default property values in the constructors of CurrencyFormat, NumberFormat, and PercentFormat classes from fixed values to values from CultureInfo.CurrentCulture;
    • fixed incorrect position of Amiri, Cambria Math, DejaVu Math TeX Gyre fonts in the font selection drop-down list;
    • fixed a bug leading to System.NullReferenceException when saving borders via Border Editor;
    • fixed incorrect display of SVG-images in the designer;
    • fixed the display of variables declared in one line on the Code tab in the tooltips;
    • fixed page margins length in "ExtraDesignWidth" mode;
    • fixed the length of the Guides in the designer for long reports;
    • fixed a bug where the selected font was not displayed in the drop-down list;
    • fixed incorrect application of data formats;
    • fixed an error leading to System.NullReferenceException when deleting a band with a Subreport object;

    [Preview]

    • added properties Outline.Expand and Outline.Width in PreviewControl;
    • fixed index out of range when previewing empty SvgObject;
    • fixed closing of PreviewSearchForm after clicking the "Next" button;

    [Exports]

    • added the ability to combine all report pages into one when exporting to Excel;
    • added an option to use a custom format instead of general in Excel-export;
    • added strikethrough text formatting to Word-export;
    • added the MemoryOptimized option for Word-export, which enables the use of FileStream instead of MemoryStream;
    • added support for rotating text with TextRenderType = HtmlParagraph when exporting to PDF;
    • format display adjustments - format 'D' and 'MMMM yyyy' are displayed as dates (format 'MM yyyy' if possible), numeric format with negative pattern '-n' is displayed in standard Excel numeric format;
    • changed the export of the PictureObject border as an image in Word;
    • optimized memory consumption when exporting to PDF;
    • changed layout of table export to fixed;
    • fixe

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Visits Badge Created Badge Twitter Follow Channel on Telegram Chat on Telegram

    FastReport Open Source

    What is FastReport?

    FastReport provides free open source report generator for .NET 6/.NET Core/.NET Framework. You can use the FastReport Open Source in MVC, Web API, console applications.

    Image of FastReport

    Features

    FastReport is written in C# and it is compatible with .NET Standard 2.0 and higher. Extendable FastReport architecture allows creating your own objects, export filters, wizards and DB engines.

    Image of FastReport

    Report Objects

    • FastReport is a band-oriented report generator. There are 13 types of bands available: Report Title, Report Summary, Page Header, Page Footer, Column Header, Column Footer, Data Header, Data, Data Footer, Group Header, Group Footer, Child and Overlay. In addition, sub-reports are fully supported.

    • A wide range of band types allows creating any kind of report: list, master-detail, group, multi-column, master-detail-detail and many more.

    • Wide range of available report objects : text, picture, line, shape, barcode, matrix, table, checkbox.

    • Reports can consist of several design pages, which allows reports to contain a cover, the data and a back cover, all in one file.

    • The Table object allows building a tabular report with variable number of rows and/or columns, just like in MS Excel. Aggregate functions are also available.

    • Powerful, fully configurable Matrix object that can be used to print pivot tables.

    • Report inheritance. For creating many reports with common elements such as titles, logos or footers you can place all the common elements in a base report and inherit all other reports from this base.

    Data Sources

    • You can get data from XML, CSV, Json, MS SQL, MySql, Oracle, Postgres, MongoDB, Couchbase, RavenDB, SQLite.

    • FastReport has ability to get data from business objects of IEnumerable type.

    • Report can contain data sources (tables, queries, DB connections).

    • Thus you can not only use application-defined datasets but also connect to any database and use tables and queries directly within the report.

    Internal Scripting

    FastReport has a built-in script engine that supports two .NET languages, C# and VB.NET. You can use all of the .NET power in your reports to perform complex data handling and much more.

    Working with report templates

    You can make a report template in several ways:

    Image of FastReport

    Exporting

    FastReport Open Source can save documents in HTML, BMP, PNG, JPEG, GIF, TIFF, EMF.

    PDF export is available as a plugin. You can see an example of its use here. If this export is not enough for you and you need a full-featured PDF export with encryption, digital signing and fonts embedding - take a look at FastReport .NET Core.

    Report Designer Community Edition

    To edit reports, we made a special report designer build - FastReport Designer Community Edition. The program is intended for use in the Windows operating system and contains all the limitations of the Open Source version. We do not supply the source code of the editor because it is part of the commercial product FastReport .NET. Publishing this program is our good will and our wish. The MIT license does not cover its source code.

    Installation

    FastReport can be compiled from sources or installed from NuGet packages.

    Compilation

    1. Install .NET 5 SDK for your OS from https://www.microsoft.com/net/download
    2. Follow the commands
    # for windows users
    git clone https://github.com/FastReports/FastReport.git
    cd FastReport
    pack.bat
    
    # for linux users
    git clone https://github.com/FastReports/FastReport.git
    cd FastReport
    chmod 777 pack.sh && ./pack.sh
    

    The package is located at fr_packages directory.

    NuGet

    You can add FastReport to your current project via NuGet package manager:

    Install-Package FastReport.OpenSource
    Install-Package FastReport.OpenSource.Web
    

    Extras

    The Extras folder contains additional modules that extend FastReport functionality:

    Examples

    In the Demos folder you can see examples of using FastReport.

    Bug Reports

    See the Issues section of website. When describing the issue, please attach screenshots or examples to help reproduce the problem.

    Contributors

    This project exists because of all the people who have contributed and continue to work on the project:

    @ATZ-FR, @Detrav, @fediachov, @8VAid8, @KirillKornienko, @mandrookin, @ekondur, @Gromozekaster, @daviddesmet, @mjftechnology, @jonny-xhl, @radiodeer, @Des1re7, @araujofrancisco, @conqu1stador, @pietro29.

    Contributing

    Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

    Documentation

    You can read the FastReport Open Source Documentation on the github site or you can read the documentation for the commercial product, amending the functionality limitations.

    License

    Licensed under the MIT license. See LICENSE.md for details. The MIT license does not cover the FastReport Designer Community Edition.

    Resources