 |
 |
 |
 |
 |
PDF Generating Tool Support Forum |
 |
|
Subject: Right margin overflow |
|
|
Hi,
sometimes when i generate a PDF file with pd4ml api, the text in tables, overflow the right margin of the document and some words os the text disappear. Sometimes the text appears over the border line of the table. like this:
| text to be showed | or text to be |
Anybody can help me? is there a trick to do that, or fix it?
regards, Chico
|
|
| |
 |
Subject: Re: Right margin overflow PD4ML
Posted: 10 Jun 2009, 21:01 |
|
|
Could you please attach a minimalistic sample PDF to illustrate the problem.
|
|
| |
 |
Subject: Re: Right margin overflow Guest
Posted: 04 Mar 2010, 20:03 |
|
|
Was this solved? I am having the same issue.
|
|
| |
 |
Subject: Re: Right margin overflow PD4ML
Posted: 04 Mar 2010, 20:13 |
|
|
It would help a lot if you attach an example of a problematic document (its HTML source and resulting PDF).
If HTML layout width does not fit horizontal PDF space, most probably the problem can be solved by increasing of htmlWidth parameter value. If some text crosses right table border - it looks like a bug in our code (however since the last 3-4 years we did not face such issue).
|
|
| |
 |
Subject: Re: Right margin overflow Guest
Posted: 15 Nov 2010, 04:22 |
|
|
My particular problem was being caused by a very long url in a table cell. The long url was not wrapping and it was pushing the right side of the table cell past the right edge of the document.
I was able to solve it by adding style="word-wrap: break-word" as an attribute to the td element in the table. This caused the url to force break at the end of the table cell and everything else then wrapped as expected.
Thanks for the quick response.
Last bumped by Anonymous on 15 Nov 2010, 04:22.
|
|
| |
 |

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