sgcReports Feature Matrix

Everything sgcReports does, grouped by task, with a link to the help topic of each feature. The core has no VCL or FMX and no external DLL, so it runs in Windows services and Linux64 daemons.

Data Sources

3 features

Output

5 features

Web Bridge

3 features

.NET

8 NuGet packages

Documentation

Online help and PDF manuals

Registered marks the features that are in the Registered and Trial editions and not in the free Community edition. ~ marks a feature that Community has in part, with the difference below it.

Every row links to its help topic. Rows marked Registered need the Registered edition. The Web Bridge rows also need sgcWebSockets Professional or higher and sgcHTML.

Report Definition

FeatureDetailsCommunityHelp
Fluent builderTsgcReportBuilder builds a report in code with a fluent chain.Help
Report modelFill the TsgcReport model directly.Help
JSON definitionsLoad a report definition from JSON at run time without recompiling.Help
Bands and groupsGroup headers and footers, master data, page footer, subtotals and page numbers.Help
Master detailMaster and detail bands, for example an invoice with its lines.Help
ExpressionsExpressions such as Sum(Sales.Amount).Help
ScriptingTsgcReport.Script holds procedures in a small Pascal like language (variables, if, case, for, while, repeat and every expression function), stored in the report definition and the JSON. The report runs StartScript and FinishScript, each band runs BeforePrintScript, AfterPrintScript and AfterDataScript, and each item BeforePrintScript and AfterPrintScript. A script can hide a band, change the text, the font colour or the height of an item for the current print, read data fields and set report variables. ScriptMaxSteps stops a script that does not end, and ScriptErrorAction and OnScriptError decide what an error does. In Delphi, C++Builder and .NET.Help
BarcodesBarcodes in reports through the sgcPDF barcode engine.Help
Right to left (Arabic and Hebrew)TsgcReport.RightToLeft and BiDiMode on bands and items mirror the layout, with shaped, bidi ordered and justified text. The PDF export sets a right to left reading direction, XLSX writes a right to left sheet, and the HTML viewer and designer get dir="rtl".Help

Data Sources

FeatureDetailsCommunityHelp
DataSetTsgcReportDataSetSource reads any TDataSet.Help
JSONTsgcReportJSONSource reads a JSON file or string.Help
EventsTsgcReportEventSource feeds the report from your own events.Help

Output

FeatureDetailsCommunityHelp
Accessible PDFTagged PDF/UA-1 by default (PDFUA is True).Help
PDF/A-3Archival PDF/A-3 on request (rpaA3b, rpaA3a). In Delphi and .NET, also PDF/A-4 (rpaA4) and PDF/UA-2 (PDFUAPart set to rpuPart2).Help
XLSX, CSV and PNGOne prepared report, many outputs: TsgcReportXLSXExport, TsgcReportCSVExport and TsgcReportImageExport.Help
PreviewTsgcReportPreviewVCL and TsgcReportPreviewFMX with page navigation. The FireMonkey preview runs on Windows, macOS, iOS and Android, with touch pan and pinch zoom. On iOS and Android, Print and Save PDF open the share sheet of the system, which offers AirPrint or Android printing (SharePDF, Delphi 10.3 and later), and RenderPage draws any page into a bitmap on every platform.Help
Linux daemonRun the engine headless in a Linux64 daemon.Help

Web Bridge

FeatureDetailsCommunityHelp
Serve reports over HTTPTsgcReportHTTPEndpoint serves reports as PDF, XLSX, CSV and PNG. Needs sgcWebSockets Professional or higher and sgcHTML.~Delphi and C++ Builder: needs sgcWebSockets Professional or higher and sgcHTML. .NET: the esegece.sgcReports.HTML and AspNetCore packages host the same routes.Help
Browser viewerTsgcReportHTMLViewer shows reports in the browser.Help
Web report designerTsgcReportHTMLDesigner edits report definitions in the browser.~Leave DesignerEnabled off on production endpoints and put it behind your own authentication.Help

End-User Designer

