Search found 9406 matches
- Mon Jun 25, 2007 6:42 am
- Forum: Support
- Topic: Problem with addict live spelling
- Replies: 6
- Views: 15913
- Mon Jun 25, 2007 5:38 am
- Forum: Support
- Topic: my application doesn't work with delphi 2007
- Replies: 9
- Views: 19925
- 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...
- Sun Jun 24, 2007 8:33 am
- Forum: Support
- Topic: Addict Spell check
- Replies: 1
- Views: 7280
- Sun Jun 24, 2007 8:26 am
- Forum: Support
- Topic: ApplyListStyle
- Replies: 6
- Views: 15748
- 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...
- 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...
- 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 //...
- 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...
- Sun Jun 24, 2007 7:27 am
- Forum: Support
- Topic: Cant install RVXML after installing TRichView reg-key
- Replies: 9
- Views: 23534
- Sun Jun 24, 2007 7:19 am
- Forum: Support
- Topic: Save rvhtmlimport in stringrid
- Replies: 12
- Views: 23030
- Fri Jun 22, 2007 1:31 am
- Forum: Support
- Topic: Errors when saving and loading RVF from stream
- Replies: 5
- Views: 17200
- Fri Jun 22, 2007 1:27 am
- Forum: Support
- Topic: Save rvhtmlimport in stringrid
- Replies: 12
- Views: 23030
- Fri Jun 22, 2007 1:25 am
- Forum: Support
- Topic: my application doesn't work with delphi 2007
- Replies: 9
- Views: 19925
- 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...