Search found 7618 matches

by Sergey Tkachenko
Tue Aug 30, 2005 11:26 am
Forum: Support
Topic: old newsgroup archive ??
Replies: 4
Views: 9855

Good, please do not delete them :)
by Sergey Tkachenko
Mon Aug 29, 2005 5:49 pm
Forum: Support
Topic: RVXML problem
Replies: 4
Views: 10333

I am not sure that TXMLTag can be used outside of TRVXML. Some time ago I made an example how to save 2 richviews in one XML, may be it can be useful uses RichViewXML, RVXMLBase; RichView1, RichView2 - trichviews to load/save. RichViewXML1 - trichviewxml. This example saves and loads two documents i...
by Sergey Tkachenko
Mon Aug 29, 2005 4:20 pm
Forum: Support
Topic: old newsgroup archive ??
Replies: 4
Views: 9855

Unfortunately, I was not able to contact the newsgroup server owners for the quite a long time. I still do not know the status of this archive. I still hope it's not damaged when of the server was crashed. In the worst case, I have copies of all my answers to the newsgroup. In the best case, newsgro...
by Sergey Tkachenko
Sun Aug 28, 2005 11:46 am
Forum: Support
Topic: New support forums. Please read.
Replies: 23
Views: 28046

May be I'll install a mod for this forum allowing to attach files, or open a limited ftp access for registered users.
by Sergey Tkachenko
Sun Aug 28, 2005 11:43 am
Forum: Examples, Demos
Topic: [Examples] Count of characters and words
Replies: 37
Views: 138351

Calculating a number of words You can use a class from RVWordEnum.pas Create a class TWordCounter = class(TRVWordEnumerator) private FCounter: Integer; protected function ProcessWord: Boolean; override; public function GetWordCount(rve: TCustomRichViewEdit): Integer; end; function TWordCounter.Proc...
by Sergey Tkachenko
Sun Aug 28, 2005 11:42 am
Forum: Examples, Demos
Topic: [Examples] Count of characters and words
Replies: 37
Views: 138351

[Examples] Count of characters and words

Calculating a number of characters uses CRVData; function GetCharCount(RVData: TCustomRVData): Integer; var i,r,c: Integer; table: TRVTableItemInfo; begin Result := 0; for i := 0 to RVData.Items.Count-1 do if RVData.GetItemStyle(i)>=0 then begin // this is a text item inc(Result, RVData.GetItemText...
by Sergey Tkachenko
Sun Aug 28, 2005 11:40 am
Forum: Examples, Demos
Topic: [Example] Loading UTF-8 files
Replies: 0
Views: 12955

[Example] Loading UTF-8 files

Very simple example - how to load Unicode UTF-8 file: procedure LoadUTF8(rv: TCustomRichView; const FileName: String; StyleNo, ParaNo: Integer); var Stream: TFileStream; s: TRVRawByteString; ws: TRVUnicodeString; begin Stream := TFileStream.Create(FileName, fmOpenRead); SetLength(s, Stream.Size); St...
by Sergey Tkachenko
Sun Aug 28, 2005 11:27 am
Forum: Examples, Demos
Topic: [Demo] Sending HTML email. Saving MIME-encoded files.
Replies: 40
Views: 285091

[Demo] Sending HTML email. Saving MIME-encoded files.

This example shows how to save HTML file with images in one file: https://www.trichview.com/support/files/mime.zip (It uses The Delphi Inspiration's DIMime unit for base64 encoding. Its installation is included in the zip file above. Their web page is http://www.yunqa.de/delphi/doku.php/products/mim...
by Sergey Tkachenko
Sun Aug 28, 2005 11:26 am
Forum: Examples, Demos
Topic: [RichViewActions] How to access page setup properties
Replies: 5
Views: 31322

[RichViewActions] How to access page setup properties

1) Margins are stored in RVPrint, assigned to RVAControlPanel.RVPrint 2) Properties of header and footer are stored in global objects RVAControlPanel.Header and RVAControlPanel.Footer (Text, Alignment, PrintOnFirstPage properties) 3) Page size, orientation and source are stored in the global for the...
by Sergey Tkachenko
Sun Aug 28, 2005 11:21 am
Forum: Examples, Demos
Topic: [Demo] Simple scripting
Replies: 2
Views: 32672

[Demo] Simple scripting

script.zip An example of processing document templates having both text fields (including multiline ones) and IF commands. IF commands allow to exclude some part of text on condition (comparing field value with string constant) 2008-Dec-11: Updated for compatibility with TRichView 11 and Delphi 200...
by Sergey Tkachenko
Sun Aug 28, 2005 11:19 am
Forum: Examples, Demos
Topic: [Demos] Mail Merge
Replies: 14
Views: 85484

[Demos] Mail Merge

Information about and comparison of TRichView mail merge demos. 2 of them are included in demo projects, others are available as separate downloads. Comparison Chart for TRichView Mail Merging Demos The recommended way to implement merge fields in our editors is Report Workshop . Demos\Delphi\Assort...
by Sergey Tkachenko
Sun Aug 28, 2005 10:25 am
Forum: Examples, Demos
Topic: [Example] How to move caret to the paragraph
Replies: 1
Views: 27640

[Example] How to move caret to the paragraph

A very simple example: how to move caret to the beginning of the n-th paragraph procedure GoToParagraph(rve: TCustomRichViewEdit; ParagraphIndex: Integer); var i: Integer; begin for i := 0 to rve.ItemCount-1 do begin if rve.IsParaStart(i) then dec(ParagraphIndex); if ParagraphIndex<0 then begin rve....
by Sergey Tkachenko
Sat Aug 27, 2005 3:01 pm
Forum: Support
Topic: New support forums. Please read.
Replies: 23
Views: 28046

New support forums. Please read.

New forums Starting from August 27, 2005, TRichView support forums are moved from newsgroups to phpBB. The forums are run in test mode, but the most probably they will be permanent. For registered users: how to get access to the private forums If you are a registered TRichView user, 1) register on ...