Forum Replies Created
-
AuthorPosts
-
in reply to: borders not showing ? May 5, 2011 at 12:03#28527
1. you need to define
TABLE {empty-cells: show}
or to add any content to the cell:
<td align="left" style="width:25%;height:60px;font-weight:bold;border-bottom:thin solid black"> </td>2. For some reason “thin” is not understood by the HTML renderer, so as a temporal workaround please use numeric border width:
border-bottom: 2 solid blackin reply to: Problem with header, footer when use "generateMulticolumn" May 4, 2011 at 17:56#28042The issue is already solved in the actual development build, however it is not available for download yet. To be released with the new beta.
in reply to: PD4ML Does Nothing in Secure Environment? May 4, 2011 at 11:49#28525It is a possible situation it is stuck completely (or delayed for a very long period of time) in a failed network transaction. Misused SSL layer may behave a strange way.
But to make sure we do not face an already solved bug, I would recommend to start with an upgrade to the most recent version of PD4ML.
in reply to: re: PDF pagination May 3, 2011 at 11:16#28526By default PD4ML prevents any text lines from being sliced.
With CSS style like TR, IMG { page-break-inside: avoid } you may explicitly protect chosen elements (or element types).
in reply to: How Split a Table Header In Each Page May 3, 2011 at 11:06#28222For DIV it should work.
in reply to: PD4ML Does Nothing in Secure Environment? April 29, 2011 at 16:07#28523PD4ML does not “officially” support HTTPS, however it implements very basic HTTPS resource loader (using the standard JDK classes). WebSphere and Weblogic implement their own versions of HTTPS protocol, and the implementations are not derived from the standard API. That causes ClassCastExceptions (or some strange behavior) on the platforms by attempts to load HTTPS resources.
As you wrote, your application runs on Tomcat platform, we never experienced such problem with. So first I would recommend to upgrade to the most recent v371b1 and to check if the problem is still there.
in reply to: PD4ML Does Nothing in Secure Environment? April 29, 2011 at 15:53#28521What do you mean under “secure environment”? Do you try to load the source HTML by HTTPS?
in reply to: justify is nor working with arabic April 29, 2011 at 10:51#28518We’ll send it to you later today.
in reply to: How Split a Table Header In Each Page April 29, 2011 at 10:51#28220enableSmartTableBreaks(true) implicitly defines
TABLE, TR { page-break-inside: avoid }You may partially override it with
TABLE { page-break-inside: auto !important }to prevent a table moving to its next page.
in reply to: justify is nor working with arabic April 27, 2011 at 16:01#28516You are right. The last line of a justified RTL block is wrongly aligned. We’ve just fixed the issue in the development build. The fix will be available with the next beta release.
in reply to: PDF output does not render images correctly April 26, 2011 at 11:49#28495You cannot increase size of pixels. You may increase image size in pixels.
For example:
width *= 5; height *= 5; BufferedImage img = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); img.getRaster().setPixels(0, 0, width, height, pixels);
But, of course, pixels array must have a corresponding image data, match the new dimensions.
Also, if transparency is not absolutely necessary, I would recommend to use BufferedImage.TYPE_INT_RGB, or even BufferedImage.TYPE_BYTE_INDEXED to reduce resulting PDF document size.
in reply to: Font-size in table cell April 21, 2011 at 11:05#28430The forthcoming release (v371b) should fix the issue.
in reply to: png images errors while parsing April 20, 2011 at 17:07#28481Does it work with the patched version?
in reply to: How can I automatically print subtotal on first row of every April 20, 2011 at 17:06#28514Unfortunately PD4ML does not support the feature.
In order to achieve the needed PDF document structure, you would need to programmatically split the table to smaller ones on HTML level and to force explicit page breaks where needed.
in reply to: png images errors while parsing April 18, 2011 at 10:10#28479As we wrote you before, the problem is caused by a corrupted PNG file. The original file seems to be ok, but probably it is damaged on the way to PD4ML. PD4ML only states that during parsing of the image by particular offset if found garbage instead of a numeric value.
Today we’ll prepare a version with a binary data dump, to check what is actually returned by PNG request. We’ll send you the version by email.
-
AuthorPosts
