New in version 20

<< Click to display table of contents >>

New in version 20

Compatibility issues

To use equation objects with the free version of Adit Math engine, RVBasicMathWrapper must be included in project.

Some functions and constants were moved in another units (RVCoordFuncs, RVColorFuncs, RVClipboard).

When TRVStyle.MainRVStyle is assigned, not only StyleTemplates, but all properties of TRVStyle are shared (except for collections of text, paragraph, and list styles).

RAD Studio 11 Alexandria

TRichView supports Delphi and C++Builder 11.

FireMonkey

TRichView, TRichViewEdit, TRVStyle, TRVPrint, TRVReportHelper components are ported to FireMonkey.

Supported platforms:

Windows 32-bit and 64-bit (RAD Studio XE6 and newer)

macOS 64-bit (Delphi 10.3 and newer)

macOS ARM 64-bit (Delphi 11 and newer)

See information about differences between VCL and FireMonkey versions.

Markdown

New methods for loading Markdown in TRichView: LoadMarkdown, LoadMarkdownFromStream, and inserting in TRichViewEdit: InsertMarkdownFromFileEd, InsertMarkdownFromStreamEd.

For LoadFromStream, you can choose loading either a plain text or a Markdown (a new optional parameter is added).

Details are explained in the topic about TRVMarkdownProperties class.

RTF and DocX

New properties controlling RTF and DocX import:

CanReuseNumberedLists

ConvertSymbolFonts

Equation document objects

Both the free and the commercial version of Addit math engine are supported in TRichView equation objects.

To use the free version (included in TRichView setup), add RVBasicMathWrapper unit in your project.

To use the commercial version, add RVAdvMathWrapper unit in your project.

Custom drawing

New events for drawing additional content on top of images:

TCustomRichView.OnAfterDrawImage

TCustomRVPrint.OnAfterPrintImage

Selection drawing

A new mode of drawing selection is introduced: semitransparent selection. In this mode, instead of using special colors for drawing background and text of a selected fragment, this fragment is shaded with a special color.

New property: TRVStyle.SelOpacity.

For FireMonkey, there is an Option to get selection color and opacity from the linked visual style: rvoDefaultSelectionFill.

Tables

New table operations:

TRVTableItemInfo.MoveRows.

Other new features

new list counter types: lower Greek and decimal-leading-zero for paragraph numbering.

new global variable RichViewCtrlUpDownScroll, specifies how Ctrl + Up and Ctr + Down keys are processed.

new TRichViewEdit.MoveCaret method.

HTML saving improvement: for paragraph numbering, values of auto-calculated counters are saved only if necessary

HTML from RTF extraction