New in version 1.8
|Top Previous Next|
Changes that can affect existing code:
▪OnHTMLSaveImage is called for tables to save background image;
▪OnHTMLSaveImage is called to save cell background image; in this case, parameter ItemNo = -1; you can distinguish saving of document background and cell background by RVData parameter.
▪parameters are changed in OnChanging event (should not be a problem because this event is rarely used);
▪table.OnDrawBorder event has two new parameters: Row and Col;
▪changes in rvteoHTMLCode and rvteoRTFCode (Options of text style);
▪TRichView does not use font external leading any more (it may add extra spacing between lines), so its line spacing just like in TRichViewEdit now.
▪default selection mode: select by words;
▪RVF version number is changed from 1.2 to 1.3 (see RVF specification); new version of RVF is not completely compatible with the old version (new version of TRichView can read old RVF; old versions of TRichView may not read new RVF);
▪rvprSticking protection option meaning was changed (split into 3 rvprStick*** options).
Background images for tables and cells
Resizing pictures and controls with mouse
You can disallow resizing in the given RichViewEdit by including rvoNoImageResize in its EditorOptions property.
▪rvepSpacing – spacing around the item (image or control);
▪rvepResizable allows resizing the given control with the mouse;
▪rvepDeleteProtect protects the non-text item from deletion in editing operations.
Printing and preview
▪much more accurate print preview;
▪new line selection mode, see TRVStyle.LineSelectCursor
▪defining visual appearance of selection, see TRVStyle.SelectionStyle
▪defining selection mode, see TRVStyle.SelectionMode
▪tags can contain space characters;
▪in text-mode RVF, TRichView saves text RVF files even if the document contains Unicode text (text files can be edited in text editors)
▪ability to save arbitrary additional text strings (DocProperties).
▪by default, all images are saved in HTMLs as Jpegs. This is obviously undesirable if images already have formats recognizable by web browsers (such as Gif or Png). Now you can specify graphic formats that must not be converted to Jpeg on HTML export, using RV_RegisterHTMLGraphicFormat procedure.
▪OnSaveHTMLExtra event now allows to insert HTML code before the </body> tag;
▪new options for HTML export;
▪OnWriteHyperlink event supersedes OnURLNeeded.
▪OnWriteHyperlink event supersedes OnURLNeeded;
▪new OnSaveItemToFile event.
▪import of DDB (device dependent bitmaps);
▪using some advanced RTF features when importing images from RTF saved by MS Word 2000+.
▪more special RTF characters are recognized
▪new event: OnImportPicture
▪new event: TDBRichViewEdit.OnNewDocument;
▪new property: TDBRichViewEdit.IgnoreEscape.
▪default text styles for paragraph styles (TParaInfo.DefStyleNo);
▪improvements in processing of bidirected text;
▪new action in OnItemAction event: rviaInserted;
▪faster redrawing on editing;
▪previously reserved break styles are implemented;
TRichView © trichview.com