Search found 22 matches

by Yernar Shambayev
Sun Dec 09, 2007 5:14 pm
Forum: Support
Topic: Copy RVData from one in another RichView Component
Replies: 7
Views: 21051

Re: Copy RVData from one in another RichView Component

Hello, how can I programmatical copy the RVData to another RichView Component. MemStream := TMemoryStream.Create; try rv.SaveRVFToStream(MemStream, False); MemStream.Position := 0; RichViewEdit1.LoadRVFFromStream(MemStream); finally MemStream.Free; end; RichViewEdit1.Format;
by Yernar Shambayev
Fri Sep 14, 2007 6:13 am
Forum: Support
Topic: Save HTML
Replies: 6
Views: 19178

I am not able to test it, but please try it (OnSaveItemToFile event), something like this: if (SaveFormat = rvsfHTML) and (RVData.GetItemStyle(ItemNo) >= 0) and (Trim(RVData.GetItemText(ItemNo)) <> '') then begin ItemStyle := RVData.GetItemStyle(ItemNo); Style := rvs.TextStyles[ItemStyle]; (analyse ...
by Yernar Shambayev
Thu Sep 13, 2007 4:36 am
Forum: Support
Topic: Save HTML
Replies: 6
Views: 19178

Re: Save HTML

cychia wrote:I need my rv content to be save into non css html.

SaveHTMLEx exports contents of RichView to HTML file, using CSS.

SaveHTML exports contents of RichView to HTML file, using HTML tags like <FONT>, <B>, <DIV>, etc.
by Yernar Shambayev
Fri Nov 24, 2006 5:04 am
Forum: Support
Topic: Determining if TRichViewEdit is empty
Replies: 4
Views: 16782

Re: Determining if TRichViewEdit is empty

Is there a property so one can tell if TRichViewEdit is empty? No characters present? Thank you... function RVEmpty(MyRichView: TCustomRichView): Boolean; begin Result := (MyRichView.ItemCount = 0) or ((MyRichView.ItemCount = 1) and (MyRichView.GetItemStyle(0) >= 0) and (MyRichView.GetItemText(0) =...
by Yernar Shambayev
Tue Aug 29, 2006 7:47 pm
Forum: Support
Topic: Displaying eml messages
Replies: 2
Views: 11195

Re: Displaying eml messages

You need a component from Indy package.
by Yernar Shambayev
Mon Aug 21, 2006 4:01 pm
Forum: Support
Topic: HTML-Export and Imagefilenames
Replies: 7
Views: 21056

I guess you need to handle OnSaveImage2 event.
by Yernar Shambayev
Wed Aug 16, 2006 4:34 am
Forum: Support
Topic: Copy contents of RichView
Replies: 3
Views: 13990

AppendFrom, but this method does not copy inserted controls and tables (just ignores them).
by Yernar Shambayev
Tue Aug 15, 2006 9:55 am
Forum: Support
Topic: Copy contents of RichView
Replies: 3
Views: 13990

MemStream := TMemoryStream.Create;
try
rv.SaveRVFToStream(MemStream, False);
MemStream.Position := 0;
rv2.LoadRVFFromStream(MemStream);
finally
MemStream.Free;
end;
rv2.Format;
by Yernar Shambayev
Wed Jun 28, 2006 5:47 am
Forum: Support
Topic: Printing Problem with tables!
Replies: 47
Views: 142377

softtouch wrote:Instead of fixing other things, this one should have HIGHEST priority. The product is quiet useless with this bug.
I don't think it's useless with it, but it will be much more powerful without it!
by Yernar Shambayev
Tue Jun 20, 2006 4:24 am
Forum: Support
Topic: Printing Problem with tables!
Replies: 47
Views: 142377

Sergey, any chance it will be implemented at all?
by Yernar Shambayev
Thu Jun 08, 2006 5:54 am
Forum: Support
Topic: PDF Import
Replies: 4
Views: 16205

Re: PDF Import

andyhill wrote:I need RichView to Import PDF files, any sugestions ?
RichView can import RTF, HTML, TXT. You need to parse PDF yourself (there's a specification) and insert text in RichView.
by Yernar Shambayev
Wed May 24, 2006 8:06 am
Forum: Support
Topic: Some questions about RichView
Replies: 2
Views: 12541

Re: Some questions about RichView

I load a text file into a RichEditView. This text file can contain control characters (Form Feed, Escape sequences, etc) because the file is the print file coming from an external procedure. I want: a - Split the file in pages, each page with max. N lines. b - Convert each page into a bitmap/metafi...
by Yernar Shambayev
Tue Apr 18, 2006 8:33 pm
Forum: Support
Topic: Questions about custom importers.
Replies: 2
Views: 12415

2. http://www.trichview.com/resources/

Download Source code and demo from this site (28K, v0.0017, updated May 22, 2004)
http://www.trichview.com/resources/html ... import.zip
by Yernar Shambayev
Sat Feb 25, 2006 8:53 am
Forum: Support
Topic: RichViewEdit.LoadRVFFromStream Fails (returns false)
Replies: 8
Views: 26217

I figured out the the problem is in passing it through a TStringStream or a WideString. I loaded it directly to and from a TMemoryStream , and it works fine. If I figure out which one it was, I'll post here. Thanks to everyone for your suggestions. That's right. RVF is a binary format, not text for...