Search found 9416 matches
- Mon Aug 29, 2005 4:20 pm
- Forum: Support
- Topic: old newsgroup archive ??
- Replies: 4
- Views: 25468
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...
- Sun Aug 28, 2005 11:46 am
- Forum: Support
- Topic: New support forums. Please read.
- Replies: 23
- Views: 115187
- Sun Aug 28, 2005 11:43 am
- Forum: Examples, Demos
- Topic: [Examples] Count of characters and words
- Replies: 37
- Views: 238649
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...
- Sun Aug 28, 2005 11:42 am
- Forum: Examples, Demos
- Topic: [Examples] Count of characters and words
- Replies: 37
- Views: 238649
[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...
- Sun Aug 28, 2005 11:40 am
- Forum: Examples, Demos
- Topic: [Example] Loading UTF-8 files
- Replies: 0
- Views: 31237
[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...
- Sun Aug 28, 2005 11:27 am
- Forum: Examples, Demos
- Topic: [Demo] Sending HTML email. Saving MIME-encoded files.
- Replies: 40
- Views: 3300083
[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 This file contains 3 demos: Indy - sending HTML emails using Indy Indy.old - sending HTML emails using Indy but preparing email body manually. If you use Delphi XE6 or older, this demo ...
- Sun Aug 28, 2005 11:26 am
- Forum: Examples, Demos
- Topic: [RichViewActions] How to access page setup properties
- Replies: 5
- Views: 54591
[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...
- Sun Aug 28, 2005 11:21 am
- Forum: Examples, Demos
- Topic: [Demo] Simple scripting
- Replies: 2
- Views: 49583
[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...
- Sun Aug 28, 2005 11:19 am
- Forum: Examples, Demos
- Topic: [Demos] Mail Merge
- Replies: 20
- Views: 276203
[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...
- Sun Aug 28, 2005 10:25 am
- Forum: Examples, Demos
- Topic: [Example] How to move caret to the paragraph
- Replies: 1
- Views: 42762
[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....
- Sat Aug 27, 2005 3:01 pm
- Forum: Support
- Topic: New support forums. Please read.
- Replies: 23
- Views: 115187
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 ...