Customizing CSS of Report Export
- To be able to change the CSS of specific report, you need to know the ID of the report. It can be found in URL: https://URLofBellaDati/bi/report/detail/IDofReport.
- Then you need to open "preview" of the PDF, which is located at URL: https://URLofBellaDati/bi/report/detailexport/IDofReport/SIZE/FORMAT/FILETYPE.
Example: https://URLofBellaDati/bi/report/detailexport/IDofReport/A4/PORTRAIT/PDF. Next you can check the HTML code of this page (for example by various code inspectors), find the elements you want to change and then type new settings into CSS Stylesheet pro PDF export.
Only tables and KPIs work in this preview.For example you can change the color and size of headers by using this code:
h1 { color:green; font-size: 30px; } h3 { color:purple; font-size: 20px; }
- The result will look like this:
Overview
Content Tools