Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3795 Zobrazení

How to create a page break if an image is broken in PDF report ?

Avatar
Zrušit
Autor Nejlepší odpověď

Use case

If you want to add an image at the bottom of a PDFdocument (example: the image of a stamp and signature of the CEO).

But you don't want the image to be split between 2 pages.


Example

  • A added an image field on the company form: x_studio_stamp

  • I added the image with studio on the sale order report. 

  • Edit the XML view and change the style: 


style="page-break-inside: avoid;page-break-before: auto;page-break-after:avoid;"

=> The image will be automatically displayed at the second page (if not enough space on page 1).

.


Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
zář 21
2543
PDF reports Vyřešeno
5
čvc 25
2153
2
bře 24
2687
4
pro 23
3633
2
kvě 23
3101