|
Compatibility issues
Changes that can affect existing code:
| ▪ | 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. |
| ▪ | 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). |
Drag&Drop
See overview.
Background images for tables and cells
Resizing pictures and controls with mouse
By default, all pictures and hot-pictures can be resized with the mouse (except for TIcon-s).
By default, controls cannot be resized. But you can explicitly allow resizing for the given control, if you set its rvepResizable property to non-zero value. See also SelectControl method.
You can disallow resizing in the given RichViewEdit by including rvoNoImageResize in its EditorOptions property.
Extra items' integer properties
| ▪ | 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
Selecting:
RVF
| ▪ | 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). |
HTML export
| ▪ | 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; |
RTF export
RTF import
| ▪ | 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 |
DB controls
Other improvements
| ▪ | default text styles for paragraph styles (TParaInfo.DefStyleNo); |
| ▪ | faster redrawing on editing; |
|