New after version 16

Top  Previous  Next

Compatibility issues

New parameter in TRVPageCountItemInfo.CreateEx

improvements in line breaking algorithm (in some cases, lines may wrap differently)

when choosing format while inserting data as a result of OLE drag&drop, the editor gives a higher priority to URL than it was before

rvddHTML is included in the default value of TRichViewEdit.AcceptPasteFormats property.

because of "deactivation" of images (see below), you cannot store a pointer to images (TGraphic objects), because the image can be "deactivated" and TGraphic object can be destroyed

because of "deactivation" of images, all TGraphic objects used in TRichView must implement SaveToStream and LoadToStream methods (there are some third-party graphic classes that can load themselves but cannot save).

TRichView.RTFReadProperties.StoreImagesFileNames property is removed.

Tables

New feature: colors of groups or rows and columns (alternate colors). New properties:

HeadingRowColor, LastRowColor, FirstColumnColor, LastColumnColor, EvenColumnsColor, OddRowsColor, OddColumnsColor, EvenRowsColor;

RowBandSize, ColBandSize.

A new optional parameter (EditCellAfter) is added in DeleteRows and DeleteCols methods.

New property: CellOverrideColor.

RVF

New DocObjects property allows saving custom objects in RVF.

Printing

"Widow and orphan control" is implemented, see rvpaoWidowOrphanControl option of paragraphs.

TRVPageCountItemInfo now has NumberType property, like TRVPageNumberItemInfo,

OLE Drag&drop

New events of TRichViewEdit: OnBeforeOleDrop and OnAfterOleDrop.

New option rvoDragDropPicturesFromLinks for TRichViewEdit.EditorOptions. If included, and the dropped URL is a link to a picture, the editor attempts to insert it as a picture, not as a link.

Fields

New property is added to text styles: EmptyWidth. It defines width of empty text items of this style. Text items of this style are processed specially in editor. They allow implementing editable fields in documents. The demo "Assorted\Fields\FillInGaps" is changed to use EmptyWidth.

Image activation/deactivation

Starting from this version, TRichView deactivates rarely used images (i.e. stores them to memory streams and destroys their graphic objects). This feature allows saving GDI resources and memory.

New RichViewMaxPictureCount global variable.

Loading external images

A new option is added to TRichView.Options: rvoAssignImageFileNames. If included, the component assigns "image file name" properties when reading external images. Previously, RTFReadProperties.StoreImagesFileNames was used for this purpose for external images in RTF; this property is removed.

New event: OnAssignImageFileName allows modifying file names before assigning to items/cells.

Item properties

rveipcPercentWidth additional integer property is added to controls.

rvepSpacing, rvepBorderWidth, rvepBorderColor, rvepOuterHSpacing, rvepOuterVSpacing integer properties work for labels.

Other changes

New TRichViewEdit event: OnDropFile. It's more easy to use then OnDropFiles, and occurs not only on drag&drop, but also on pasting.

New TRichView event: OnCMHintShow allows displaying custom hints.

Text flow options (ClearLeft and ClearRight) are shown as vertical lines around paragraph/line-break marks, if rvoShowSpecialCharacters is included in TRichView.Options. Text flow options can be exported to DocX.

New method TRVStyleTemplateCollection.InsertFromRVST, it allows applying styles from a file to existing documents.

Packages are separated into runtime and designtime packages.


TRichView © trichview.com