We will add the ability to export a report to PDF and embed other files in this document. This may be different files. For example, data files such as XML or CSV and others. In particular, Excel files can also be embedded. Embedding files in a PDF document provides an opportunity to use modern standards when exporting reports.
Our team has made complete refactoring of components WebViewer, MobileViewer, and MvcViewer. As a result, we have completely updated the component to view reports - WebViewer. Now, this component is a universal full-featured tool for viewing reports. At the same time, the WebViewer component has a number of advantages over the older versions. Increased speed of report processing and improved with cache, optimized work with large reports (big reports). WebViewer is developed using HTML5 and CSS3 technologies and supported in any browser. Also, this component is adapted for mobile devices.

Rethought Web Viewer
In the release of 2016.2, the reporting tool can request only the data needed for the report. To do this, you should change only one value of the Retrieve Only Used Data property to true, and then when rendering the report, data sources will be filled with the data that are used in the report. This feature will be described in the updated documentation.

Retrieve Only Used Data

Retrieve Only Used Data
We are currently doing last steps to finalize the grand half year update and, in one-two weeks, we are going to release the version 2016.2. We have improved and added much functionality which will be described in our next articles.

If you would like to see what are the changes, please follow our news.
Stimulsoft Company has added support for the format of electronic invoices – ZUGFeRD.

Invoices in the ZUGFeRD format pass both human-readable invoices and its structured machine-readable XML based representation. Human-readable representation is encoded in the form of one or more PDF pages of the PDF/A format. XML based representation is embedded in the PDF document as an object in accordance with the specifications of the PDF/A-3 format. In other words, the invoice of the ZUGFeRD format contains two separate representations – human-readable in the PDF/A-3 format that is used as a container for the XML representation.

Currently, the ZUGFeRD format can be used only from code. To do this, enable the ZUGFeRDCompliance option in the PDF export settings (this will enable the PDF/A-3 format and add the necessary meta information). Also this will add the XML file (prepared previously) in the collection of EmbeddedFiles. Please note that the XML file name must be "ZUGFeRD-invoice.xml".
Below is an example of code to export a report using the ZUGFeRD format:
FileStream fileStream = new FileStream(@"d:\test.pdf", FileMode.Create);

byte[] buf = File.ReadAllBytes(@"d:\ZUGFeRD-invoice.xml");

StiPdfExportSettings pdfExportSettings = new StiPdfExportSettings();
pdfExportSettings.EmbeddedFiles.Add(new StiPdfEmbeddedFileData("ZUGFeRD-invoice.xml", "ZUGFeRD Rechnung", buf));
pdfExportSettings.ZUGFeRDCompliance = true;

report.ExportDocument(StiExportFormat.Pdf, fileStream, pdfExportSettings);

fileStream.Close();