Change default PDF options in Report Builder
You can easily change some PDF options like file name or file size of the PDF list and orientation.
...
You can also provide “pdfOptions
”. It means that you can use any field of the issue, like “ issue.key + " - " + issue.fields[“customfield_12345] + ".pdf"
”
Fixing issue with changing canvas size in the PDF export
If a user has a scaling window, then he will have problems with exporting canvas elements to the PDF.
We have several solutions to this problem.
We implemented a default handler, that should help users to set width/height sizes of the block.
...
Example that should work:
...
scale = 1 could help to achieve better results.
How do I hide an element when printing to PDF
Use "pdf-hidden-block"
class, like:
Code Block |
---|
<div class="pdf-hidden-block">Content to be hidden</div> |