<div>Many thanks Stefan,</div>
<div>&nbsp;</div>
<div>I'm still interested if any one has any ideas on what to look for in TWebBrowser that handles the rendered HTML. The browser can be put into DesignMode, and objects dragged around the design layer. If access is available to that layer for streaming in and out it would be a much neater solution. (That design layer is rendered back as HTML for file saving).
<br>&nbsp;</div>
<div><strong>That layer is&nbsp;what I hope to get a lead in on if possible.</strong></div>
<div>&nbsp;</div>
<div>There are available interfaces that I have not been able yet to find specifically &nbsp;relevant materials for e.g. .<strong>IHTMLEditDesigner</strong></div>
<div>&nbsp;</div>
<div>I'm suspecting that I may need to cast TwebBrowser back to <strong>TOleControl</strong> and that something in there might give me asscess to what I need,</div>
<div>&nbsp;</div>
<div>[Delphi] type <b>TOleControl</b> = class (Controls.TWinControl, IServiceProvider, ISimpleFrameSite, IPropertyNotifySink, IDispatch, IOleInPlaceFrame, IOleInPlaceSite, IOleControlSite, IOleClientSite, IInterface</div>

<div>&nbsp;</div>
<div>I'm afloat in a sea of virtual interfaces . . .</div>
<div>&nbsp;</div>
<div>Paul<br>&nbsp;</div>
<div><span class="gmail_quote">On 23/05/06, <b class="gmail_sendername">Stefan Mueller</b> &lt;<a href="mailto:muellers@orcl-toolbox.com">muellers@orcl-toolbox.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Here is a link to a namespace documentation and example sourcecode that I used in one of my products:</span></font>
</p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.bsalsa.com/name_space.html" target="_blank">
http://www.bsalsa.com/name_space.html</a></span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">… as for reading images out .. the easiest is actually to scan the html file for image-tags (don't forget css-links, table backgrounds, etc). You will need to do this anyway and replace those linktags with your own namespace handler url.
</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</span></font></p>
<div>
<p style="MARGIN-BOTTOM: 12pt"><font face="Arial" color="black" size="2"><span style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Kind Regards<span>,</span><br>Stefan Mueller </span></font><font face="Arial" color="#666699" size="2">
<span style="FONT-SIZE: 10pt; COLOR: #666699; FONT-FAMILY: Arial"><br><br></span></font></p></div>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="3">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi-bounces@ns3.123.co.nz" target="_blank">
delphi-bounces@ns3.123.co.nz</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:delphi-bounces@ns3.123.co.nz" target="_blank">delphi-bounces@ns3.123.co.nz</a>] <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 - Delphi 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></p></div></div>
<div><span class="e" id="q_10b5f54654ebf14b_1">
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">&nbsp;</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I am reposting this here, as there are people with expertese who might not see it in the other placs I have put it. </span></font></p></div>
<div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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;</span></font></p></div></span></div>
<div></div></div></div><br>_______________________________________________<br>Delphi mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Delphi@ns3.123.co.nz">Delphi@ns3.123.co.nz</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://ns3.123.co.nz/mailman/listinfo/delphi" target="_blank">http://ns3.123.co.nz/mailman/listinfo/delphi</a><br><br><br></blockquote></div><br>