================================================================ ========================= Demo projects ======================== For Delphi 2009 ================================================================ See also Tutorial.txt Editor\Editor 1\ TRichViewEdit-based editors. Demonstrates editor with fixed set of styles, saving and loading, inserting items of different types, tables, list styles. Editor\Editor 2\ How to implement RichEdit-style editing operations (make bold, apply font, etc.) Editors\Notes\ "Editor 2" demo with footnotes and endnotes MultiDemo\ Several demos in one application DB Demo\ 3 demo projects - using TDBRichViewEdit - using TDBRichView and TRichViewEdit - using DBGrid OfficeConverters\ Demo for TRVOfficeConverter. Sample HTML file is included. ================================================================ ============== Demos in ASSORTED subdirectory ================== ================================================================ Load RVF\ How to load file created in editor demo (Editor\Editor 1\) Save HTML\ Loading RVF files (created in editor demo) and saving them in HTML using advanced features. Search and Replace\ Using search and replace dialogs with TRichViewEdit PlanetQuiz\ Using tables, OnMouseMove and GetItemAt AutoComplete\ Shows menu to modify the current word. ========= Printing ========= Printing\Printing\ How to print document. OnPagePrepaint event is used to draw page numbers Printing\Headers\ Printing documents with headers and footers. Loading RTF files with headers and footers. Printing\ReportHelper\ Printing using TRVReportHelper. Printing with one and two columns. ========= IMAGES ========= Graphics\ToImage Draws RichView document onto metafile canvas Graphics\Emoticons Replaces :) :( :| with images Graphics\DragImg Inserts dropped image in editor Graphics\SharedImages Storing graphics outside of RVF files. ========= CUSTOM DRAWING ========= Custom Draw\CustomDraw\ Custom drawing in RichView. (Delphi3+ is required, since TBitmap.ScanLines property was used) Custom Draw\Mathematics\ One more example of custom drawing (math-style) ========= HYPERTEXT FEATURES ========= Hypertext\URLs\ Scans for URLs in text and makes them hypertext links. Detects URLs in the whole document, in the pasted text, on typing. Hypertext\CreateHyperlink\ Converts selected text to hyperlinks Hypertext\PhoneBook\ Simple phonebook example: listbox-like selection using hypertext. ========= INTERNATIONAL FEATURES ========= International\RTL Using BiDiMode - displaying Hebrew and Arabic text (D3+) International\Accents Shows processing of combined Unicode characters (D3+, best viewed on WinNT/2000/XP) ========= DEMONSTRATION OF FIELDS ========= Fields\LiveLink\ Changes in RichViewEdit are reflected in edit box and vice versa Fields\FillInGaps Allows to type text only in special fields in the document Fields\MailMerge\ Two projects. The first one allows editing template with fields, the second projects fills this template with values Fields\MailMerge2\ Advanced version. Instead of changing text of text items representing fields, this demo replaces fields with arbitrary RVF content. Fields\MailMerge-LabelItems\ Mail-merge demo using TRVLabelItemInfo as fields. Shows how to work with TRVSeqItemInfo and "smart popups" Fields\Spreadsheet\ Field values are calculated automatically ========= BULLETS AND NUMBERING ========= ListStyles\Bullets\ How to apply paragraph bullets and numbering ListStyles\ImageListBullets\ Shows bullets with image list. ======== NEW FOR DELPHI 2009 ============= Custom Hints\ Shows how to use balloon hints and OnItemHint event