Search found 9424 matches
- Tue Aug 30, 2005 3:34 pm
- Forum: Support
- Topic: Relative hyperlinks
- Replies: 9
- Views: 43261
Well, really, on RTF import, TRichView adds the file path to relative links. In the next update for registered users (I hope to upload it today) I'll add a new property TRichView.RTFReadProperties.BasePathLinks: Boolean. It will work like the corresponding option of RVHtmlImporter - when set to Fals...
- Tue Aug 30, 2005 1:05 pm
- Forum: Support
- Topic: Headers ans BCB6
- Replies: 4
- Views: 23466
- Tue Aug 30, 2005 1:02 pm
- Forum: Examples, Demos
- Topic: [How to] How to make plain text editor
- Replies: 3
- Views: 61282
[How to] How to make plain text editor
:?: How to make a plain text editor based on TRichViewEdit Exclude all but text from AcceptDragDropFormats property Process OnPaste event (see below) Disable all UI commands changing text and paragraph attributes procedure TForm1.rvePaste(Sender: TCustomRichViewEdit; var DoDefault: Boolean); var s: ...
- Tue Aug 30, 2005 12:38 pm
- Forum: Support
- Topic: RVXML problem
- Replies: 4
- Views: 24874
- Tue Aug 30, 2005 11:35 am
- Forum: Support
- Topic: Headers ans BCB6
- Replies: 4
- Views: 23466
No, it's not normal, SetHeader() is a public method of TRVPrint, and it must be in PtblRV.hpp. I checked the header included in the trial version, it's there: void __fastcall SetHeader(Crvfdata::TCustomRVFormattedData* RVData); May be you have duplicated HPP files (HPP files of older version of TRic...
- Tue Aug 30, 2005 11:30 am
- Forum: Support
- Topic: Relative hyperlinks
- Replies: 9
- Views: 43261
- Tue Aug 30, 2005 11:26 am
- Forum: Support
- Topic: old newsgroup archive ??
- Replies: 4
- Views: 25511
- Mon Aug 29, 2005 5:49 pm
- Forum: Support
- Topic: RVXML problem
- Replies: 4
- Views: 24874
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...
- Mon Aug 29, 2005 4:20 pm
- Forum: Support
- Topic: old newsgroup archive ??
- Replies: 4
- Views: 25511
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: 115307
- Sun Aug 28, 2005 11:43 am
- Forum: Examples, Demos
- Topic: [Examples] Count of characters and words
- Replies: 37
- Views: 238867
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: 238867
[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: 31284
[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: 3301442
[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: 54635
[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...