FeatureDetailsCommunityHelp
Designer for VCLTsgcVCLReportDesigner is a panel where your users edit reports inside your application. Drop it on a form, assign Engine and add the data sources.RegisteredHelp
Designer for FireMonkeyTsgcFMXReportDesigner is the FireMonkey twin over the same designer units. The modal designer works on Windows and macOS.RegisteredHelp
Toolbox, outline, data tree and inspectorDrag item kinds from the Toolbox and fields from the Data tree onto a band, browse pages, bands and items in the Outline, and edit properties in the inspector. Every drop is one undo step.RegisteredHelp
Rulers, alignment and undoA design surface with rulers and zoom, align and distribute commands, and undo and redo.RegisteredHelp
Preview and JSON filesThe Preview tab prepares the report with the data of the engine. New, Open and Save use JSON report definitions that a server can run headless. A modal designer with OK and Cancel is one call away.RegisteredHelp
Localized designerThe texts of the designer are translated by sgcUISetLanguage into the 12 built-in languages of sgcUI.RegisteredHelp
.NET designer classesDesigner controls for WinForms, WPF and Avalonia are included: TsgcWinFormsReportDesigner, TsgcWpfReportDesigner and TsgcAvaloniaReportDesigner, with toolbox, outline, data tree, property inspector, rulers and live preview, plus modal designer windows. They are built on the platform neutral designer model, which you can also use to build your own host.RegisteredHelp
Script editorThe designers of VCL, FireMonkey, WinForms, WPF and Avalonia edit the report script in a code editor with a Check button that shows the line and column of an error. The inspector lists the script events of the report, the bands and the items, with the procedures of the script to choose from and a "(new procedure)" entry that adds an empty procedure. Script changes are part of undo and redo.RegisteredHelp

Rich Content, Charts and Export

FeatureDetailsCommunityHelp
Rich textBold, italic, colors, fonts, lists and links in one item, written as markup similar to HTML with [expressions]. Links are kept in the PDF, HTML and DOCX exports.Help
WatermarksA text or image watermark on every report page, with opacity, rotation, centered, tiled or custom position, behind or in front of the content, page ranges and a visibility expression.Help
Crosstab tablesRow and column fields, several measures (sum, count, average, minimum and maximum), totals, and an accessible table in PDF/UA and HTML. Columns that do not fit continue on the following pages.Help
Custom item typesRegister your own TsgcReportCustomRenderer by name. It prints in the PDF, PNG, HTML and DOCX exports and appears in the designer Toolbox. The ready-made Chart and PivotTable bridges are Registered.Help
Charts in reportsThe sgcReportsCharts bridge adds a Chart item drawn by sgcCharts: bar, stacked bar, line and area, as vector content in PDF and inline SVG in HTML. Requires sgcCharts.RegisteredHelp
Pivot tables in reportsThe sgcReportsPivotGrid bridge adds a PivotTable item calculated by sgcPivotGrid, with more aggregates than the built-in crosstab. Requires sgcPivotGrid.RegisteredHelp
HTML exportTsgcReportHTMLExport writes one self contained HTML file, paged or continuous. The semantic mode writes headings, paragraphs and ARIA tables and hides decorative items from assistive technology.Help
DOCX exportTsgcReportDOCXExport writes a Word document, either with the layout fixed in exact frames or as a flowing, editable table. No external zip library is needed.RegisteredHelp

sgcReports for .NET

The .NET reports are a C# port with the same class names: the builder, JSON source, engine and exports, a WinForms preview, and HTML, ASP.NET Core and sgcSign packages.

PackageEditionContents
esegece.sgcReports.CommunityCommunity (free)Core library
esegece.sgcReports.WinForms.CommunityCommunity (free)Windows Forms controls
esegece.sgcReports.HTML.CommunityCommunity (free)HTML viewer and web integration
esegece.sgcReports.AspNetCore.CommunityCommunity (free)ASP.NET Core integration
esegece.sgcReports.Wpf.CommunityCommunity (free)WPF controls
esegece.sgcReports.Avalonia.CommunityCommunity (free)Avalonia controls
esegece.sgcReports.sgcSign.CommunityCommunity (free)sgcSign bridge, signs the PDF exports (PAdES)
esegece.sgcReportsRegisteredCore library
esegece.sgcReports.WinFormsRegisteredWindows Forms controls
esegece.sgcReports.HTMLRegisteredHTML viewer and web integration
esegece.sgcReports.AspNetCoreRegisteredASP.NET Core integration
esegece.sgcReports.WpfRegisteredWPF controls
esegece.sgcReports.AvaloniaRegisteredAvalonia controls
esegece.sgcReports.sgcChartsRegistered onlysgcCharts bridge, the Chart item
esegece.sgcReports.sgcPivotGridRegistered onlysgcPivotGrid bridge, the PivotTable item
esegece.sgcReports.sgcSignRegisteredsgcSign bridge, signs the PDF exports (PAdES)

Documentation

Every feature of sgcReports is documented in the sgcUI help, with one build for each development environment.

Online Help

Start with the sgcReports introduction, then follow the quick start and the feature topics.

Delphi →
C++ Builder →
.NET →

PDF Manuals

The complete sgcUI help as a PDF file, to read offline or print.

Delphi (PDF) →
C++ Builder (PDF) →
.NET (PDF) →
Best value: All-AccessEvery eSeGeCe product, Premium Support included, from €1,059/year.
See All-Access pricing

Build with sgcReports

Download the sgcUI trial and add sgcReports to your Delphi, C++ Builder or .NET application.