Search found 9406 matches

by Sergey Tkachenko
Mon Jun 25, 2007 6:42 am
Forum: Support
Topic: Problem with addict live spelling
Replies: 6
Views: 15913

This is a known problem. But sorry, it will not be solved in near future.
by Sergey Tkachenko
Mon Jun 25, 2007 5:38 am
Forum: Support
Topic: my application doesn't work with delphi 2007
Replies: 9
Views: 19925

Yes, if you consider document without content but with modified text attributes empty.
by Sergey Tkachenko
Sun Jun 24, 2007 3:26 pm
Forum: Support
Topic: Don't save picture
Replies: 3
Views: 10959

The simplest way to do it is to store image location in rvespImageFileName item property. If you include rvsoUseItemImageFileNames in Options parameter of SaveHTML/SaveHTMLEx, value of this property will be written in <img src>. How to set this property? When generating documents, use SetItemExtraSt...
by Sergey Tkachenko
Sun Jun 24, 2007 8:33 am
Forum: Support
Topic: Addict Spell check
Replies: 1
Views: 7280

It depends on the last parameter of CheckRichViewEdit: CheckType. You can call it first with CheckType=ctFromCursor, then display the question, then call with CheckType = ctAll.
by Sergey Tkachenko
Sun Jun 24, 2007 8:26 am
Forum: Support
Topic: ApplyListStyle
Replies: 6
Views: 15748

StartFrom and UseStartFrom are applied only to the first of the selected paragraphs. If they cannot be applied to the first paragraph, they are ignored. May be your document starts from table or break (horizontal line)?
by Sergey Tkachenko
Sun Jun 24, 2007 8:16 am
Forum: Support
Topic: Don't save picture
Replies: 3
Views: 10959

Process OnSaveItemToFile event: uses CRVData; procedure TForm1.RichViewEdit1SaveItemToFile(Sender: TCustomRichView; const Path: String; RVData: TCustomRVData; ItemNo: Integer; SaveFormat: TRVSaveFormat; Unicode: Boolean; var OutStr: String; var DoDefault: Boolean); var StyleNo: Integer; begin if (Sa...
by Sergey Tkachenko
Sun Jun 24, 2007 8:05 am
Forum: Support
Topic: Adding numbered comments from RVF
Replies: 2
Views: 10236

This value for ListLevel.FormatString is incorrect. The correct value for Levels[0].FormatString is '%0:s.' (or simply '%s.'). Besides, I suggest to change the cycle to: for i := 1 to CommList.Count do begin //Get the comment rvf strTemp := GetCommentRVFFromCommNum(i); StrStream := TStringStream.Cre...
by Sergey Tkachenko
Sun Jun 24, 2007 7:42 am
Forum: Support
Topic: my application doesn't work with delphi 2007
Replies: 9
Views: 19925

function TCustomRichViewEdit.GetText: string; function IsEmpty: Boolean; begin Result := (ItemCount=0) or ((ItemCount=1) and (GetItemStyle(0)=0) and (GetItemText(0)='')); end; var rtfStream : TMemoryStream; rtfBuffer : string; begin begin rtfStream := TMemoryStream.Create(); rtfBuffer := ''; try //...
by Sergey Tkachenko
Sun Jun 24, 2007 7:34 am
Forum: Support
Topic: Delta symbol appears as a question mark
Replies: 3
Views: 11224

Ok. If Delta was from Arial font, and I guess it was inserted as Unicode character in RTF. So this character can be loaded correctly in 2 cases: 1) Language of this RTF file is Greek, and it will be loaded in GREEK_CHARSET 2) You can use Unicode, assigning RichView.RTFReadProperties.UnicodeMode to r...
by Sergey Tkachenko
Sun Jun 24, 2007 7:27 am
Forum: Support
Topic: Cant install RVXML after installing TRichView reg-key
Replies: 9
Views: 23534

Yes, I missed it - RVClasses must be added in uses of RVXML files, because this is the unit where TRVMemoryStream is defined. I do not understand why do you need to add bcbsmp.bpi in "requires". Probably this package contains TCustomOutline definition from these linker errors. But RVXML do...
by Sergey Tkachenko
Sun Jun 24, 2007 7:19 am
Forum: Support
Topic: Save rvhtmlimport in stringrid
Replies: 12
Views: 23030

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: 17200

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: 23030

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: 19925

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: 23030

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...