Forum Replies Created
-
AuthorPosts
-
in reply to: pd4ml:header reserves space also on skipped pages October 17, 2011 at 14:47#28706
First please make sure you use PD4ML Pro. Std version ignores the header tag.
is mapped to PD4ML header definition API. It preallocates header space even for skipped pages. An alternative is to use newer tag and control the header appearance with scope attribute. In the case header space is allocated only where a header is to be printed.
in reply to: HTML/CSS rendering issues October 19, 2011 at 11:50#26619Hi
I have a web page where some part of html is being generated dynamically through javascript. This Javascript code is at bottom of the page. The dynamically generated html are simple div tags with simple styling. This html appears fine on screen in both IE and FF. Issue is that when it is converted to PDF then the dynamic part simply do not display.
What can be the possible reason?
How can I debug while converting to PDF? enableDebugInfo( ) is set but nothing abnormal appears in log.
Please help!in reply to: Troubleshooting October 19, 2011 at 23:12#26620Hi.
I have a table, and it’s rendering ok. If I, however, do something like this:
[language=html:ewc6isrb]
Bar[/language:ewc6isrb]
in the PDF, a TD with
Foo Bar
appears. Foo should be ignored, of course. But it isn’t.Is there anything I can do to solve this?
Thanks,
in reply to: Deployment / Configuration issues October 20, 2011 at 14:52#26621Actually i am using pd4ml jar file to export pdf document it is working fine from past one month ,but unexpectedly i got below error can you please share knowledge if any one knows what exactly happen in my code.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.zefer.pd4ml.PD4ML
in reply to: How to display Greek letters θ, ß in generated PDF for Java October 21, 2011 at 07:09#28296in my case i have one page starts with header and footer i fixed correctly but center part i am taking the datas dynamically it means data will increase automatically that time i need to fix the table size it means balanced data should go automatically that time i cant able to control center part table size .
Problem 1 : at same time second page i need to print header for center part table heading
Problem 2 : i fixed size of footer at first page some time footer part data will increase that time footer is moving forward to top that time center part will go next page
How to solve this problem can you guide me plsin reply to: HTML/CSS rendering issues October 24, 2011 at 11:39#26622Hi,
At first: great work, the tag looks like it is all I need. I am currently evaluating your tag for my project, so far it seems like we will use it.
However, I did notice some issues but then again, I might have a bit of a nasty use-case.
Based on certain data from the DB, I use JSP tags & pure html to create tables and charts on my page (the chart being a html table where one column is filled with a div, the div contains the images of dynamic width). To make things even more complicated, I have to use 2 divs: 1 to display a certain score in the chart and second one to create an overlay chart (standard deviation). So at first sight the complete chart looks like a mix between a bar chart and a gantt chart.
To implement this I use two relatively positioned divs in one td to produce the overlay. This works perfectly well when I display the page in HTML. However, when I transform this to PDF, the containing td cell (and the table row as well), gets blown out – the height of the row becomes about two times the necessary size and constraining the height using CSS of height attributes does not work.
<br /> <td><br /> <div id="scorediv" style="position: relative; ..."><img .../> <img ... />... </div><br /> <div id="overlay" style="position:relative; ..."><img .../><img .../></div><br /> </td><br />
The issue disappears when I use absolute positioning for the second div so I have a workaround. Just thought I will let you know…
Cheers,
Janin reply to: Caused by: java.lang.NoClassDefFoundError: Could not initial October 24, 2011 at 15:52#28709org.zefer.pd4ml.PD4ML is the main class of PD4ML. The message tells, that the class is missing or not in the classpath. I have no idea what could happen on your side, but please make sure pd4ml.jar, ss_css2.jar and optionally pd4ml_tl.jar still exist on the server and listed in the classpath or located in WEB-INF/lib directory.
in reply to: HTML comments inside TD October 24, 2011 at 16:29#28708I’ve just tested the code with the most recent version of PD4ML and was not able to reproduce the issue.
Could you please publish a PDF sample (which should help us to determine conversion parameters and PD4ML version you used) and also give a try to v380b1?
in reply to: How to display Greek letters θ, ß in generated PDF for Java October 24, 2011 at 16:41#28297Please correct if I am wrong:
Your document has a table, which at some condition can exceed the available page space, so some part of the table wraps to the next page.
Each table part needs to have a header and footer rows.
If I understand you correctly, there is only a partial solution for the issue.
pd4ml.enableSmartTableBreaks(true) forces PD4ML to replicate table headers to each page the table needs/allocates. “Table header” is a row or many rows consist of
tags only.
Unfortunately there is no way to to the trick with a kind of table footer.
in reply to: Dynamically Generated HTML not shown on converted PDF October 24, 2011 at 16:42#28707PD4ML is based on our proprietary 100% Java HTML rendering engine, which does not support JavaScript, unfortunately.
in reply to: background-position October 24, 2011 at 16:48#28580PD4ML supports almost all background properties, except positioning by right and bottom edges.
in reply to: Problem with image cache October 27, 2011 at 15:10in reply to: Troubleshooting November 1, 2011 at 20:05#26617I have using text between
tags. When PD4ML needs break page on text, its cutting part of word accents, in the rest of text of the first line of new page.in reply to: General questions / FAQ November 2, 2011 at 13:37#26623We have the java version of pd4ml and it can render 100 pdfs in about 4 seconds. The .Net version is not even close to being that fast. Has anybody had the same experience?
in reply to: General questions / FAQ November 4, 2011 at 13:15#26624I would like to know if its possible to use a different header / footer based on the page number. This is practical for printing books, where the outside edge should contain the page number. This is only possible if you can reverse the header / foot template based on even / odd page number. Thanks in advance!
-
AuthorPosts