Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3811 มุมมอง

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

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

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

.


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ย. 21
2546
PDF reports แก้ไขแล้ว
5
ก.ค. 25
2161
Wrong PDF Format แก้ไขแล้ว
2
มี.ค. 24
2697
4
ธ.ค. 23
3644
2
พ.ค. 23
3107