Search found 193 matches

by Marsianin
Fri Jan 08, 2010 7:16 am
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

Tree more questions:

1. Is there a way to get amount of images to be loaded before loading them?
2. Is there a way to show imported HTML document before loading images like Internet browser does?
3. How can I know if all images are loaded and document ready?
by Marsianin
Fri Jan 08, 2010 6:31 am
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

Ok, got it work with RichView.OnImportPicture.
But it seems OnImportPicture fires twice for the same picture. Why?
by Marsianin
Wed Dec 30, 2009 7:22 am
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

But how HTMLViewer.OnImageRequest can cause this problem if it loads image into HTMLViewer itself?
by Marsianin
Mon Dec 28, 2009 9:07 pm
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

This code generates such error: RVHTMLViewImporter1.LoadFromClipboard(rve); Calling this function fires HTMLViewer1ImageRequest(Sender: TObject; const SRC: string; var Stream: TMemoryStream); My code handles it and loads image from the SRC and passes it into Stream. That loaded image APPEARS in HTML...
by Marsianin
Mon Dec 21, 2009 11:42 pm
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

I have no idea why it appears as http:\ in the error description but my code loads picture into THTMLViewer and I can see it.
But transferring this HTML page from HTMLViewer to RVE causes this error (the problem is in the RvHtmlViewImporter).
And the source is www.google.com copied from Firefox.
by Marsianin
Sun Dec 20, 2009 10:18 pm
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

There is a problem with images when trying to paste from clipboard. I did as you advised and everything works fine except images. I've downloaded image in HTMLViewer1ImageRequest and that image appeared in HTMLViewer1 but this method RVHTMLViewImporter1.LoadFromClipboard(rve) gives me error: -------...
by Marsianin
Thu Dec 17, 2009 7:05 am
Forum: Support
Topic: Access violation with PNG inside table.
Replies: 3
Views: 16982

It seems TPNGObject is a problem. Moved to internal Delphi 2010 TPNGImage and it seems everything works fine here. But now I have another problem. Previously I inserted PNG images from TPNGImageList into RVE with this code: procedure TMainForm.PicturesPaletteCellClick(Sender: TObject; ACol, ARow: In...
by Marsianin
Thu Dec 17, 2009 2:11 am
Forum: Support
Topic: Access violation with PNG inside table.
Replies: 3
Views: 16982

Access violation with PNG inside table.

Delphi 2010, RVE 12.0.4, 5x5 table, TPNGObject (from PNGComponents adapted to D2010). Inserting PNG picture into the table cell then pressing center alignment button raises Access Violation in RVERVData.pas here: function TRVEditRVData.GetCurItemNo: Integer; {...........................................
by Marsianin
Thu Dec 17, 2009 2:04 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45829

I have LMD2010 components installed and there is PNG support too (TLMDPNGImage...)
But if I use it with old documents with TPNGObject images will RVE open them or they'll lost?
by Marsianin
Thu Sep 24, 2009 5:34 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45829

I'm using PNGComponents 1.1 adapted to Delphi 2009.
In delphi it's TPNGImage and here it's TPNGObject.

Code: Select all

RegisterClass(TPNGObject);
RV_RegisterHTMLGraphicFormat(TPNGObject);
RV_RegisterPngGraphic(TPNGObject);
Delphi's PNGImage is really buggy (tried to move).
by Marsianin
Wed Sep 23, 2009 1:11 am
Forum: Support
Topic: PNG Pictures lost in Delphi 2009
Replies: 17
Views: 45829

PNG Pictures lost in Delphi 2009

I moved my project from Delphi 2007 to Delphi 2009 and TRichView 10 to TRichView 11. PNG images that were in Delphi 2007 version of the document disappeared in Delphi 2009 project. They are still there but TRichView 11 compiled in D2009 can't see them. And everything is ok when opening in D2007 vers...
by Marsianin
Wed Sep 23, 2009 12:54 am
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

Yeah it works but CLEARS whole document WITHOUT undo. Here is my code: if RVHTMLViewImporter1.LoadFromClipboard(RichViewEdit1) then begin RVHTMLViewImporter1.AppendHtmlViewer(HTMLViewer1,RichViewEdit1); NormalizeRichView(RichViewEdit1.RVData); RichViewEdit1.Format; RichViewEdit1.Modified:=True; end;...
by Marsianin
Tue Sep 15, 2009 12:38 am
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

If you extract and load to HTMLViewer a part between StartHTML..EndHTML, this document will contain too many nested tables.
This is a not big problem...

Is there a sample on how to do it?
by Marsianin
Wed Sep 02, 2009 12:08 am
Forum: Support
Topic: Paste HTML using pBear HtmlImport
Replies: 19
Views: 46863

Paste HTML using pBear HtmlImport

Is there a demo? Tried a different methods but doesn't works.
Also I must know is there a HTML in clipboard - did it by

Code: Select all

CF_HTML:=RegisterClipboardFormat('HTML Format');
It seems bBear component is not so flexible to get clipboard content and then export it. Or I'm doing something wrong...
by Marsianin
Wed Sep 02, 2009 12:01 am
Forum: Support
Topic: Always unable to export to MS Word
Replies: 39
Views: 105246

Yeah! Thanks.
But not all images are exported... :roll: