|
Rank: Member Groups: Member
Joined: 5/19/2016 Posts: 11
|
Hi
I have couple of issues when transform HTML to PDF with EO.Pdf , please advice.
1. We have a DIV menu on left top most of the HTML , after PDF conversion menu is going towards the last PDF page. Any solution to fix this problem ?
2. Correct JavaScript calculated value outputs are not exporting to PDF. sample code below.
<div class="col-4 " > <p class="h4-label fill-gauge-position">TLTV</p> <xsl:choose> <xsl:when test = "LOAN_FEEDBACK/@LoanProspectorInitialTotalLTVRatio"> <div id="TLTV"></div> <script type="text/javascript"> var TLTV= <xsl:value-of select="LOAN_FEEDBACK/@LoanProspectorInitialTotalLTVRatio"/> start('TLTV',TLTV); </script> </xsl:when> <xsl:otherwise> <p class="na-gray na-style">N/A</p> </xsl:otherwise> </xsl:choose> </div>
function start(divname, percent) { var rp1 = radialProgress(document.getElementById(divname)).diameter(200) .value(percent).render();
}
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi, We can not find anything just by looking at your source file. There are a number of things you can try: 1. You can try to set HtmlToPdf.Options.ZoomLevel to a value smaller than 1 and see if that fixes the layout issue; 2. Use the JavaScript debug console feature to see if you have any JavaScript error: http://www.essentialobjects.com/doc/pdf/htmltopdf/js.aspx3. Use Google Chrome browser to verify your output page to see if it renders correctly; 4. Download our latest version from our download page and see if it creates the correct output. Our latest version uses a much newer browser engine. So your page may not work correctly with the old version but may work correctly with the new version; Thanks!
|
|
Rank: Member Groups: Member
Joined: 5/19/2016 Posts: 11
|
hi
Since I am unable to upload/attach any screen shot finding difficulty in sharing more details.
Do we have any option available to do this ?
Thanks Arun Lal
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,229
|
Hi,
We won't be able to tell you much just from the screenshot. Also since your tech support has expired long ago, we will only point you to the right direction on this. You can try to follow the above steps and see if it resolves the issue for you.
Thanks!
|
|