Search found 9411 matches

by Sergey Tkachenko
Sun Jun 24, 2007 7:19 am
Forum: Support
Topic: Save rvhtmlimport in stringrid
Replies: 12
Views: 23051

I can make an example, but I do not understand how do you want to define part of document to copy. There is no "richview.cell[1,10]", because TRichView does not have cells. It may include table with cells, probably several tables with cells. If you want to get text representation of table ...
by Sergey Tkachenko
Fri Jun 22, 2007 1:31 am
Forum: Support
Topic: Errors when saving and loading RVF from stream
Replies: 5
Views: 17209

I just do not have Delphi here and I can only answer questions that do not require testing.
But it looks like sigbert's suggestion is correct
by Sergey Tkachenko
Fri Jun 22, 2007 1:27 am
Forum: Support
Topic: Save rvhtmlimport in stringrid
Replies: 12
Views: 23051

Do you want to copy TRichView table to TStringGrid?
by Sergey Tkachenko
Fri Jun 22, 2007 1:25 am
Forum: Support
Topic: my application doesn't work with delphi 2007
Replies: 9
Views: 19939

WM_GETTEXT is blocked since Delphi 2005 because it conflicted with VCL implementation of this message. For example, application may crash when placing caret in table cell.
I do not recommend to activate this feature. Use other methods to get text from editor.
by Sergey Tkachenko
Thu Jun 21, 2007 2:45 am
Forum: Support
Topic: Save rvhtmlimport in stringrid
Replies: 12
Views: 23051

As I understand, you need to load HTML in TRichView, save this document as text, assign this text to StringGrid cell. This code assumes that RvHtmlImporter1.RichView = rveSource. uses RVGetText; var FileStream: TFileStream; StringStream: TStringStream; begin // 1. Loading file FileStream := TFileStr...
by Sergey Tkachenko
Thu Jun 21, 2007 2:34 am
Forum: Support
Topic: Some aspects of text styles lost during transition to RVF
Replies: 8
Views: 22489

Wordpad does not understand text background, it understands text highlighting. Word understands the both of them. TRichView imports highlighting as text background, but saves only text background. Highlighting is not a character attribute (unlike text size or color) but some special thing. And no mo...
by Sergey Tkachenko
Wed Jun 20, 2007 1:30 pm
Forum: Support
Topic: ODF Format or Open XML
Replies: 1
Views: 7420

Sorry, I do not plan to implement these formats, at least the are not in plans of regular trichview development.
by Sergey Tkachenko
Wed Jun 20, 2007 1:27 pm
Forum: Support
Topic: my application doesn't work with delphi 2007
Replies: 9
Views: 19939

Check forms creation order.
Make sure that rvActionsResource is created before TJvsRichTextEditor.
by Sergey Tkachenko
Wed Jun 20, 2007 1:24 pm
Forum: Support
Topic: Add a text item at the beginning of a TRichView
Replies: 4
Views: 15698

Yes, there is only one documented method allowing to add content at the specified place in TRichView: InsertRVFFromStream. Using undocumented methods, you can insert text item at the specified position using this code: use RVItem; procedure InsertText(rv: TCustomRichView; ItemNo: Integer; const s: S...
by Sergey Tkachenko
Wed Jun 20, 2007 1:12 pm
Forum: Support
Topic: Wordwrap -> Different ways to wrap ??
Replies: 11
Views: 23510

TRichView breaks words which are wider than the document width. But at first it attempts to break line on spaces. In your example, it will break after ABCD, and then, if necessary, it will break inside EFGHIJKLMNOP. As I understand, you want an option for breaking in arbitrary place. Can you explain...
by Sergey Tkachenko
Wed Jun 20, 2007 1:06 pm
Forum: Support
Topic: HTML Buttons
Replies: 4
Views: 12539

Include rvoTagsArePChars in TRichView.Options. By default, HtmlImporter writes hyperlink targets in item tags. A complete code working with hyperlinks in tags includes processing of 3 events: OnJump, OnReadHyperlink, OnWriteHyperlink. Just copy this code in your application: uses CRVData, CRVFData, ...
by Sergey Tkachenko
Wed Jun 20, 2007 12:59 pm
Forum: Support
Topic: Some aspects of text styles lost during transition to RVF
Replies: 8
Views: 22489

I cannot reproduce this problem. Please send me an example of RVF file
by Sergey Tkachenko
Wed Jun 20, 2007 1:38 am
Forum: Support
Topic: Some aspects of text styles lost during transition to RVF
Replies: 8
Views: 22489

Try to save the resulting file as RVF instead of RTF (make sure that these RVFOptions are included in the second TRichView too).
If this RVF file will have the same problems as RTF, the problem was in the first step.
by Sergey Tkachenko
Wed Jun 20, 2007 1:33 am
Forum: Support
Topic: Cant install RVXML after installing TRichView reg-key
Replies: 9
Views: 23549

1) Yes, it is correct, references to TMemoryStream must be changed to TRVMemoryStream. RVClasses must be added in "uses" of RVXML units that use TRVMemoryStream. 2) I believe the linker problems disappear when you restore RVXMLCB6.bpk from the installation. I suppose you saved the package ...
by Sergey Tkachenko
Tue Jun 19, 2007 11:20 am
Forum: Support
Topic: HTML Buttons
Replies: 4
Views: 12539

I am afraid it would be difficult to do, RVHtmlImport does not support buttons. And that code do you want to execute on clicking, JavaScript?