OTSSolutions
asked on
Implement spell checker on the HTML Script
I am working with Delphi7 and TEmbeddedWB. I need to implement spell checker on the HTML Page. I have some difficulty to update text of a page in twebbrowser. Because that webpage contains images. So Complete Html code is
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">'#$D#$A'
<HTML>
<HEAD>'#$D#$A'
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>'# $D#$A'
<META name=GENERATOR content="MSHTML 8.00.7601.17514">
</HEAD>'#$D#$A'
<BODY>'#$D#$A'
<DIV align=center><**IMG '#$D#$A'src="file:///C:/Pr ogram%20Fi les/image/ c.jpg"></D IV>
<FONT '#$D#$A'size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">'#$D#$A'<P>**Hello «Forename», '#$D#$A'thiss<BR><BR><BR>« signature» <BR>**</P> </SPAN></F ONT>
</BODY>
</HTML>'#$D#$A.
So I need to apply spell checker on only text like from (Hello «Forename» this «signature») to (this is a demo page). When I go to set Doc.Body.innerText := this is a demo page. Then On showing page image does remove, only text is display.
Please tell me how would be update text inside page with image. Please help me.?
Is there any demos available, Please suggest me. ?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">'#$D#$A'
<HTML>
<HEAD>'#$D#$A'
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>'#
<META name=GENERATOR content="MSHTML 8.00.7601.17514">
</HEAD>'#$D#$A'
<BODY>'#$D#$A'
<DIV align=center><**IMG '#$D#$A'src="file:///C:/Pr
<FONT '#$D#$A'size=2 face=Arial><SPAN style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">'#$D#$A'<P>**Hello «Forename», '#$D#$A'thiss<BR><BR><BR>«
</BODY>
</HTML>'#$D#$A.
So I need to apply spell checker on only text like from (Hello «Forename» this «signature») to (this is a demo page). When I go to set Doc.Body.innerText := this is a demo page. Then On showing page image does remove, only text is display.
Please tell me how would be update text inside page with image. Please help me.?
Is there any demos available, Please suggest me. ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've got this little problem and hope that one of you guys can guide me.