FastReport Open Source 2022.3 Release
A "Validation" tab has been added to the report designer (on the right, next to the "Data" and "Report Tree" tabs). Here you can check the report template and get a list of errors and warnings.
All this is displayed in a table with the object name (if there is one) and error description. If you select a row in the table, the corresponding object will be highlighted in the designer.
Errors and warnings can be of the following types: unnamed objects, objects with the same name, overlapping objects, objects with zero height or width, and objects that are partially or completely outside the parent object.
Objects without names and objects with the same name are critical errors. They can lead to various errors and even crash the application while preparing a report. Besides, without a validator, these errors are very hard to find.
Intersecting objects is not a serious error. In some cases, they can be useful and used purposefully (e.g., lines or rectangles). Intersecting text objects, in most cases, can lead to incorrect exports. Especially in table exports, such as Excel. The export will result in a lot of extra cells, etc. It is necessary to be careful with such objects.
Objects partially exceeding parent object boundaries (e.g. band or page) can also be useful in rare situations. But in most cases, it causes errors in the preparation and export of the report.
Objects that are completely outside the parent one is a serious error. Finding such objects without a validator is also very hard.
Intersecting objects and objects outside the parent can now be highlighted in color (which you can choose) if the corresponding setting in menu File -> Options is enabled.
It is not necessary to use report validation. But it can be useful when your report doesn't work or look the way you want it to.
Read more about the report validator in the next article.
Sometimes it is necessary to edit the contents of the FRX file using third-party text editors. Now you can do this more conveniently, directly in the report designer. The FRX editor is added for this purpose. By default, it is disabled. You can enable it in the menu «File -> Options».
In the report designer, the FRX tab will appear to the left of the Code tab.
The changes made here, will be immediately applied to the report and displayed on its pages.
Read more about the FRX editor in the following article.
StimulSoft report converter
Added the ability to convert report templates from StimulSoft to FastReport .NET templates.
StimulSoft reports may contain implementation objects that are not supported by the FastReport designer. These objects will not be exported or will be replaced by others in such a way that the generated report is as similar as possible to the one created in StimulSoft. It is important to note that the import of cross-bands is implemented by moving their contents to the parent band.
Read more about converting reports in the article at the following link.
Copying dialog pages
Added the ability to copy dialog pages. Both using the context menu of the dialog page and using the «Report -> Copy Report Page» button.
Copying creates a copy of the dialog page with a unique name. All child objects will also have unique names. However, the event handlers of the objects will be the same as those of the original page. If necessary, you must create new handlers.
Also now dialog pages can be deleted not only with the «Report -> Delete Page» button, but also via the context menu in the form editor and report tree.
Disabling last formatting settings
When creating an object in the designer, its settings will be applied to the next created object of the same type.
For example, if you create a text object, set its font size, borders, fill color, the next text object will be created with the same settings.
This is useful when you need to create several objects with the same or similar settings.
In situations when you don't need this designer behavior you can disable it in «File -> Options».
This will create objects with default settings.
Detailed description of referenced assemblies and installed plugins
Now when you hover your mouse over a dll in the plugins list (File -> Options -> Plugins) and in the list of links to builds- (Report -> Options -> Script), detailed information with description, version, size, creation date, etc. is displayed.
Complete list of changes
implemented converter reports of StimulSoft;
added changing name of JSON data source in expressions when it's renamed;
added converting of PaperSize property when converting reports from StimulSoft;
added checking existence of referenced assembly when converting reports from StimulSoft;
added PrintOnParent property to Table and Matrix objects;
added loading of report parameters when converting reports from RDL;
added loading of subreports when converting reports from RDL;
added the feature to store JSON connection data using the StoreData property;
optimized speed in reports containing large amount of objects;
changed exception text when calculating and formatting expression if e.InnerException is null;
when loading RDL report, page width will be equal section width in case when there is no page width;
fixed length calculation encoding DataMatrix C40 and text;
handled System.ComponentModel.Win32Exception when printing with disabled Print Spooler;
fixed hide border of picture when printing with auto size;
fixed stack overflow error when prepare report with child band of page footer and then start new page option enabled for it;
fixed a bug with not passing path of base report to current one in Unix OS;
fixed a bug with creating subreport and page with the same name when converting reports from StimulSoft;
fixed a bug with invalid names when converting reports from StimulSoft;
fixed a bug with TotalPages in Page.VisibleExpression that causes an exception when double pass is disabled;
fixed a bug when band can grow out of page;
fixed a bug when objects can grow out of band or ContainerObject;
fixed "back indent" feature in RTF translator;
fixed RichText line spacing when RTF translated to report objects;
fixed an error with ConnectionString property in JsonDataSourceConnectionStringBuilder class when value was without a request headers;
added the report validator that helps to find invalid objects (duplicate names, negative sizes, etc.);
added FRX editor in report designer;
added detailed description of referenced assemblies and installed plugins;
added the ability to copy dialog pages;
added the ability to delete dialog pages using the context menu;
added ability to disable using of last formatting options when creating objects;
added integration with FastReport.Id;
added call to online-documentation in the report designer;
added wizard for visualization of control identification signs;
add tooltip about right and bottom indents for guides and objects in designer;
added ability to select color of backlight intersecting objects in designer;
added possibility to connect bases of Access 2007;
changed the look of ElasticSearch connection editor form;
changed the text fields in CISWizardForm with units to text fields that only support numbers;
fixed a bug leading to System.NullRefereceException when creating calculated column for subtable JSON;
fixed a bug leading to System.FormatException when drawing labels of maps;
fixed a bug leading to the System.NullReferenceException when clicking the "Paste" button in the context menu of dialog pages;
fixed a bug with scaling zoom controls of designer in HiDPI mode when run from old demo application;
fixed opening form of save changes after save all report;
fixed unscalable items in welcome window;
fixed backlighting intersected charts;
fixed exception on rename JSON table;
fixed UpdateStatusBar in DialogWorkspace;
fixed a bug with localization of "Account..." button in menu "File";
fixed canceling selection of object if its properties are changed;
fixed a bug when switching to the "Code" page did not occur after adding an event handler;
implemented export of all open tabs;
fixed incorrect scaling pictures in HTML-export when enabled high quality SVG and zoom more than 1;
fixed a bug with scaling picture in HTML-export;
fixed a bug when SVG picture was not rotated to needed angle in HTML export;
fixed exception when export object with negative size in HTML export;
OnlineDesigner properties are moved to webReport.Designer with backwards compatibility;
fixed a bug when event "CheckedChanged" handled by RadioButton was not performed;
fixed incorrect search for public-methods in report script;
fixed problem of creating a fontlist file on Azure;
added the ability to change the localization of a new demo application without restarting it;
fixed position of one chart in Chart.frx;
implemented connection to Cassandra;
added an option to import reports using streams;
Post a Comment