Features
What your users get
A report designer in the browser, and a preview printed by the same engine that prints the report.
New, Open a .json definition from the computer of the user, Save, Undo and Redo, Zoom, Snap grid and Page setup with the page size, orientation and margins. Align (left, centres, right, top, middle, bottom, same width, same height or same size), bring to front, send to back, copy, paste, duplicate and delete, and switch between Design and Preview.
The toolbox offers Text, Image, Line, Rectangle, Chart, Rich text, Barcode, QR code and Subreport: a click adds the item to the selected band, a drag drops it at the point on any band. Data fields lists the fields of the data source, and a click or a drop adds a text item bound to the field.
Page and bands
The canvas shows the page with its bands at the zoom chosen, each with its caption and a handle that changes its height. The bands list adds a report header, page header, group header, detail, group footer, page footer or report footer, moves and deletes them, and sets the group field of a group band.
Mouse editing
Click to select, Ctrl+click or Shift+click to add to the selection, or draw a rubber band on an empty part of the canvas. A drag moves the selection, onto another band too, the eight handles resize, and the band under a drag is highlighted. Every change is one undo step.
Inspector, parameters and fonts
The inspector edits every published property of the report engine for the selection, the band or the report, with Insert field, Aggregates and Report values to write expressions. The Parameters tab holds what the Report Viewer asks for, and the fonts of the report can embed a .ttf, .ttc or .otf file in the definition.
Preview
Preview prints the definition being edited, not the saved one, on a scratch report that shares the data and the events of the report, so the PDF is the one the report will print. It shows in the embedded PDF viewer or in an iframe with the PDF viewer of the browser, set by PreviewMode.
Keyboard
Tab moves through the items of the canvas, the arrows move the selection by one grid step, Shift+arrows resize it, and Alt+Up and Alt+Down move it to the previous or next band. Ctrl+C, Ctrl+V and Ctrl+D copy, paste and duplicate, Ctrl+Z and Ctrl+Y undo and redo, and Ctrl+S saves anywhere in the designer.
Safe edits
While a design has changes that are not saved, the designer shows Unsaved changes and the browser asks before the page is left. A parameter or a font without a name is selected and focused before anything is posted. The designer follows data-bs-theme="dark" and dir="rtl" of the page, and a polite live region announces its messages.