Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #26451

    I’m having trouble getting the Inline footers to work. I’ve been able to define footers through the API with no problem but, no matter what I do, i can’t get them to show up when i’ve defined them in the html. Page breaks work perfectly

    I’d like to be able to put the footer on the last page of the document but, no matter what i do it will not display – anywhere. The html follows prior to pdf generation follows…

    Version of PD4ML library: pd4ml.prof.dotnet20.324b2

    Regards

    <html><br /> <link type="text/css" rel="Stylesheet" href="http://cobra/utopia/RateSheetStyle.css" xmlns="http://www.w3.org/TR/REC-html40" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:s="urn:schemas-microsoft-com:xml-data" xmlns:pd4ml="http://pd4ml.com/tlds/pd4ml/2.6" /><br /> <body><br /> <div xmlns="http://www.w3.org/TR/REC-html40" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:s="urn:schemas-microsoft-com:xml-data" xmlns:pd4ml="http://pd4ml.com/tlds/pd4ml/2.6"><br /> <div><br /> <table><br /> <tr><br /> <td style="padding-left:8px;padding-right:32px; "><br /> <span style="font-size:10pt; font-weight:bold;">Factor A</span><br /> </td><br /> <td style="padding-left:8px;padding-right:32px; "><br /> <span style="font-size:10pt; font-weight:bold;">Factor B</span><br /> </td><br /> </tr><br /> </table><br /> <table cellpadding="0" cellspacing="0" style="border-left:solid 1px black;"><br /> <thead><br /> <tr><br /> <th class="header_InnerCell">Class</th><br /> <th class="header_InnerCell">3/3</th><br /> <th class="header_InnerCell">6/6</th><br /> <th class="header_InnerCell">12/12</th><br /> <th class="header_InnerCell">24/24</th><br /> <th class="header_InnerCell">36/36</th><br /> </tr><br /> </thead><br /> <tbody><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">1</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">396</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">530</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">748</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1042</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1515</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">2</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">429</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">579</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">810</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1134</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1666</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">3</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">467</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">634</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">882</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1238</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1835</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">4</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">589</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">752</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1108</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1410</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">2106</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">5</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1251</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1719</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">2661</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">4282</td><br /> <td class="row_Cell" style="color:white;">&shy</td><br /> </tr><br /> </tbody><br /> </table><br /> <pd4ml:page.break /><br /> <table><br /> <tr><br /> <td style="padding-left:8px;padding-right:32px; "><br /> <span style="font-size:10pt; font-weight:bold;">Factor C</span><br /> </td><br /> <td style="padding-left:8px;padding-right:32px; "><br /> <span style="font-size:10pt; font-weight:bold;">Factor D</span><br /> </td><br /> </tr><br /> </table><br /> <table cellpadding="0" cellspacing="0" style="border-left:solid 1px black;"><br /> <thead><br /> <tr><br /> <th class="header_InnerCell">Class</th><br /> <th class="header_InnerCell">3/3</th><br /> <th class="header_InnerCell">6/6</th><br /> </tr><br /> </thead><br /> <tbody><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">1</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">455</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">640</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">2</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">496</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">704</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">3</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">539</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">776</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">4</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">687</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">929</td><br /> </tr><br /> <tr><br /> <td class="row_Cell" style="border-right:solid 1px black; border-bottom:solid 1px black; text-align:center;">5</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">1482</td><br /> <td class="row_Cell" style="border-bottom:solid 1px black;border-right:solid 1px black;">2186</td><br /> </tr><br /> </tbody><br /> </table><br /> <pd4ml:page.break /><br /> </div><br /> </div><br /> <pd4ml:page.footer height="-1" scope="skiplast" xmlns:pd4ml="http://pd4ml.com/tlds/pd4ml/2.6" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:s="urn:schemas-microsoft-com:xml-data" xmlns="http://www.w3.org/TR/REC-html40"><br /> <div style="margin-top:8px;"><br /> <span style="font-size:10pt; font-weight:bold;">Footer [INLINE]</span><br /> <hr class="thick" /><br /> <table cellpadding="0" cellspacing="0" style="width:100%;font-size:8pt;"><br /> <colgroup><br /> <col width="70%" /><br /> <col /><br /> <col /><br /> </colgroup><br /> <tr><br /> <td style="width:70%;background-color:#E9E9E9;">Option 1</td><br /> <td style="background-color:#E9E9E9;"><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;background-color:#E9E9E9;">200</td><br /> </tr><br /> <tr><br /> <td style="width:70%;">Option 2</td><br /> <td style=""><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;">25</td><br /> </tr><br /> <tr><br /> <td style="width:70%;background-color:#E9E9E9;">Option 3</td><br /> <td style="background-color:#E9E9E9;"><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;background-color:#E9E9E9;">75</td><br /> </tr><br /> <tr><br /> <td style="width:70%;">Option 4</td><br /> <td style=""><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;">100</td><br /> </tr><br /> <tr><br /> <td style="width:70%;background-color:#E9E9E9;">Option 5</td><br /> <td style="background-color:#E9E9E9;"><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;background-color:#E9E9E9;">150</td><br /> </tr><br /> <tr><br /> <td style="width:70%;">Option 6</td><br /> <td style=""><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;">175</td><br /> </tr><br /> <tr><br /> <td style="width:70%;background-color:#E9E9E9;">Option 7</td><br /> <td style="background-color:#E9E9E9;"><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;background-color:#E9E9E9;">75</td><br /> </tr><br /> <tr><br /> <td style="width:70%;">Option 8</td><br /> <td style=""><br /> <span /><br /> </td><br /> <td style="padding-right:4px;text-align:right;">100</td><br /> </tr><br /> </table><br /> <hr class="thick" /><br /> </div><br /> </pd4ml:page.footer><br /> </body><br /> </html>

    #28199

    <pd4ml:page.footer> and <pd4ml:page.header> tags do not impact current page (they applied to subsequent pages only). So if you place the definition to the very end of HTML, there is no pages anymore, to apply the footer.

    In order to resolve the issue you need to place the footer definition immediately after opening tag or before opening .

    #28200

    pd4ml:page.footer and header Inline tag not rendering in Colffusion
    I have code below to generate pdf, but why the header and footer is not display?
    please help
    thanks

    test header


    test body page 1

    test body page 2

    test body page 3

    test body page 4

    #28201

    Yes I have this problem too in coldfusion, when I try to use

    in coldfusion this generated error

    so I update the tld file page_header to add the scope attribbutes like page.header

    but after that, the header and footer still not show, anyone can help about this ??

    #28202

    A synonym for for strict environments is . Give a try to it. And make sure you use PD4ML Pro, as PD4ML Std does not support inline headers/footers.

    #28203

    yes I already use pd4ml pro.

    Maybe someone has the example how to use in coldfusion which is work

    #28204

    We plan to refresh our Coldfusion instructions in the nearest future.

    It is strange, that PD4ML works in general in your case, but headers/footers fail. Try to temporarily put just after

    Does a header appear on the second PDF page?

Viewing 7 posts - 1 through 7 (of 7 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.