Forum Replies Created

Viewing 15 posts - 3,196 through 3,210 (of 4,234 total)
  • Author
    Posts
  • in reply to: Validation of HTML CSS styles
    #29846

    I would recommend just to enclose your CSS style with HTML tags:

    [language=html:32yr1da5]


    [/language:32yr1da5]

    If it is a standalone CSS stylesheet, refer to it with tag from a minimalistic HTML as above.

    Pass the HTML to PD4ML in debug mode. PD4ML will dump to STDOUT all CSS syntax issues it detected.

    in reply to: Unexpected charter , : Coming in Console
    #29875

    The warning is printed to console only when PD4ML’s debug output is switched on.
    // pd4ml.enableDebugInfo()

    You may either switch the debug off or fix the problem code in your HTML/CSS.

    The warning comes from CSS parser. usually it is caused by an unexpected comma in a selector.

    .classname , { property: value }

    #29873

    Hmm… It does not seem there is a simple way. If the feature is critical for you, contact support pd4ml com – we’ll see what could be done.

    in reply to: Error generating PDF with Java 1.7
    #29871

    Usually it is a usual issue on UNIX/Linux environments. In order to solve it you need to run your application with -Djava.awt.headless=true JVM command line parameter.

    I wonder how you achieved it on Win7…

    #29867

    ‘Inherit Zoom’ will be supported from v398fx6

    in reply to: Error: Can not open pdf files in adobe reader
    #29878

    I’ve got the error for not opening PDF file. When file is created using PD4ml it is opened somewhere in system by any process. Now, Is that possible for me to open that file which already used by another process?. Is that possible that file is locked by that process that’s why I can’t open it?

    in reply to: Deployment / Configuration issues
    #27083

    Hello,
    I have noticed with 398fx4/fx5 that the local testing tool (“PDF Converter”, just starting the PD4ML JAR) crashes with a NPE on my machine. While 398 with no “fx” run, the new ones crash.
    The exception looks like this:
    # java -Xmx1024m -jar $$$398fx5libpd4ml.jar<br /> java.lang.NullPointerException<br /> at java.io.File.<init>(Unknown Source)<br /> at org.zefer.pd4ml.tools.PD4Browser.o00000(Unknown Source)<br /> at org.zefer.pd4ml.tools.PD4Browser.<init>(Unknown Source)<br /> at org.zefer.pd4ml.tools.PD4Browser.showGUI(Unknown Source)<br /> at org.zefer.pd4ml.tools.PD4Browser.main(Unknown Source)
    My Java version is java version “1.8.0_91” / Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

    Can you please confirm and/or tell me whether maybe newer java is needed or there another reason on my end?

    Thank you, best regards,
    Viktor

    in reply to: Troubleshooting
    #27084

    Hello
    We are using PD4ML in our platform to generate PDF files from HTML pages , there is a huge memory leak with one of the customer , the heap dump shows that a vector holding objects of type org.zefer.html.doc.b is causing the leak ( see snapshot attached ) .

    Any clue on what is causing this ? What does this object represent ( org.zefer.html.doc.b ) ?

    in reply to: Zero Width Space (U+200B) in Java 8
    #29837

    I use pdf4ml to convert html to pdf.

    And I have the same issue …

    Anyone have solution?

    in reply to: Zero Width Space (U+200B) in Java 8
    #29838

    The issue has been fixed in the DEV build. An update to be published this week.

    in reply to: Local converter 398 fx4/fx5 crash with a NPE
    #29883

    Obviously it crashes by an attempt to create a java.io.File object, whose name is prefixed by “$$$”. It is an issue of JDK1.8 as PD4ML passes a file name to the constructor “as is”.

    Is it really that necessary to name a folder using ‘$’ chars?

    in reply to: Error: Can not open pdf files in adobe reader
    #29879

    I am afraid we cannot help you with the issue analyze, based on that limited information.

    Probably there are PDF viewer application, which cannot open already opened PDFs. Acroread usually locks an opened PDF file for overwriting/modifying. But as a rule it does not block a reading by other processes.

    in reply to: General questions / FAQ
    #27082

    [attachment=0:3b5otdqe]test.pdf[/attachment:3b5otdqe]Hello

    Adding html content inline,when i tried to convert to PDF its breaking few of the sections.

    Attaced converted pdf

    please help me what i am doing wrong.

    I am using pd4ml-385fx1 version

    when i used 350b6 it worked perfectly.

    <html> <meta charset="UTF-8"> <link href="../../../css/oca.css" rel="stylesheet" type="text/css"/> <style>.break {page-break-before: always;color: #000000;font-family: calibri;}</style><div id="creditReqAndContactInfovfs_tab"><label><font size="5">Credit Request & Contact Info</font></label></div><br><div id="26247292045700__ADFPV342176"><label class="tdbg10"><b>Company Information</b></label><br /> <table width="100%" bgcolor="#D4D4D4" class="default"><br /> <tbody><tr class="tdbg" valign="top" bgcolor="#D4D4D4"><br /> <td width="50%"><br /> <table id="26247292045700__ADFPV342176-SEC-1" width="100%" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Is company affiliated to another company?</div></td><td width="75%" bgcolor="#D4D4D4"><select id="companyAffiliatedToAnotherCompany" name="companyAffiliatedToAnotherCompany" onchange="javascript:updateDOM(this,false);" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" width="200" value="" class="valid" disabled=""><option name="" value="" title=""></option><option name="No" value="No" title="No" selected="selected">No</option><option name="No" value="No" title="No" selected="selected">No</option><option name="Yes" value="Yes" title="Yes">Yes</option></select></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">City</div></td><td width="75%" bgcolor="#D4D4D4"><input id="companyCity" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="companyCity" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Test Type<font class="mandate">* </font></div></td><td width="75%" bgcolor="#D4D4D4"><select id="mapCustDetailsAcctRad_customerType_109" name="mapCustDetailsAcctRad_customerType_109" onchange="javascript:updateDOM(this,false);" class="required valid" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" width="200" disabled=""><option name="" value="" title=""></option><option name="Privately held business" value="Privately held business" title="null">Privately held business</option><option name="Publicly traded company" value="Publicly traded company" title="null">Publicly traded company</option><option name="Education" value="Education" title="null" selected="selected">Education</option><option name="Organizations" value="Organizations" title="null">Organizations</option></select></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Zip Code</div></td><td width="75%" bgcolor="#D4D4D4"><input id="companyZipCode" name="companyZipCode" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" onblur="javascript:updateDOM(this,false);" type="text" data-maxsize="250" class="valid" disabled="" value=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Email<font class="mandate">* </font></div></td><td width="75%" bgcolor="#D4D4D4"><input id="companyEmail" name="companyEmail" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:validateEmail(this.id);" onchange="javascript:updateDOM(this,false);" type="text" data-maxsize="250" value="abc@gmail.com" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Phone Number</div></td><td width="75%" bgcolor="#D4D4D4"><input id="companyPhoneNumber" name="companyPhoneNumber" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" onchange="javascript:updateDOM(this,false);" type="text" class="valid" disabled="" value=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">TestPhone</div></td><td width="75%" bgcolor="#D4D4D4"><input id="TestPhone_130125031848" name="TestPhone_130125031848" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" onchange="javascript:updateDOM(this,false);" type="text" class="valid" disabled="" value=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td colspan="2"> <table width="100%"><tbody><tr><td width="10%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 75px;">G_1</div></td><td width="90%" bgcolor="#D4D4D4"><div><table width="100%" border="0" style="border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><tbody><br /> <br /> <input type="hidden" name="G_1_121220010945" class="tableHidden" id="G_1_121220010945tableId" value="1" disabled=""><br /> <input type="hidden" id="G_1_121220010945length" value="1" disabled=""><tr class="tdbg" style="font-family: calibri; font-size:13px;" valign="middle" bgcolor="#D4D4D4"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" valign="top" bgcolor="#D4D4D4"> <br /> <table id="G_1_121220010945table" cellpadding="0" cellspacing="0" bgcolor="white" width="100%" border="1" style=" border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><br /> <thead><tr><th style="border:1px #9E9E9E solid;width:27px">Sel</th><br /> <th width="100%" style="border:1px #9E9E9E solid;">G_1</th><br /> </tr><tr><td><input type="checkbox" name="G_1_1212200109450" style="width: 20px; border:1px #9E9E9E solid" class="valid" disabled=""></td><td><table id="G_1_121220010945_trs1" width="100%" cellspacing="0" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">use3</div></td><td width="75%" bgcolor="#D4D4D4"><input id="use3_121220010435" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="use3_121220010435" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr></tbody></table></td></tr></thead><br /> </table><br /> </td><td width="10%" bgcolor="#D4D4D4"> </td><br /> </tr><br /> <tr style="font-family: calibri; font-size:13px;"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" style="border:0px"><table><tbody><tr style="font-family: calibri; font-size:13px;"><td width="50%" style="border:0px"><input id="addbottomG_1_121220010945table" type="button" value="Add G_1" onclick="doAddG13154()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> <td width="50%" style="border:0px"><input id="deletebottomG_1_121220010945table" type="button" value="Delete G_1" onclick="doDeleteG13154()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> </tr></tbody></table></td><td width="10%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody><br /> </table></div><br /> </td></tr></tbody></table></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">SSN_O</div></td><td width="75%" bgcolor="#D4D4D4"><input id="mapCustDetailsAcctRad_ssn_109" origtype="ssn" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="mapCustDetailsAcctRad_ssn_109" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td colspan="2"> <table width="100%"><tbody><tr><td width="10%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 75px;">12w23</div></td><td width="90%" bgcolor="#D4D4D4"><div><table width="100%" border="0" style="border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><tbody><br /> <br /> <input type="hidden" name="12w23_151026011254" class="tableHidden" id="12w23_151026011254tableId" value="1" disabled=""><br /> <input type="hidden" id="12w23_151026011254length" value="1" disabled=""><tr class="tdbg" style="font-family: calibri; font-size:13px;" valign="middle" bgcolor="#D4D4D4"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" valign="top" bgcolor="#D4D4D4"> <br /> <table id="12w23_151026011254table" cellpadding="0" cellspacing="0" bgcolor="white" width="100%" border="1" style=" border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><br /> <thead><tr><th style="border:1px #9E9E9E solid;width:27px">Sel</th><br /> <th width="100%" style="border:1px #9E9E9E solid;">12w23</th><br /> </tr><tr><td><input type="checkbox" name="12w23_1510260112540" style="width: 20px; border:1px #9E9E9E solid" class="valid" disabled=""></td><td><table id="12w23_151026011254_trs1" width="100%" cellspacing="0" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Credit Manager</div></td><td width="75%" bgcolor="#D4D4D4"><input id="creditManager" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="creditManager" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr></tbody></table></td></tr></thead><br /> </table><br /> </td><td width="10%" bgcolor="#D4D4D4"> </td><br /> </tr><br /> <tr style="font-family: calibri; font-size:13px;"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" style="border:0px"><table><tbody><tr style="font-family: calibri; font-size:13px;"><td width="50%" style="border:0px"><input id="addbottom12w23_151026011254table" type="button" value="Add 12w23" onclick="doAdd12w2312417()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> <td width="50%" style="border:0px"><input id="deletebottom12w23_151026011254table" type="button" value="Delete 12w23" onclick="doDelete12w2312417()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> </tr></tbody></table></td><td width="10%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody><br /> </table></div><br /> </td></tr></tbody></table></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Credit Account Requested</div></td><td width="75%" bgcolor="#D4D4D4"><input id="CreditAccountRequested_160222025426" type="checkbox" name="CreditAccountRequested_160222025426" value="yes" onblur="javascript:updateDOM(this,false);" class="valid" disabled="">yes   <input id="CreditAccountRequested_160222025426" type="checkbox" name="CreditAccountRequested_160222025426" value="No's" onblur="javascript:updateDOM(this,false);" class="valid" disabled="">No's   </td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"> </td><td width="75%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody></table><br /> </td><br /> <td class="labelborder" bgcolor="grey" width="1" height="100%"></td><br /> <td width="50%"><br /> <table id="26247292045700__ADFPV342176-SEC-2" width="100%" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">SSN_N</div></td><td width="75%" bgcolor="#D4D4D4"><input id="SSN_130409060851" origtype="ssn" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="SSN_130409060851" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td colspan="2"> <table width="100%"><tbody><tr><td width="10%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 75px;">aaaa</div></td><td width="90%" bgcolor="#D4D4D4"><div><table width="100%" border="0" style="border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><tbody><br /> <br /> <input type="hidden" name="aaaa_130104044904" class="tableHidden" id="aaaa_130104044904tableId" value="1" disabled=""><br /> <input type="hidden" id="aaaa_130104044904length" value="1" disabled=""><tr class="tdbg" style="font-family: calibri; font-size:13px;" valign="middle" bgcolor="#D4D4D4"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" valign="top" bgcolor="#D4D4D4"> <br /> <table id="aaaa_130104044904table" cellpadding="0" cellspacing="0" bgcolor="white" width="100%" border="1" style=" border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><br /> <thead><tr><th style="border:1px #9E9E9E solid;width:27px">Sel</th><br /> <th width="100%" style="border:1px #9E9E9E solid;">aaaa</th><br /> </tr><tr><td><input type="checkbox" name="aaaa_1301040449040" style="width: 20px; border:1px #9E9E9E solid" class="valid" disabled=""></td><td><table id="aaaa_130104044904_trs1" width="100%" cellspacing="0" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Bank Name</div></td><td width="75%" bgcolor="#D4D4D4"><input id="BankingInformationBankName_std" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="BankingInformationBankName_std" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Phone Number (3)</div></td><td width="75%" bgcolor="#D4D4D4"><input id="TradeReferencePhoneNumber3_std" name="TradeReferencePhoneNumber3_std" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" onchange="javascript:updateDOM(this,false);" type="text" class="valid" disabled="" value=""></td></tr></tbody></table></td></tr></thead><br /> </table><br /> </td><td width="10%" bgcolor="#D4D4D4"> </td><br /> </tr><br /> <tr style="font-family: calibri; font-size:13px;"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" style="border:0px"><table><tbody><tr style="font-family: calibri; font-size:13px;"><td width="50%" style="border:0px"><input id="addbottomaaaa_130104044904table" type="button" value="Add aaaa" onclick="doAddaaaa4053()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> <td width="50%" style="border:0px"><input id="deletebottomaaaa_130104044904table" type="button" value="Delete aaaa" onclick="doDeleteaaaa4053()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> </tr></tbody></table></td><td width="10%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody><br /> </table></div><br /> </td></tr></tbody></table></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">check box</div></td><td width="75%" bgcolor="#D4D4D4"><input id="checkbox_160513224904" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="checkbox_160513224904" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">accept</div></td><td width="75%" bgcolor="#D4D4D4"><input id="accept_120927013307yes" name="accept_120927013307" type="radio" value="yes" onchange="disableButton('accept_120927013307yes')" onblur="updateDOM(this,false)" onclick="updateDOM(this,false)" checked="checked" class="valid" disabled="">yes   <input id="accept_120927013307no" name="accept_120927013307" type="radio" value="no" onchange="disableButton('accept_120927013307yes')" onblur="updateDOM(this,false)" onclick="updateDOM(this,false)" class="valid" disabled="">no   </td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"> </td><td width="75%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody></table><br /> </td><br /> </tr><br /> </tbody></table><br /> </div><br><div id="26303214023602__ADFPV342176"><label class="tdbg10"><b>General Information</b></label><br /> <table width="100%" bgcolor="#D4D4D4" class="default"><br /> <tbody><tr class="tdbg" valign="top" bgcolor="#D4D4D4"><br /> <td width="100%"><br /> <table id="26303214023602__ADFPV342176-SEC-1" width="100%" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Company Name<font class="mandate">* </font></div></td><td width="75%" bgcolor="#D4D4D4"><input id="companyName" origtype="null" value="testing" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="companyName" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" class="required valid" minlength="1" type="text" data-maxsize="250" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Years in Business</div></td><td width="75%" bgcolor="#D4D4D4"><input id="yearsInBusiness" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="yearsInBusiness" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Business Type</div></td><td width="75%" bgcolor="#D4D4D4"><select onchange="javascript:changeBusinessType(this.id),manageDependentFields(),updateDOM(this,false);" id="businessType" name="businessType" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" width="200" class="valid" disabled=""><option name="" value="" title=""></option><option name="LicensedSportsGoods" value="Licensed Sports Goods" title="Licensed Sports Goods">Licensed Sports Goods</option><option name="OccupationalApparel" value="Occupational Apparel" title="Occupational Apparel">Occupational Apparel</option></select></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Business Description</div></td><td width="75%" bgcolor="#D4D4D4"><select onchange="javascript:enableDisableVfsBusinessDec(this.id),manageDependentFields(),updateDOM(this,false);" id="vfBusinessDescription" name="vfBusinessDescription" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" width="200" class="valid" disabled=""><option name="" value="" title=""></option><option name="PleaseSelectBusinessType" value="Please Select Business Type" title="Please Select Business Type" selected="selected">Please Select Business Type</option></select></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Please specify (If other business description)</div></td><td width="75%" bgcolor="#D4D4D4"><input id="businessDescriptionOthersField" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="businessDescriptionOthersField" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">How did you hear about Vf imagewear Inc.?</div></td><td width="75%" bgcolor="#D4D4D4"><select id="howdidyouhearaboutvfimagewearinc" name="howdidyouhearaboutvfimagewearinc" onchange="javascript:updateDOM(this,false),manageDependentFields();" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" width="200" value="" class="valid" disabled=""><option name="" value="" title=""></option><option name="Trade Show " value="Trade Show " title="Trade Show ">Trade Show </option><option name="Web " value="Web " title="Web ">Web </option><option name="Free form text " value="Free form text " title="Free form text ">Free form text </option><option name="Others,Please Specify" value="Others,Please Specify" title="Others,Please Specify">Others,Please Specify</option></select></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Please specify (if others)</div></td><td width="75%" bgcolor="#D4D4D4"><input id="howdidyouhearaboutvfimagewearincOthersField" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="howdidyouhearaboutvfimagewearincOthersField" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;"></div></td><td width="75%" bgcolor="#D4D4D4">Please describe content, deadlines, etc. VF Imagewear will provide pricing information once your information is received and approved</td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Comments</div></td><td width="75%" bgcolor="#D4D4D4"><textarea id="PleaseDescribeContentDeadlinesetcvfs" name="PleaseDescribeContentDeadlinesetcvfs" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" data-maxsize="250" cols="38" rows="5" class="valid" disabled="" style="color: rgb(0, 0, 0); border: 1px solid rgb(158, 158, 158); background: rgb(255, 255, 255);"></textarea></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"></td><td width="75%" bgcolor="#D4D4D4"><input id="aggrement_standard_43" type="checkbox" onblur="javascript:updateDOM(this,false);" checked="checked" name="aggrement_standard_43" class="required valid" value="<font color=red>*</font> Yes, I have read and agree to the personal guarantee terms above." disabled=""><font color="red">*</font> Yes, I have read and agree to the personal guarantee terms above.   </td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="30%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Please use mouse to draw your Signature and click Save Signature button</div></td><td width="70%" bgcolor="#D4D4D4"><br /> <div id="dsSignPanel" title="ds" class="jsignature"><div style="padding:0 !important;margin:0 !important;width: 100% !important; height: 0 !important;margin-top:-1em !important;margin-bottom:1em !important;"></div><canvas class="jSignature" width="300" height="100" style="margin: 0px; padding: 0px; border: none; height: 100px; width: 300px;"></canvas><div style="padding:0 !important;margin:0 !important;width: 100% !important; height: 0 !important;margin-top:-1.5em !important;margin-bottom:1.5em !important;"></div></div><br /> <div id="dsDisable" style="display:none" class="jsignature_disable"><br /> </div><br /> <div id="dsDiv"><br /> <input value="Save Signature" id="dsSignPanelSave" type="button" onclick="javascript:setSignBytes('ds');" class="valid" style="visibility: hidden;" disabled=""><br /> <input value="Clear" id="dsSignPanelClear" type="button" onclick="$('#dsSignPanel').jSignature('clear')" class="valid" style="visibility: hidden;" disabled=""><br /> <input style="display: none; visibility: hidden;" value="Clear and Sign Again" id="dsSignPanelEditClear" type="button" onclick="javascript:clearWithNewSignPanel('ds');" disabled=""><br /> </div><br /> <input id="ds" type="hidden" name="ds" value="" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"> </td><td width="75%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody></table><br /> </td><br /> </tr><br /> </tbody></table><br /> </div><div id="test__62424251991878__ADFPV342176_tab" class="break"><label><font size="5">test</font></label></div><br><div id="test__62432721866960__ADFPV342176"><label class="tdbg10"><b>test</b></label><br /> <table width="100%" bgcolor="#D4D4D4" class="default"><br /> <tbody><tr class="tdbg" valign="top" bgcolor="#D4D4D4"><br /> <td width="50%"><br /> <table id="test__62432721866960__ADFPV342176-SEC-1" width="100%" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td colspan="2"> <table width="100%"><tbody><tr><td width="10%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 75px;">C_Grp</div></td><td width="90%" bgcolor="#D4D4D4"><div><table width="100%" border="0" style="border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><tbody><br /> <br /> <input type="hidden" name="C_Grp_121220071330" class="tableHidden" id="C_Grp_121220071330tableId" value="1" disabled=""><br /> <input type="hidden" id="C_Grp_121220071330length" value="1" disabled=""><tr class="tdbg" style="font-family: calibri; font-size:13px;" valign="middle" bgcolor="#D4D4D4"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" valign="top" bgcolor="#D4D4D4"> <br /> <table id="C_Grp_121220071330table" cellpadding="0" cellspacing="0" bgcolor="white" width="100%" border="1" style=" border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><br /> <thead><tr><th style="border:1px #9E9E9E solid;width:27px">Sel</th><br /> <th width="100%" style="border:1px #9E9E9E solid;">C_Grp</th><br /> </tr><tr><td><input type="checkbox" name="C_Grp_1212200713300" style="width: 20px; border:1px #9E9E9E solid" class="valid" disabled=""></td><td><table id="C_Grp_121220071330_trs1" width="100%" cellspacing="0" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Processor</div></td><td width="75%" bgcolor="#D4D4D4"><input id="processor" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="processor" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr></tbody></table></td></tr></thead><br /> </table><br /> </td><td width="10%" bgcolor="#D4D4D4"> </td><br /> </tr><br /> <tr style="font-family: calibri; font-size:13px;"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" style="border:0px"><table><tbody><tr style="font-family: calibri; font-size:13px;"><td width="50%" style="border:0px"><input id="addbottomC_Grp_121220071330table" type="button" value="Add C_Grp" onclick="doAddCGrp3543()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> <td width="50%" style="border:0px"><input id="deletebottomC_Grp_121220071330table" type="button" value="Delete C_Grp" onclick="doDeleteCGrp3543()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> </tr></tbody></table></td><td width="10%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody><br /> </table></div><br /> </td></tr></tbody></table></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"> </td><td width="75%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody></table><br /> </td><br /> <td class="labelborder" bgcolor="grey" width="1" height="100%"></td><br /> <td width="50%"><br /> <table id="test__62432721866960__ADFPV342176-SEC-2" width="100%" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td colspan="2"> <table width="100%"><tbody><tr><td width="10%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 75px;">DemoGroupField</div></td><td width="90%" bgcolor="#D4D4D4"><div><table width="100%" border="0" style="border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><tbody><br /> <br /> <input type="hidden" name="DemoGroupField_130801011928" class="tableHidden" id="DemoGroupField_130801011928tableId" value="1" disabled=""><br /> <input type="hidden" id="DemoGroupField_130801011928length" value="1" disabled=""><tr class="tdbg" style="font-family: calibri; font-size:13px;" valign="middle" bgcolor="#D4D4D4"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" valign="top" bgcolor="#D4D4D4"> <br /> <table id="DemoGroupField_130801011928table" cellpadding="0" cellspacing="0" bgcolor="white" width="100%" border="1" style=" border:1px #9E9E9E solid; font-size:13px; font-family: calibri;"><br /> <thead><tr><th style="border:1px #9E9E9E solid;width:27px">Sel</th><br /> <th width="100%" style="border:1px #9E9E9E solid;">DemoGroupField</th><br /> </tr><tr><td><input type="checkbox" name="DemoGroupField_1308010119280" style="width: 20px; border:1px #9E9E9E solid" class="valid" disabled=""></td><td><table id="DemoGroupField_130801011928_trs1" width="100%" cellspacing="0" border="0"><tbody><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">Email (1)</div></td><td width="75%" bgcolor="#D4D4D4"><input id="OwnerEmail1_std" origtype="null" value="" onkeyup="javascript:changeUpper(this.id,this.value);" onblur="javascript:updateDOM(this,false);" name="OwnerEmail1_std" size="40" style="border: 1px solid rgb(158, 158, 158); font-size: 13px; font-family: calibri; color: rgb(0, 0, 0); background: rgb(255, 255, 255);" type="text" data-maxsize="250" class="valid" disabled=""></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"><div style="word-wrap: break-word; width: 150px;">file1<br><font size="1" color="#8b4513"><i>[Note:Upload less than 10MB]</i></font></div></td><td width="75%" bgcolor="#D4D4D4"><table border="0"><tbody><tr><td><input id="file1_120914042631" width="100%" onchange="checkFileExtension('file1_120914042631')" onblur="javascript:updateDOM(this,false);" name="file1_120914042631" type="file" class="valid" style="visibility: hidden;" disabled=""></td><td></td><td width="40%"><input name="file1_120914042631" id="file1_120914042631button" type="button" class="reset valid" title="Reset" onclick="javascript:resetFile(this.name);" style="visibility: hidden;" disabled=""><div id="file1_1209140426311"></div></td></tr></tbody></table></td></tr></tbody></table></td></tr></thead><br /> </table><br /> </td><td width="10%" bgcolor="#D4D4D4"> </td><br /> </tr><br /> <tr style="font-family: calibri; font-size:13px;"><br /> <td width="10%" bgcolor="#D4D4D4"> </td><br /> <td width="80%" style="border:0px"><table><tbody><tr style="font-family: calibri; font-size:13px;"><td width="50%" style="border:0px"><input id="addbottomDemoGroupField_130801011928table" type="button" value="Add DemoGroupField" onclick="doAddDemoGroupField5365()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> <td width="50%" style="border:0px"><input id="deletebottomDemoGroupField_130801011928table" type="button" value="Delete DemoGroupField" onclick="doDeleteDemoGroupField5365()" style="border: 1px solid rgb(158, 158, 158); visibility: hidden;" class="valid" disabled=""></td><br /> </tr></tbody></table></td><td width="10%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody><br /> </table></div><br /> </td></tr></tbody></table></td></tr><tr class="tdbg" valign="top" height="30" bgcolor="#D4D4D4"><td width="25%" bgcolor="#D4D4D4"> </td><td width="75%" bgcolor="#D4D4D4"> </td></tr><br /> </tbody></table><br /> </td><br /> </tr><br /> </tbody></table><br /> </div></html>

    in reply to: Error: Can not open pdf files in adobe reader
    #29880

    I’ve got a temporary solution that when I’m rendering PDF file using pd4ml.render(),
    the memory stream I’m using is defined under ‘using(){}’ keyword.
    like following:
    <br /> using(MemoryStream stream=new MemoryStream(path,FileMode.CreateNew))<br /> {<br /> pd4ml.Render(path,stream);<br /> }<br />

    in reply to: HTML/CSS rendering issues
    #27085

    I can not parse thai font with taglib but on pd4ml.render() is worked.

    I have a license of pd4ml and waiting for your answer since last friday(24.06.16).

    So that I think I should ask on this forum better.

    ======== my code ===========
    Dear PD4ML Team

    I have coded program with jsp language and found this code could not show the right character.
    So that I would like to ask how I code the right way?

    By the way, when I coded with java below it shows right font.
    [
    File tempFile = File.createTempFile( “pd4ml”, “.pdf” );
    java.io.FileOutputStream fos = new java.io.FileOutputStream( tempFile );

    PD4ML pd4ml = new PD4ML();
    pd4ml.setHtmlWidth( 800 );
    pd4ml.useAdobeFontMetrics(true);
    pd4ml.useTTF( “/Volumes/Macintosh HD BK/project/convertpdf/fonts”, true );
    pd4ml.render( “http://www.xxxxxx.com/view?date=16/06/2016&#8221;);
    ]

    For JSP I follow these step below

    1. First step: This is file jsp

    <%@ taglib uri="/pd4ml" prefix="pd4ml" %><%@page contentType="text/html; charset=UTF-8"%><%String aim="Aimmy ศาธิญา";%>
    <%=aim %>



    Insert title here


    1.Hello <%=aim %>


    2.Hello, New Page! สวัสดี


    3.Hello, New Page! สวัสดีจ้า


    4.Hello, New Page! สวัสดีจ้า


    5.Hello, New Page! สวัสดีจ้า


    Step 2 and 5 is in attached file
    2. [attachment=1:zlpdssy9]Screen Shot 2559-06-24 at 3.04.51 PM.png[/attachment:zlpdssy9]

    3. Third step: This is file pd4fonts.properties

    KaiTi_GB2312=SIMKAI.TTF
    AngsanaUPC=AngsaUPC.TTF
    Arial=Arial.ttf
    Arial Italic=ArialItalic.ttf
    Arial Bold=ArialBold.ttf
    Arial Bold Italic=ArialBoldItalic.ttf
    Tahoma=Tahoma.ttf
    Tahoma Bold=Tahoma Bold.ttf
    SukhumvitRegular=sukhumvitreg-webfont.ttf
    SukhumvitBold=sukhumvitbold-webfont.ttf

    4. Fourth step: web.xml



    /pd4ml
    /WEB-INF/tlds/pd4ml.tld


    5.[attachment=0:zlpdssy9]Screen Shot 2559-06-24 at 3.10.14 PM.png[/attachment:zlpdssy9]

    ========end my code =========

    Thank you.

Viewing 15 posts - 3,196 through 3,210 (of 4,234 total)