Forum Replies Created

Viewing 15 posts - 901 through 915 (of 1,410 total)
  • Author
    Posts
  • in reply to: borders not showing ?
    #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 black

    #28042

    The 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?
    #28525

    It 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
    #28526

    By 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
    #28222

    For DIV it should work.

    in reply to: PD4ML Does Nothing in Secure Environment?
    #28523

    PD4ML 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?
    #28521

    What 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
    #28518

    We’ll send it to you later today.

    in reply to: How Split a Table Header In Each Page
    #28220

    enableSmartTableBreaks(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
    #28516

    You 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
    #28495

    You 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
    #28430

    The forthcoming release (v371b) should fix the issue.

    in reply to: png images errors while parsing
    #28481

    Does it work with the patched version?

    #28514

    Unfortunately 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
    #28479

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

Viewing 15 posts - 901 through 915 (of 1,410 total)