Forum Replies Created

Viewing 15 posts - 1,096 through 1,110 (of 1,410 total)
  • Author
    Posts
  • in reply to: Overflow on right margin
    #28167

    Is it clipped because the right column is stretched by a non-breakable long word?

    As a rule table without explicit width attribute may grow horizontally till it reaches the right edge of nesting element. (A right edge of <body> element is defined by htmlWidth conversion parameter) However if there are big images or very long portions of unbreakable content, they will stretch the table cell to fit.

    A workaround depends on what you exactly faced with.

    in reply to: pd4ml https image urls
    #28163

    > when I run the converter again

    Do you start JVM again?

    in reply to: Create single pdf for multiple URLs.
    #28154

    No. It is not possible for the time being.

    A workaround is to merge HTML into a single one before passed to PD4ML. By the merge you would also need to remove </body> and </html> closing tags as they stop further HTML parsing.

    in reply to: [.NET] HTML rendering problem
    #28138

    Stefan, we’ve reproduced the issue and been working on it.

    in reply to: language support problem in <title> tag
    #28131

    <title> tag content is not shown in a document body. It impacts PDF meta-data only (TITLE property of PDF, Acroread window caption). Do you mean question marks in the meta data? Could you please send a PDF sample to support pd4ml com. Also it would be nice if you dump source HTML to see what is exactly passed to PD4ML.

    in reply to: CSS of a HTML string rendering problem – Java
    #28124

    hmm… “up-side-down footer” is an old issue resolved in the recent versions. could you please send a PDF sample to analyze to support pd4ml com

    in reply to: JSP taglib header/footer issue
    #28156

    In the JSP you define headers and footers in HTML format. It requires PD4ML Pro. If the headers/footers are not in the resulting document, I would suspect you use PD4ML Std.

    More info about headers/footers:
    html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html

    in reply to: direction=rtl not working
    #28147

    please contact support pd4ml com and send the source HTML and the resulting PDF to analyze.

    in reply to: pd4ml https image urls
    #28160

    It is not a warning, it is not an error. It simply tells that the images are not in cache, so PD4ML loads them from the given URLs and saves to the cache.

    You may create a simple HTML with a non-existent image URL and you’ll see how it reports problems with an image loading.

    in reply to: pd4ml https image urls
    #28158

    The log messages seems to be confusing.

    As long as there is nothing like “cannot load image” in the log – it loads the images and places them to the cache successfully.

    You can suppress the output if you switch PD4ML debug mode off.

    in reply to: Create single pdf for multiple URLs.
    #28152

    PD4ML API has a method, which takes an array of URLs as a parameter. It should do the trick for you.

    in reply to: CSS of a HTML string rendering problem – Java
    #28120

    When you define header via API, it does not inherit styles from the main document. So you need to explicitly refer the style from the HTML header code:

    String headerBody = "<html><head>" +
    "<LINK href="/broker-module/BL.css" type=text/css rel=StyleSheet></head>" +
    "<body><DIV id="header"></DIV></body></html>";
    header.setHtmlTemplate( headerBody );

    in reply to: CSS of a HTML string rendering problem – Java
    #28121

    A good starting point to analyze the problem reasons is to switch debug on:

    pd4ml.enableDebugInfo();

    I suspect it will output to server’s log traces of attempts to load

    file:/broker-module/BL.css

    which is obviously incorrect. In order to let PD4ML interpret /broker-module/BL.css as a web path you would need to pass either the servlet context or HTTP request object to PD4ML. It could be done with the following API calls.

    useServletContext(ServletContext ctx)
    useHttpRequest(HttpServletRequest httpRequest, HttpServletResponse httpResponse)

    in reply to: word-wrap: break-word doesn’t seem to work for tables
    #28118

    I used your sample HTML code and got a correct result. See attached.

    Which verion of PD4ML do you use?

    in reply to: Rights permision
    #28084

    You need to substitute pd4ml_demo.jar with downloaded pd4ml.jar and adjust the classpath where needed.

Viewing 15 posts - 1,096 through 1,110 (of 1,410 total)