<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Here is a link to a namespace documentation
and example sourcecode that I used in one of my products:<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><a
href="http://www.bsalsa.com/name_space.html">http://www.bsalsa.com/name_space.html</a><o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>&#8230; as for reading images out .. the
easiest is actually to scan the html file for image-tags (don&#8217;t forget
css-links, table backgrounds, etc). You will need to do this anyway and replace
those linktags with your own namespace handler url.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 color=black
face=Arial><span style='font-size:10.0pt;font-family:Arial;color:black'>Kind
Regards<span class=grame>,</span><br>
Stefan Mueller </span></font><font size=2 color="#666699" face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:#666699'><br>
<br>
</span></font><o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=3 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
delphi-bounces@ns3.123.co.nz [mailto:delphi-bounces@ns3.123.co.nz] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Paul A Norman<br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, 23 May 2006 2:46
p.m.<br>
<b><span style='font-weight:bold'>To:</span></b> NZ Borland Developers Group - <st1:place
w:st="on">Delphi</st1:place> List<br>
<b><span style='font-weight:bold'>Subject:</span></b> [DUG] The Programmer's
Grail? Streaming Twebbrowser or descendantto DB Blob and back</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I am reposting this here, as there are people with expertese who might
not see it in the other placs I have put it. <o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>And I suspect it opens up an area of great usefuleness beyond
Twebbrowser.<br>
<br>
I have been looking (as many seem to!) into streaming the content of<br>
Twebbrowser or TembeddedWB into a data base Blob field, seems to be the <br>
grail of this kind of programming!<br>
<br>
And generally I want to be able to live re-edit the returned material<br>
in a Twebbrowser window.<br>
<br>
Wanting to retain images etc, I have looked at MHT and it seems that it <br>
is possible to use a NameSpace set up to stream them back to the<br>
<br>
browser window once in the DB, but I can find no other way than<br>
initally saving to disk to get an MHT out of a browser back to the DB<br>
blob field. I want to avoid using the disk because of the overheads. <br>
<br>
So I want to know how I might get a binary representation of the<br>
actual rendering of the HTML in Twebbrowser into a stream and into a<br>
blob and back when wanted. NOT as MHT or HTML! As already rendered<br>
content this stream would be very fast to re-process back into a <br>
Twebbrowser.<br>
<br>
It just seems that there must be something like a TCanvas in the<br>
Twebbrowser. But a pure TCanvas may not render the 'data' back into the<br>
browser as edit able material.<br>
<br>
** Is there something in how Twebbrowser renders the HTML, a 'binary <br>
layer' that can be streamed back and forward?<br>
<br>
** Something that has all the rendered elements and &lt;object&gt; &lt;img&gt;
&lt;etc<br>
..&gt; as binary available for streaming?<br>
Is component streaming an sensible avenue? <br>
<br>
<br>
<br>
i.e. TStream.WriteComponent <br>
<br>
Paul<br>
<br>
&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>