Search found 9415 matches

by Sergey Tkachenko
Tue Sep 06, 2005 5:49 pm
Forum: Examples, Demos
Topic: [Demo] Drawing RTF in metafile, including header and footer
Replies: 0
Views: 33122

[Demo] Drawing RTF in metafile, including header and footer

Update: this demo is removed from here, because it is included in http://www.trichview.com/forums/viewtopic.php?t=327 (a4.zip)
by Sergey Tkachenko
Tue Sep 06, 2005 5:47 pm
Forum: Examples, Demos
Topic: [Example] Saving additional information in RTF files (and in DocX too)
Replies: 4
Views: 81720

[Example] Saving additional information in RTF files (and in DocX too)

Use OnSaveRTFExtra event: Saving margins procedure TForm3.RichViewEdit1SaveRTFExtra(Sender: TCustomRichView; Area: TRVRTFSaveArea; Obj: TObject; Index1, Index2: Integer; InStyleSheet: Boolean; var RTFCode: TRVUnicodeString); function MMToTwips(mm: Integer): Integer; begin Result := Round(mm*1440*5/1...
by Sergey Tkachenko
Tue Sep 06, 2005 5:40 pm
Forum: Examples, Demos
Topic: [Demo] Chat codes
Replies: 15
Views: 153699

[Demo] Chat codes

1. Simple demo http://www.trichview.com/support/files/chatcodes.zip This demo shows how to add text with some codes: \b - bold on/off \i - italic on/off \u - underline on/off \cRRGGBB - text color \kRRGGBB - text background color 2. Advanced demo with plain text input chatcodes2.zip https://www.tri...
by Sergey Tkachenko
Tue Sep 06, 2005 5:37 pm
Forum: Examples, Demos
Topic: [Demos] Expanding-collapsing
Replies: 12
Views: 155943

[Demos] Expanding-collapsing

This demo hides/shows certain paragraphs when user clicks hyperlinks http://www.trichview.com/support/files/collapsible.png http://www.trichview.com/support/files/collapsible/collapsible.zip Multilevel collapsible paragraphs In addition to collapsible.zip , we've created a new demo: http://www.tric...
by Sergey Tkachenko
Tue Sep 06, 2005 5:30 pm
Forum: Examples, Demos
Topic: Modifications of "CreateHyperlink" demo [obsolete]
Replies: 0
Views: 26772

Modifications of "CreateHyperlink" demo [obsolete]

This topic is deleted, because all described improvements are added in the main set of demos.
by Sergey Tkachenko
Tue Sep 06, 2005 5:26 pm
Forum: Examples, Demos
Topic: [Demo] Dual editor for translators
Replies: 12
Views: 131233

[Demo] Dual editor for translators

Demo: http://www.trichview.com/support/files/dualeditor.zip A helper for human translators. It has two editors - one for the original text and one for the translated text. This screenshot shows English text and its Russian translation: http://www.trichview.com/support/files/dualeditor.gif This demo ...
by Sergey Tkachenko
Tue Sep 06, 2005 5:23 pm
Forum: Examples, Demos
Topic: [RvXML] How to save several documents in one XML file
Replies: 10
Views: 73690

[RvXML] How to save several documents in one XML file

uses RichViewXML, RVXMLBase; RichView1, RichView2 - trichviews to load/save. RichViewXML1 - trichviewxml. This example saves and loads two documents in 'd:\1.xml' // Saving procedure TForm1.Button1Click(Sender: TObject); var T: TXMLTree; MainRoot, DocRoot: TXMLTag; begin T := TXMLTree.Create(RichVi...
by Sergey Tkachenko
Tue Sep 06, 2005 5:21 pm
Forum: Examples, Demos
Topic: [Demo] Printing images using OnPagePrepaint event
Replies: 0
Views: 29184

[Demo] Printing images using OnPagePrepaint event

http://www.trichview.com/support/files/crocoprint.zip

(2008-Dec-9: updated for compatibility with TRichView 11)
(2011-Apr-1: updated for compatibility with TRichView 13)
by Sergey Tkachenko
Tue Sep 06, 2005 5:18 pm
Forum: Examples, Demos
Topic: [Example] Modification of "Search and Mark" demo
Replies: 16
Views: 164407

[Example] Modification of "Search and Mark" demo

"Search & Mark" - the last subdemo of the demo located in Demos\Delphi\Multidemo\. It searches for the given word in text and marks all its occurences by applying the specified text style: rve.SetSelectionBounds(0,rve.GetOffsBeforeItem(0), 0, rve.GetOffsBeforeItem(0)); while rve.Search...
by Sergey Tkachenko
Tue Sep 06, 2005 1:33 pm
Forum: Support
Topic: Error on SaveText
Replies: 2
Views: 19895

This error occurs if a string that is supposed to contain Unicode text does not contain it. It is a result of incorrect document generation. Check - may be you use AddNL or SetItemText to add/modify text of Unicode style. It will lead to the corrupted document. Use AddNLATag (or AddNLWTag) and SetIt...
by Sergey Tkachenko
Tue Sep 06, 2005 1:29 pm
Forum: Support
Topic: Printing of labels
Replies: 1
Views: 16616

Actually, the possibility of printing several documents on one page already exists (but not documented): Printer.BeginDoc; RVPrint.StartAt := 0; RVPrint.TransparentBackground := True; RVPrint.AssignSource(RichView1); RVPrint.FormatPages(rvdoALL); RVPrint.ContinuousPrint; RVPrint.StartAt := RVPrint.E...
by Sergey Tkachenko
Tue Sep 06, 2005 10:29 am
Forum: Support
Topic: Problem positioning bullets
Replies: 1
Views: 16338

There were no known problems related to the bullet positioning. Please note that for bulleted paragraphs, LeftIndent and FirstIndent properties of paragraph style are ignored, and corresponding properties of list level are used. To set the position of the bullet itself, use MarkerIndent property of ...
by Sergey Tkachenko
Mon Sep 05, 2005 2:51 pm
Forum: Support
Topic: Getting Name of HotPicture!
Replies: 3
Views: 22149

RVData.GetItemTextA(ItemNo)
by Sergey Tkachenko
Mon Sep 05, 2005 2:01 pm
Forum: Support
Topic: Can't get cell picture to print
Replies: 1
Views: 15045

Does print preview show these pictures?