跳至内容
菜单
此问题已终结
1 回复
3808 查看

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

.


形象
丢弃
相关帖文 回复 查看 活动
1
9月 21
2544
PDF reports 已解决
5
7月 25
2161
2
3月 24
2697
4
12月 23
3644
2
5月 23
3107