Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
3826 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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).

.


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
sept. 21
2569
PDF reports Rezolvat
5
iul. 25
2170
2
mar. 24
2707
4
dec. 23
3654
2
mai 23
3110