HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › HTML/CSS rendering issues › png images errors while parsing › Re: Re: png images errors while parsing
April 6, 2011 at 06:47
#28469
hello
please find the PNG that causes the parsing problem attached to the message . also find html that includes the image below
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Page</title>
</head>
<body>
<table border="0" width="648" id="table1" cellspacing="0" cellpadding="0" style="border-collapse: collapse">
<tr id="controlspacebar">
<td>
</td>
</tr>
<tr id="controlbar">
<td>
<span style="cursor: hand;">
<img alt="?????" title="?????" src="/images/ecs/images/icon_print.gif" onclick=" printDoc();" /></span>
<span style="cursor: hand;">
<img width="32" height="32" alt="?????" src="/images/ecs/images/headersig.png" onclick=" printPDF(1,0,'264','1','060062069078088094'); " />
</span><span style="cursor: hand;">
<img width="32" height="32" alt="????? ??? ??????" src="/images/ecs/images/noheadersig.png"
onclick=" printPDF(0,0,'264','1','060062069078088094'); " />
</span><span style="cursor: hand;">
<img width="32" height="32" alt="????? ????" src="/images/ecs/images/headernosig.png"
onclick=" printPDF(1,1,'264','1','060062069078088094');" />
</span><span style="cursor: hand;">
<img width="32" height="32" alt="????? ???? ??? ??????" src="/images/ecs/images/noheadernosig.png"
onclick="printPDF(0,1,'264','1','060062069078088094'); " />
</span><span style="cursor: hand;">
<img width="32" height="32" alt="????? ??? ??????" src="/images/ecs/images/signature.gif"
onclick=" hideHeader(); printDoc(); showHeader(); " />
</span><span style="cursor: hand;">
<img width="32" height="32" alt="????? ????" src="/images/ecs/images/signature.gif"
onclick=" hideSign(); printDoc(); displaySign(); " />
</span><span style="cursor: hand;">
<img width="32" height="32" alt="????? ???? ??? ??????" src="/images/ecs/images/signature.gif"
onclick=" hideSign(); hideHeader(); printDoc(); displaySign(); showHeader(); " />
</span><span style="cursor: hand;">
<img id="inboxnote" width="32" height="32" alt="???????" src="/images/ecs/images/Chat_01.gif"
onclick=" hideall(); showhide(this,'sendlayer'); var url='http://aghqsrv97.auh.police:80/ecs/ECS_016.viewnotes?p_lang=&P_DOCUMENTNUMBER=264&P_TRANSACTION_NUMBER='; ajaxRef('sendlayertxt',url);">
</span><span>
<input type="hidden" id="menu3" /></span>
</td>
</tr>
<tr>
<td height="5" align="center" id="navigationbar">
</td>
</tr>
<tr>
<td height="5" align="center" id="messagebar">
</td>
</tr>
<tr>
<td height="5" align="center" id="docheader">
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="270">
<table border="0" id="table4" style="border-collapse: collapse">
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 19">???? ???????? ??????? ???????</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 19">????? ????????</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 19">??????? ?????? ????? ??????</br></span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 16">????????? ????????? ??????????? ????????????</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 16">???????? ????????? ??????</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 16"></span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 16"></span>
</td>
</tr>
</table>
</td>
<td width="110" align="center">
<img src="/images/ecs/images/adplogo_s.gif">
</td>
<td width="270" align="left">
<table border="0" id="table5" style="border-collapse: collapse">
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 18">United Arab Emirates</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 18">Ministry of Interior</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 18">Abu Dhabi Police G.H.Q</br></span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 14">Human Resources General Directorate</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 14">G. Director Office</span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 14"></span>
</td>
</tr>
<tr>
<td align="center">
<span style="font-family: Arial; font-weight: bold; font-size: 14"></span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr valign="top" height="1" cellpadding="0" cellspacing="0">
<td width="100%" valign="top" height="1">
<hr color="#000000">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5" align="center" id="docbody">
<table border="0" width="100%" cellspacing="0" cellpadding="0" style="border-collapse: collapse"
align="center">
<tr>
<td colspan="3">
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr style="font-family: Arial">
<td width="40%">
<table border="0">
<tr>
<td>
????????
</td>
<td>
:
</td>
<td>
11/2/33
</td>
</tr>
<tr style="font-family: Arial">
<td>
?????????
</td>
<td>
:
</td>
<td>
15/10/2007 ?
</td>
</tr>
<tr style="font-family: Arial">
<td>
?????????
</td>
<td>
:
</td>
<td>
03/???? /1428 ??
</td>
</tr>
</table>
</td>
<td width="20%">
</td>
<td width="40%" valign="top" align="left">
</td>
</tr>
<tr>
<td width="100%" style align="center" colspan="3">
<br>
<table width="100%" border="0" cellpadding="2" cellspacing="0">
<tr style="font-family: Arial; font-size: 16pt">
<td title="4003 - ???? ?????? ????? ??????? ???????">
<b> ???? ?????? ????? ??????? ???????</b>
</td>
</tr>
</table>
</td>
</tr>
<tr align="left">
<td colspan="3">
<table>
<tr>
<td style="font-family: Arial">
<b>??????? : </b>
</td>
<td style="font-family: Arial" lang="ar-ae">
<b><u>???? ????????</b>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
</td>
</tr>
<tr>
<td colspan="3">
<span style="font-family: Arial">?? ???? ?? </span>
</td>
</tr>
<tr>
<td colspan="2">
</td>
<td valign="top" align="left">
<table border="0" align="left">
<tr>
<td valign="bottom" width="auto">
<span style="font-family: Arial; font-size: 16pt"><b>??????/</b></span>
</td>
<td width="180">
<div id="sign2641">
<span style="font-family: Arial">
<img border="0" height="80" width="180" src="ecs_100.download?p_file=f2514/test.png"></span>
</div>
</td>
</tr>
<tr>
<td colspan="2">
<span style="font-family: Arial; font-size: 16pt"><b>????????? ???? ??????????????</b></span>
</td>
</tr>
<tr>
<td colspan="2">
<span style="font-family: Arial; font-size: 16pt"><b></b></span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3">
<span style="font-family: Arial; font-size: 10pt"><u>???? ??? :</u></span>
</td>
</tr>
<tr>
<td colspan="3">
<span style="font-family: Arial; font-size: 10pt">
<p align="RIGHT">
<li>asdfasdf</li>
</span>
</td>
</tr>
<tr title="???? ??????">
<td colspan="3">
<span style="font-family: Arial; font-size: 10pt">
<p align="RIGHT">
<li>500254 - 10/10/2007</li>
</span>
</td>
</tr>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
thanks
