Forum Replies Created

Viewing 15 posts - 406 through 420 (of 583 total)
  • Author
    Posts
  • in reply to: A definition of custom resource loaders
    #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
    #27260

    Hi,
    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
    #28639

    maybe you can change size of the image that used to display checkbox by pd4ml.

    in reply to: PDF page headers/footers definition options
    #27272

    Hello,
    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
    #28373

    This may be because of the fonts available for PDF generation.

    in reply to: RTF Rendering of PNGs
    #28607

    Worked great! You guys are the best

    in reply to: css @media parsing
    #28339

    We 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
    #28585

    Adding to the above post, we are using paid version of PD4ml

    in reply to: HTML rendering problem with width attribute
    #28584

    i’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
    #28582

    Simple 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>

    http://www.fichier-zip.com/2011/07/12/expodj1135/

    in reply to: HTML rendering problem with width attribute
    #28581

    sorry wrong pdf file
    i’ll update tomorow.

    in reply to: .NET and MediumTrust
    #28571

    I 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
    #28551

    Thank 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
    #27556

    Hi 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
    #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?

Viewing 15 posts - 406 through 420 (of 583 total)