visionCATS’s report templating is based on standard Web technologies. The final report document is a PDF file, but it is first created as an HTML file.
HTML (HyperText Markup Language) defines the content and basic structure of a template. For reference, please see W3Schools HTML.
CSS (Cascading Style Sheets) defines the presentation of a template. For reference, please see W3Schools CSS.
A list of color names is available on W3Schools HTML Color Names and also a color picker on W3Schools HTML Color Picker.
SCSS (Sassy CSS) is a flavor of CSS using Sass preprocessor language to add features like variable. For reference, please see sass-lang.com.
All the needed libraries are preinstalled with visionCATS.
SignalR and Metamorph¶
As the functions availalbe via SignalR are hardcoded, it is just possible to reuse the existing call in different places, but not add new function.
For more information, please see ASP.NET SignalR and Metamorph.js.
Some other librairies are used, but most user created template would not use them directly.
wkhtmltopdf is an executable for rendering HTML to PDF. The options are not modifiable.
An error in the template could block the rendering of wkhtmltopdf. After 3 minutes, the rendering process will be stopped, and then you should look at the wkhtmltopdf log and try the report inside a web browser, to determine the error.
Some antivirus may block wkhtmltopdf.exe. Please add wkhtmltopdf.exe to your white list if it is happening.
As wkhtmltopdf use an old version of webkit rendering engine, some feature are missing:
Some CSS3 features
3D graphics like WebGL
Some Unicode characters (notably Thai script)
For more information, please see wkhtmltopdf.org.