Forum Replies Created
-
AuthorPosts
-
in reply to: Creating an index at the end of the pdf file December 14, 2009 at 11:21#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 December 14, 2009 at 11:06#27680Orphans 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) December 13, 2009 at 16:14#27662TD+TD+TD is fixed by v360b1
in reply to: Html/CSS rendering issue December 13, 2009 at 16:10in reply to: Any way to repeat table headers? December 11, 2009 at 16:36#27612enableTableBreaks(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 December 11, 2009 at 16:14#27657I 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 December 11, 2009 at 15:33#27663It 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 December 10, 2009 at 16:16#27649We’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 December 10, 2009 at 15:27#27643I guess we’ve forgotten to add the absolute positioning possibility to
<input>. From Java coding perspective, the implementation of it should be identical to. 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 December 10, 2009 at 15:18#27677Unfortunately 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 textIf 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 December 10, 2009 at 14:53#276451. 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>) andelements only.
in reply to: Nested CSS definitions not rendered December 4, 2009 at 16:31#27467We fixed the issue with CSS selectors. The updated version are going to be available for download next week.
in reply to: Hyphenation in PD4ML December 4, 2009 at 14:07#27671Try 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 December 3, 2009 at 17:21#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) December 1, 2009 at 18:03#27659You 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> -
AuthorPosts
