Forum Replies Created
-
AuthorPosts
-
in reply to: A definition of custom resource loaders September 5, 2011 at 19:15#27262
Hi,
Do you have any example code for using the Custom Resource loader using Java/JSP.
I have this code in my Filter :
map.put( "pd4ml.extra.resource.loaders", "CustomFileResourceProvider"); pd4ml.setDynamicParams(map);
But I don’t see CustomFileResourceProvider getting called.
Any help would be really appreciated?
Thanks
in reply to: A definition of custom resource loaders August 29, 2011 at 21:04#27260Hi,
I need to extract multiple images from database and put them on the PDF.
Is there a way I can pass the InputStream of the image as an arguement to the ResourceProvider.Thanks
in reply to: css style control of checkbox will lose after convert to pdf August 28, 2011 at 14:10#28639maybe you can change size of the image that used to display checkbox by pd4ml.
in reply to: PDF page headers/footers definition options August 24, 2011 at 08:39#27272Hello,
Did you find the solution for footer issue mentioned?I am also facing the same problem.in reply to: Problems with multi-language characters/unicode August 4, 2011 at 04:37#28373This may be because of the fonts available for PDF generation.
in reply to: RTF Rendering of PNGs July 25, 2011 at 21:46#28607Worked great! You guys are the best
in reply to: css @media parsing July 15, 2011 at 10:51#28339We have a similar problem where we have the following in our css
@media screen and (-webkit-min-device-pixel-ratio:0) { div.gridDefault .ASC, div.gridDefault .DESC{ display: -webkit-inline-box; } div.cellIn { display: table-cell; padding-top: 0px; width: 20px; } }But we are getting a
org.w3c.css.sac.CSSException: Encountered "and" at line 1, column 34370. > Was expecting one of: > <S> ... > "{" ... > "," ... > > at com.steadystate.css.parser.SACParser.parseStyleSheet(Unknown Source) > at org.zefer.html.doc.css.d.Ò00000(Unknown Source) > at org.zefer.html.doc.css.c.super(Unknown Source) > at org.zefer.html.doc.PD4MLHtmlParser.buildDocument(Unknown Source) > at org.zefer.pd4ml.PD4ML.o00000(Unknown Source) > at org.zefer.pd4ml.PD4ML.render(Unknown Source)Can you please let me know the solution to this issue?
in reply to: Problem with PDF Width July 14, 2011 at 08:08#28585Adding to the above post, we are using paid version of PD4ml
in reply to: HTML rendering problem with width attribute July 13, 2011 at 12:19#28584i’ve update again and it’s ok now.
first update wasn’t ok i think
thanks !in reply to: HTML rendering problem with width attribute July 12, 2011 at 08:28#28582Simple HTML
Bad render in PDF cf file join
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'> <html> <head> <title>TITRE</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <meta http-equiv='Expires' content='0'> <meta content='no-cache' name='Pragma'> <meta content='no-cache' name='Cache-Control'> <style type='text/css'> .div1{ border: 1px solid yellow; width:800px; } .div2{ border: 1px solid red; float:left; width:50%; } .div3{ border: 1px solid green; float:left; width:50px; } </style> </head> <body> <div class="div1"> <div class="div2">AAAA</div> <div class="div3">BBB</div> </div> </body> </html>in reply to: HTML rendering problem with width attribute July 11, 2011 at 20:25#28581sorry wrong pdf file
i’ll update tomorow.in reply to: .NET and MediumTrust July 5, 2011 at 17:31#28571I have downloaded the demo and answered #2 – it does function as we need.
However, being that our application is in MediumTrust, our code requires the AllowPartiallyTrustedCallersAttribute. When attempting to load the PD4ML library, it does not allow partially trusted callers. Is it possible to get a build with that attribute added, or would we need to purchase the full source license and compile ourselves?
in reply to: rendering <a> tags so they are still clickable in pdf June 9, 2011 at 16:34#28551Thank you for the prompt response. I discovered that the problem was not with pd4ml, but with the iText code I was using to merge multiple pdf files together with. Pd4ml is creating the hyperlinks in pdfs perfectly.
in reply to: page-break-inside: avoid Not Working June 1, 2011 at 03:41#27556Hi PD4ML team,
I got a page-break-inside problem here:
for example, I have two tables: table1 and table 2, the are rendered in one html page, when print, table 1 is half page height, and table 2 is one and half page height. I add page-break-inside on both tables, when print with PDF, table 2 actually is not start with a new page, but after the table 1 in the same page. Interesting thing is, if table2 is one or less than one page height, it will start with new page.
Is this a bug? or just by design of pd4ml? I’m really confused.
Waiting for your response.
Thanks,
Rock
in reply to: How Split a Table Header In Each Page May 23, 2011 at 05:34#28223@ustarhk wrote:
I have the following CSS and table html
tr.noBreakCell{ page-break-inside:avoid; }<table> <tr> <th>header 1</th> <th>header 2</th> <th>header 3</th> <th>header 4</th> </tr> <tr class='noBreakCell'> <td>cell 1</td> <td>cell 2</td> <td>cell 3</td> <td>cell 4</td> </tr> <tr class='noBreakCell'> <td>cell 1</td> <td>cell 2</td> <td>cell 3</td> <td>cell 4</td> </tr> ... <tr class='noBreakCell'> <td>cell 1</td> <td>cell 2</td> <td>cell 3</td> <td>cell 4</td> </tr> </table>
I have a number of tr row with class = noBreakCell, I found that when I not use:
pd4mlObj.enableSmartTableSplit(true);the table is break while row does not break inside, this is fine.
But I try to have the table header repeat on different page, it turns out that the whole table is being moved to the next page instead of splitting into multiple page, did I use anything wrongly?
-
AuthorPosts
