PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Problem using noimagesplit-Option
   PostPosted: 17 Mar 2010, 10:42 
Hello,

we have documents where an image is inside of a <td> in a tablerow and in another <td> of the same row we have some multiline-text. See problem_html.jpg with an image of the look.
When this image now requires pd4ml to put it on the next side because of the noimagesplit-option and the text in the other td also continues to this page, the text isn't continued at the top of the side but at the bottom of the image. See problem_pdf.jpg for an image of the same part.
I've also included the original htm-code inside of problem.zip.

Is this a problem of pd4ml or can we change anything inside our html-code to prevent pd4ml from doing this?


Attachments:
File comment: HTML-Source
problem.zip [12.26 KiB]
Downloaded 56 times
File comment: IMG of the pd4ml-Output
problem_pdf.JPG
problem_pdf.JPG [ 93.67 KiB | Viewed 339 times ]
File comment: IMG of the original-HTML.
problem_html.JPG
problem_html.JPG [ 113.71 KiB | Viewed 337 times ]
  Subject: Re: Problem using noimagesplit-Option
   PostPosted: 18 Mar 2010, 11:58 
In order to avoid such issues, I would recommend not to use enableImgSplit(false).

A better approach would be to apply "page-break-inside: avoid" CSS property to particular table rows. In most of the cases it is also harmless to apply

TR {page-break-inside: avoid}
to entire document.



[Reply]     [ 2 posts ] 

Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share