Version 2024.2
ReportPage object's CreatePage event
The ReportPage has a StartPage event, which is triggered before the page is rendered. This event is called once for each template page in the report. Now, there is a new event called CreatePage, which is triggered when a page is created in the prepared report. Unlike StartPage, it is called more frequently, for each prepared page that corresponds to a template page. Both events can have their handlers assigned, allowing you to perform actions in addition to the standard ones.
Read more about CreatePage in the article.
Export improvements in Word 2007
Word export has undergone significant changes. Its performance has been improved, resulting in faster operation. New options have been added, such as "Keep Line Height" and "Use Headers and Footers of Word Pages". Additionally, we have fixed various bugs that had a significant impact on the functionality of the export.
Export of hyperlinks and bookmarks to SVG
With this update, hyperlinks and bookmarks of report objects are also exported to SVG format images.
Support for PostgreSQL functions and views
When connecting to Postgres databases, you have the ability to use function and view data in your reports. To do this, use the FastReport.Data.Postgres plugin.
Removal of support for .NET Core 2.0, 2.1, 2.2, 3.0, 3.1, .NET 5.
To cover an increasing number of technologies continually being added to the .NET world, we have decided to drop support for the outdated .NET Standard 2.0 - 3.1 and .NET 5 compatibility layers in our libraries. The minimum supported version is now .NET 6, and the minimum supported framework is .NET Framework 4.6.2. In this regard, the target framework for the FastReport Desktop is net6.0-windows now.
Read more about the changes in the news.
Full list of changes
[Engine]
+ added CreatePage event for the ReportPage object;
* now, when converting RTF, insignificant spaces after tabs are discarded;
- added exception handling if the contents of the RichObject are incorrect;
- removed top and bottom padding when splitting TextObject between pages;
- fixed vertical indents in RichObject;
- fixed the display of a row following a row with a column union;
- fixed an exception when preparing a report with a TableObject containing MSChartObject;
- fixed loss of spaces in the RTF parser;
- fixed display of the bottom border line when using GrowToBottom;
- fixed support for the Portuguese language in the RTF parser;
- fixed a bug when the Report.IsPrepared parameter returned an incorrect value when preparing a report asynchronously;
- fixed translation of RichObject to TableObject;
- fixed error when printing with different pages selected;
- fixed IndexOutOfRangeException when executing Graphics.Path.AddBeziers;
- fixed vulnerability with the ability to call JS code from a hyperlink;
- fixed default tab setting when converting RTF;
[Designer]
+ added the Contains (string , string) function, which determines whether a string contains a substring;
* changed the text of the warning message about duplicate parameter names in the query wizard;
*replaced the error with a warning form about parameters with the same names in the SQL query;
*changes in SwissQR: the processing of the "Amount" field has been changed; the "Currency" field is now a text field; added processing of data from the database in the fields of information about the Recipient, Payer and in the "Link" field;
- fixed Datamatrix brush color;
- fixed errors in the PictureObject editor;
- fixed a bug in the format editor;
- fixed a bug when resizing the dialog form;
- fixed the drawing of a rotated ITF14 barcode;
- fixed a bug with the operation of the "select all" keyboard shortcut;
-fixed a bug in resetting the format when changing an expression;
- fixed errors with the separation of source data into lines, both separator options (\r\n and \n) are now supported;
- now during the QR code generation process, extra \r\n characters at the end of the line are removed;
- fixed NullRreferenceException when editing the SelectCommand of the data source table;
- fixed text scrolling in AdvMatrix;
- fixed context menu of the RFIDLabel object;
- fixed the band title in the classic band display mode;
- fixed a problem when using the hh:mm time format;
- fixed a bug leading to System.NullReferenceException when connecting to JSON;
- fixed a bug when resizing objects while holding down the Shift key;
- fixed an exception that occurred when using DontEditCode;
- fixed incorrect behavior of lines when changing the Height property for a horizontal line or the Width property for a vertical line if the Diagonal property is set to False;
[Preview]
- fixed a bug with the search dialog in the preview;
- fixed rendering of report objects outside the page;
- fixed incorrect display of superscript or subscript text for RichObject if such text is at the beginning of the line;
- fixed display of vertical paddings in preview when using the LineHeight property;
[Exports]
+ added the option "Use Headers and Footers of Word Pages" when exporting Word;
+ increased speed of export to docx;
+ added the "Keep Line Height" option to export to Word 2007;
+ added export of hyperlinks and bookmarks to SVG;
- fixed error in exporting a rotated svg image to pdf;
- fixed a bug when images with a transparent background were incorrectly exported to PDF of the PdfA_1a standard in FastReport.Skia;
- fixed font reset in an empty cell after exporting a report to Word;
- fixed a bug with incorrect export to a JSON file;
- fixed a problem with exporting to Word 2007 when using a watermark and the "Page Title" band with a system variable;
- fixed a bug in svg export (hangs if text contains incorrect cr/lf sequences);
- fixed incorrect calculation of row height in a table when exporting to Excel;
- fixed error in exporting vector graphics to PDF;
- fixed error in SVG export (table with merged cells);
- fixed opening of exported reports in Word 2007;
- fixed incorrect black background when exporting RichObject with image to layered HTML-export;
- fixed the value of the paddingNonSeparatePages variable in ImageExport (OpenSource) to eliminate unnecessary padding;
[Extras]
+ added support for views and functions in the PostgreSQL connector (Extras/Core/FastReport.Data/FastReport.Data.Postgres);
+ added a new filter for selecting file extensions when connecting to SQLite, combining .db and .db3, with the first filter selected by default.