Skip to content

07 Renderer - Fast Report

Fast report and SRS can be used to prepare Pixel perfect PDF printouts.

How to start

  1. Download fast report designer community https://www.fast-report.com/en/ , https://fastreports.github.io/FastReport.Documentation/FastReportDesignerCommunityEdition.html
  2. Preview
    • .frx.html - HTML required frx template in / template directory
    • .frx.pdf - PDF required frx template in / template directory
    • .frx - report template with data
  3. Creating a new empty template with data /api/srs/{id}/_new.frx srs_administrator
  4. Prepared template file should be saved in /template directory in the project {renderer}.frx

FAQ Fastreport

1. HTML content in Fast Report

TextObject > Properties > Behavior > TextRenderType > HtmlTags Simple html rendering works with <b>, <br/> , <font color="#888888" size="8">Date of issue</font>

2. Check if not empty

JSON
!([JSON.item.header2.item.val1]== null || [JSON.item.header2.item.val1] is DBNull)

3. Format Date

SQL
select convert(varchar, getdate(), 23) -- 2006-12-30

4. Sizable content

Must be set in the properties of the object CanGrow="True"

Text Only
1
2
3
4
5
6
DATABAND
  TextObject

DATABAND
  Container
    TextObject

Properties CanGrow="True"