Also I must know is there a HTML in clipboard - did it by
Code: Select all
CF_HTML:=RegisterClipboardFormat('HTML Format');
Code: Select all
CF_HTML:=RegisterClipboardFormat('HTML Format');
Code: Select all
Version:1.0
StartHTML:000000188
EndHTML:000001603
StartFragment:000001434
EndFragment:000001451
StartSelection:000001434
EndSelection:000001447
SourceURL:http://www.trichview.com/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Delphi RichEdit Alternative: RichView Components for Delphi and C++Builder</TITLE>
<SCRIPT language=JavaScript type=text/javascript src="scripts.js"></SCRIPT>
<LINK rel=stylesheet type=text/css href="trv.css"><LINK title=RSS rel=alternate
type=application/rss+xml
href="http://www.trichview.com/forums/rss.php?f=6"><LINK title=Atom
rel=alternate type=application/atom+xml
href="http://www.trichview.com/forums/rss.php?atom&f=6">
<STYLE type=text/css>
<!--
.dllist { list-style-image: url('images/icons/download2.gif'); }
.helplist { list-style-image: url('images/icons/help2.gif'); }
-->
</STYLE>
</HEAD>
<BODY onload="MM_preloadAllImages('')" leftMargin=0 topMargin=0 marginheight="0"
marginwidth="0">
<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%" height="100%">
<TBODY>
<TR>
<TD vAlign=top rowSpan=2 width="100%" align=left>
<TABLE border=0 cellSpacing=5 cellPadding=5 width="100%">
<TBODY>
<TR>
<TD class=main>
<DIV id=trichviewnews class=hslice>
<TABLE border=0 cellSpacing=1 cellPadding=5 width="100%" bgColor=#ffbe0b>
<TBODY>
<TR>
<TD class=news1>
<P><!--StartFragment-->[color=red]<B>September </B>[/color]<!--EndFragment--></P>
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
</TBODY>
</TABLE>
</BODY>
</HTML>
Code: Select all
if RVHTMLViewImporter1.LoadFromClipboard(RichViewEdit1) then begin
RVHTMLViewImporter1.AppendHtmlViewer(HTMLViewer1,RichViewEdit1);
NormalizeRichView(RichViewEdit1.RVData);
RichViewEdit1.Format;
RichViewEdit1.Modified:=True;
end;
---------------------------
Debugger Exception Notification
---------------------------
Project Project.exe raised exception class EFOpenError with message 'Cannot open file "C:\Users\User\Documents\Delphi\Project\http:\www.google.com\intl\en_ALL\images\logo.gif". The filename, directory name, or volume label syntax is incorrect'.
---------------------------
Break Continue Help
---------------------------
Code: Select all
RVHTMLViewImporter1.LoadFromClipboard(RichViewEdit1, HTMLViewer1);
NormalizeRichView(RichViewEdit1.RVData);
RichViewEdit1.Format;
Code: Select all
RVHTMLViewImporter1.LoadFromClipboard(rve);
Code: Select all
HTMLViewer1ImageRequest(Sender: TObject; const SRC: string; var Stream: TMemoryStream);