Forum Replies Created

Viewing 15 posts - 811 through 825 (of 1,410 total)
  • Author
    Posts
  • in reply to: RTL with UNICODE displays characters in a reversed direction
    #28698

    The forthcoming version (expected till end of the month) should resolve a number of RTF issues. I expect to see the RTL text issue resolved as well.

    in reply to: TTF embedding
    #27299

    I guess inputHTML is a String object.

    What does the following code print to Java console?
    System.out.println(inputHTML);

    Is it “Kære” or “Kære”?

    in reply to: Support to colgroup
    #28678

    No. In the nearest future we do not plan to support colgroups.

    Closer to the beginning of the next year we plan to start a complete PD4ML’s HTML renderer refactoring – most probably the feature will be supported. However it is difficult to say how long the refactoring will take.

    in reply to: A definition of custom resource loaders
    #27265

    In general you cannot place images to particular places of document layout via PD4ML API or with resource loaders.

    You define your document layout using HTML and the images positions are defined by a locations of Image from the forum topic: A definition of custom resource loaders tags.

    If you plan to load images from a database, you may define your own image loading protocol. For example:

    Image from the forum topic: A definition of custom resource loaders

    Your custom resource loader should parse the string “database:table=images;key=4711” and perform a corresponding request to the database (using the key value to locate a proper image) via JDBC (or similar).

    in reply to: disabling image caching does not work
    #28681

    /product-images/imageName.jpg points to a local file system resource. A dummy suffix makes the path invalid. So first I would recommend to remove it.

    Also please check my recent reply to post1898.html#p1898

    Did you get anything like cache disabled. (re-)reading printed to the log or STDOUT?

    in reply to: Problem with image cache
    #28674

    Sorry for the delay with the reply. It seems my first suggestion regarding reusing of class instances was wrong.

    In theory the following tags

    <pd4ml:parameters>
    <pd4ml:parameter key="pd4ml.cache.enable" value="false"/></pd4ml:parameters>

    nested to <pd4ml:transform> should help. (Identical System.setProperty(“pd4ml.cache.enable”,”false”) may fail due to server’s security restriction)

    I would also recommend to add debug=”true” attribute to <pd4ml:transform>

    In the case if the caching is successfully disabled it should print to server’s log

    cache disabled. (re-)reading <URL>

    Please check if it works for you and outputs the debug message.

    in reply to: Progress Monitor/Feedback mechanism during PDF generation
    #28682

    Currently PD4ML offers no such API.

    We are ready to implement it by request – please contact support pd4ml com

    in reply to: Special character
    #28679

    1. In order to display non-latin or special characters you would need to utilize TTF embedding feature of PD4ML Pro.

    See: https://pd4ml.com/reference.htm#7.1
    and
    pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html

    2. vertical-align is supported for table cell content. Or do you need the property for anything else?

    in reply to: Generating PDF forms
    #28680

    There is an API method generatePdfForms() enables the form generation mode.

    in reply to: Problem in image split with licensed JAR
    #28647

    It seems to be a version-specific issue.
    PD4ML v371b4 (or any newer) solves the problem.

    in reply to: Problem with image cache
    #28670

    You may find the version number in document properties of any generated PDF.

    in reply to: Problem with image cache
    #28668

    4-5 years ago one of our customers faced with the issue like yours. I’ll try to find our discussion thread and to learn how we resolved the problem. I’ll let you know asap.

    It had something to do with a reusing of class instances (implement custom JSP tags) by the JSP framework.

    Please let us know your PD4ML version and the appserver version/type you run PD4ML under.

    in reply to: Horizontal overflow to a new page
    #28499

    PD4ML does not support JavaScript, so for the approach the measurement must be performed in a third-party tool (which adds yet another level of complexity).

    You may compute a content right edge position using PD4ML API and an idle render() call:

    pd4ml.setHtmlWidth(400);
    pd4ml.render(url, byteArrayOutputStream);
    System.out.println("right edge: " + (Long)pd4ml.getLastRenderInfo(PD4Constants.PD4ML_RIGHT_EDGE_PX));

    The returned right edge value (plus optionally some more margin pixels) can be used as pd4ml.setHtmlWidth() parameter value for an effective render() call.

    in reply to: css style control of checkbox will lose after convert to pdf
    #28644

    > The height of checkbox is too large, isn’t it?
    As for me, everything is correct. The font size 8px is too small (comparing to the default checkbox height 16px). I checked the HTML in a web browser and got more-less the same size difference of cb height and font size.

    Anyway the forthcoming PD4ML beta release will allow to control checkbox shape dimensions with CSS.

    in reply to: JSP to PDF Performance
    #28665

    The taglib wraps PD4ML API thread-safe way – so there is no need to care about the API utilization.

    Just for your info: render() is called in doEndTag() method of PD4MLTransformerTag class (the method is triggered by closing </pd4ml:transform>)

Viewing 15 posts - 811 through 825 (of 1,410 total)