Forum Replies Created

Viewing 15 posts - 1,291 through 1,305 (of 1,410 total)
  • Author
    Posts
  • in reply to: Creating an index at the end of the pdf file
    #27681

    For your planned environment (if you do not want to build a cluster of servers) 2 Pro licenses are sufficient. One is for the productive server, another one for your development team (and test servers).

    On the other hand I see no big reason to create the pdf generation server. You may simply drop pd4ml.jar and ss_css2.jar into lib directory of your application and have the PDF generation functionality in-place. In the case you do need the Volume license, and it is worth its money if you compare it with efforts to establish and maintain the PDF-generating network infrastructure.

    in reply to: Creating an index at the end of the pdf file
    #27680

    Orphans can be eliminated with the currently existing conditional page break:

    <pd4ml:page.break ifSpaceBelowLessThan=300>
    (300 is height in pixels there)

    Also you may format portions of text (or starting and ending parts or chapters) as <div>s and to define “page-break-inside: avoid” CSS style for them. It should cure both orphans and widows.

    in reply to: rendering absolute div inside a relative div (CSS)
    #27662

    TD+TD+TD is fixed by v360b1

    in reply to: Html/CSS rendering issue
    #27673

    1. PD4ML supports only “first-child” pseudo-class selectors.

    2. The issue is fixed by v360b1

    in reply to: Any way to repeat table headers?
    #27612

    enableTableBreaks(true) implicitly sets “page-break-inside: avoid” for TR and TABLE elements. If a particular row is broken (by an implicit page break) – that means the table row height exceeds the page height. In the case it simply continues the row content on the next page. In such case PD4ML does not put the table header on the top of the second row part.

    But, as you wrote, it writes the header (and overwrites the content).

    Could you please send to PD4ML support the HTML sources which could help us to reproduce the issue.

    in reply to: Problems with page-footer
    #27657

    I was not able to reproduce the issue with the newest version. Please check that on your side as soon as the version is published to the download area. (expected later today or on Monday)

    in reply to: HTML produces blank page at the end
    #27663

    It seems to be a strange conflict of

    tr {font-family: Verdana, Arial; page-break-inside: avoid;}

    and

    br.pagebreak {font-family: Verdana, Arial; page-break-after: always}

    Most probably a solution requires a fix in PD4ML code. Hopefully it will be fixed with the forthcomming beta.

    in reply to: Three Issues
    #27649

    We’ve just fixed the positioning problem, but did not test it in untrivial scenarios like nesting of absolute/relative positioned elements.

    Later today we’ll pass v360b1 to QA. If everything is OK, the beta release will be available for download tomorrow after 18:00.

    (checkboxes and radios are fixed too)

    in reply to: Three Issues
    #27643

    I guess we’ve forgotten to add the absolute positioning possibility to <input>. From Java coding perspective, the implementation of it should be identical to Image from the forum topic: Three Issues. If it is that simple as “copy-paste” (I expect), we’ll try to include the fix to the forthcoming release.

    in reply to: Creating an index at the end of the pdf file
    #27677

    Unfortunately PD4ML does not support the feature.

    Of course the index creation cannot be fully automated. Let say you mark all significant keywords like that:

    text text keyword text text

    Currently you may generate PDF bookmarks from the markup (pd4ml.generateOutlines(false)). The bookmarks give you quick access to the marked keywords. However the bookmarks are not sorted as index assumes and they are visible only in Acroread, not in print output.

    Obviously we need to add a new proprietary tag <pd4ml:index> in order to support the feature you need. Also the keyword markup needs to be extended with a switch to make possible exclude regular document anchors:

    text text keyword text text

    or to introduce another tag for that:

    text text <pd4ml:keyword>keyword</pd4ml:keyword> text text

    If the above is acceptable by you we’ll include the feature implementation to our plans. The priority will depend on the license type you are going to purchase.

    in reply to: Three Issues
    #27645

    1. First please make sure, that the server, where PD4ML binaries are, is able to resolve “www.xxx.com” into a correct IP address and able to establish a connection to it. Often servers within intranet do not “know” their external (Internet) names, IPs or routing to the IPs.

    If the resources are on the same server where PD4ML is, it makes no practical sense to use fully specified URLs. I would suggest to use relative paths “../images/my.png” (note: there is no leading slash) or absolute web paths “/images/my.png”, but for the second option you need to invoke pd4ml.useServletContext().

    2. z-index works only for absolutely positioned elements.

    3. Currently you may apply absolute positioning to block elements (i.e. <div>, <table>) and Image from the forum topic: Three Issues elements only.

    in reply to: Nested CSS definitions not rendered
    #27467

    We fixed the issue with CSS selectors. The updated version are going to be available for download next week.

    in reply to: Hyphenation in PD4ML
    #27671

    Try to define “word-wrap: break-word” CSS property for the DIV. It should help to some extend.

    We’ll check what is wrong with ­

    in reply to: Hyphenation in PD4ML
    #27668

    ­ entity (as many other standard ones) is automatically replaced with character code #173

    in reply to: rendering absolute div inside a relative div (CSS)
    #27659

    You are right: it does not work with <div>, but with <table> it does:

    <html>
    <head>
    <title>Box Test</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    .relbox1 {
    position: relative;
    height: 100px; width: 100%;
    background-color: pink;
    }
    .absbox1 {
    border: 1px solid red;
    
    }
    -->
    </style>
    </head>
    <body>
    <table cellpadding=0 cellspacing=0 class="relbox1"><td valign=bottom>
    <div class="absbox1">this text goes<br>on bottom</div>
    </td></tr></table>
    </body>
    </html>

Viewing 15 posts - 1,291 through 1,305 (of 1,410 total)