FastReport Open Source 2024.1 Release

FastReport Open Source 2024.1 Release

New opportunities

Improved work with the Table object

Working with the report designer has become easier and more convenient. There are new capabilities for working with the "Table" object.

1. Quickly add columns and rows. If you point to a row boundary to the left of the table or a column boundary at the top, a conditional display will appear showing where a new row or column will be added. There is also a button that, when clicked, will add a new row or column to the table.

The table must be active (selected). Otherwise, new controls will not appear.

2. Change the height of rows and width of columns. Now, you can change the column width or row height accordingly by dragging the column or row border using the mouse.

3. Drop-down menu "Insert." When you right-click a cell in the context menu, you will see a drop-down list that allows you to insert a new column or row next to the cell.

 4. Hotkeys. Copy cell text and paste text into a cell using the hotkeys Ctrl+C and Ctrl+V.

Read more about the new table capabilities in the article.

Merge text objects

Now, there is a mechanism for merging text objects with the same text. For this purpose, a new MergeMode property has been added to the "Text" object, which allows you to configure the merge mode. The new property works very similar to the Duplicates property in Merge mode, but there are important differences:

Duplicates works only with one object located in the “Data” band. For example, the Data1 band has a text object named Text1, and the Duplicates property is set to Merge. When building a report, at the first iteration of Data1, when the first record is displayed in Text1, the text "10" will be displayed. On the second iteration of Data1 and the output of the second record, the same text will be output in Text1. As a result, two instances of Text1 will be connected, and the text "10" will be displayed only once.

• MergeMode, unlike Duplicates, can merge instances of different text objects, and do this both vertically and horizontally. For example, when building a report, the text "10" will be displayed in Text1 and Text2, located next to and to the right. In this case, Text1's MergeMode property is equal to Horizontal. In this case, the text objects will be connected and the text "10" will be displayed once.

Read more about the new property in the article at this link.

Custom line styles

For the LineObject, ShapeObject, PolyLineObject, and PolygonObject objects, a new property has been added - DashPattern, which allows you to create your line styles. Previously, the line style of these objects was set using the Border.LineStyle property. Only six styles were available: Solid, Dash, Dot, DashDot, DashDotDot and Double. With the new property, you can specify a collection of values that will sequentially specify the length of strokes and spaces.

For example, with values 5, 4, 3, and 2, we set a pattern in which a stroke of length 5, a space of length 4, a stroke of length 3, and a space of length 2 will be displayed. Then, the values will be repeated in a circle, starting from 5. The unit of measurement here is the Border.Width.

If there is at least one value in the DashPattern collection, then this new mechanism will work. And the Border.LineStyle property will be ignored. If the DashPattern collection is empty, the Border.LineStyle property mechanism will still work.

Below, you can see some examples:

Instructions for setting up lines are available at the following link.

Changing the shape of the "Picture" object

It is now possible to change the shape of the "Picture" object. PictureObject now has a new Shape property that allows you to specify the following shapes: rectangle (default), round rectangle, ellipse, triangle, and diamond.

You can find out more in the article.

Setting up hotkey combinations

It is now possible to customize hotkey combinations at your discretion. You can configure commands for actions such as "Open file," "Save file," "Prepare report," and much more. To do this, a new button has been added to the "Interface" tab in the designer settings.

Pressing it opens a window for setting up hotkey combinations.

Here is a table with actions and their assigned keyboard shortcuts. You can change the combination by double-clicking on the desired line. You can also navigate the table using the Up and Down keys, and make changes by pressing the Enter key. You can also return all combinations to their default values.

You can find more information about setting up keys in this article.

Full list of changes


+ added merging of text objects;
+ added the ability to change the shape of PictureObject;
+ added the ability to create custom line styles;
* now working with fonts is done without blocking;
- fixed text going beyond the boundaries of the TextObject when TextRenderer = HTMLParagraph;
- fixed creation of fonts from PrivateFontCollection;
- fixed indentation in HTMLTextRenderer;
- fixed clipping of a TextObject when rendering with HTMLTextRenderer;
+ added the “Show progress window” property to the designer settings;
+ added the ability to configure hotkey combinations;
+ improved usability of working with the "Table" object in the designer;
* updated checks for links; links with spaces are now processed correctly;
* —Āhanged the behavior of trees - after clearing the search field, the data tree collapses and the report tree expands;
- fixed the appearance of extra lines when scaling a RoundRectangle of small size;
- fixed slash encoding in Barcode 93 Extended;
- fixed deleting a link when merging dictionaries;
- fixed a bug with the choice of date or time formatting in the Hungarian localization;
- fixed reset of search in DataTree and ReportTree;
- fixed exceptions System.NullReferenceException and System.FormatException when incorrect data entered to FloatCollection;
- fixed incorrect size of the page border when the page height or width is infinite;
- corrected private font collections;
- fixed error in parsing the GSUB table;
- fixed incorrect export of RadialGauge with filling in layered export in Word 2007;
- support for .NET Standard 2.0 has been removed in FastReport.Web;
+ added Variant conversion to CLR types in MySqlDataConnection;
+ added FastReport.Data.Odbc plugin.


Popular posts

FastReport Designer Community Edition

How to use FastReport Open Source in ASP.NET Core Web API application