Forum Replies Created

Viewing 15 posts - 1,486 through 1,500 (of 4,243 total)
  • Author
    Posts
  • 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: 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 tags.

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

    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: TTF embedding
    #27298

    Im using the pro version and with domino server 8.5.1
    pd4ml.render(new StringReader(inputHTML), fos, new URL(“file:.”), “iso-8859-1”);

    The notesdocument is grabbed by java agent
    Document usrDoc = db.getDocumentByID(strUNID);

    I can’t get it to display danish characters properly

    i have tried this also
    pd4ml.render(new StringReader(inputHTML), fos, new URL(“file:.”), “utf-8”);

    Eksample:
    Kære = Kære
    pÃ¥ første = på første

    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: 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”?

    NPO
      in reply to: Problem with image cache
      #28675

      Thanks for your reply.
      I add the tag to my page and I can see the log message:
      cache disabled. (re-)reading file:/util/images/logo.png|#]

      But inside pdf I see alway the wrong image.
      Every night I restart glassfish and the first time i create a pdf the logo is ok. But from that moment I see always that image even if i’m on another site

      in reply to: HTML/CSS rendering issues
      #26614

      Hi,

      I am having an issue regarding positioning of 2 div elements.

      <br /> <div style="height: 100px; width: 100; display: block; position: relative; background: blue; "><br /> <div style="height: 50px; width: 50px; bottom: 0px; left: 20px; position: absolute; background-color: green;"><br /> </div><br /> </div><br />

      This code will in a browser show a blue box of 100×100 that contains a green box (50×50). The green box is placed at the bottom line off the blue box.

      However, when I generate the pdf, the “bottom: 0px” is ignored, and the blue box is at the top.
      The “left: 20px” is not ignored.

      I hope someone can give me a hint how to solve this issue.

      (I am using the newest version (trial))

      Best regards
      Mads Wermelin

      in reply to: HTML/CSS rendering issues
      #26615

      Hi, problem I am facing is converting RTL languages to PDF. The letter are being displayed in the reversed order…for example:






      hello שלום

      shows: םולש

      Did anyone sort this one out?

      in reply to: PD4ML Tips & Tricks
      #26616

      Hi All,

      I am looking for a library which can convert the HTML pages/word documents to PDF files. While searching on internet, we got reference for pd4ml libraries and have tried using it but major ssues as –

      1. Arabic Character representation, rather handling of –
      dir=”rtl” lang=”ar”>.

      It would be better if someone can help in resolving this issue.

      Regards,
      Pratibh

      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: Arabic Representation
      #28699

      Try to define dir=”rtl” in tag.

      And also make sure you use a relatively recent version of PD4ML Pro and TTF Embedding feature is enabled.

      in reply to: Problem with image cache
      #28676

      It looks like there is an implicit caching on JDK level. We’ll investigate if it is possible at all.

      in reply to: Positioning – bottom ignored
      #28687

      Currently PD4ML supports only “left” and “top” CSS properties. See: http://pd4ml.com/css.htm

      We could add the missing properties support in one of the forthcoming releases.

      in reply to: background-position
      #28579

      any updates!
      I’m facing exactly same issue in following version:
      Created-By: yGuard Bytecode Obfuscator 2.3.0.1<br /> Implementation-Title: PD4ML Pro<br /> Implementation-Version: 371b9

      Thanks,
      Waqas

      in reply to: HTML/CSS rendering issues
      #26618

      This problem occurs on version 350b1.

      After updated to latest Version 3.8 no header was shown anymore. We do not know why. With Version 3.5 it works. So: are there any changes in using page:header tag?

      The other question is: Is there a bug in displaying headers on skipped pages on version 3.5 or can we solve the problem by setting special attributes.
      If tehre is a bug: Is it solved in version 3.8?

      Thank you for your help.

      Best regards:
      Stefan

    Viewing 15 posts - 1,486 through 1,500 (of 4,243 total)