Page 1 of 1

TRichView 16.14 - RAD Studio 10.2, math, font preview

Posted: Wed Mar 29, 2017 6:06 pm
by Sergey Tkachenko
New versions are released: TRichView 16.14, RichViewActions 6.13, ScaleRichView 7.8, ReportWorkshop 1.5

As you may notice from version numbers, we do not consider this update as a major update. However, many interesting new features are implemented.
Some of them:
- RAD Studio 10.2 Tokyo support
- new item displaying mathematical formulas
- font preview in RichViewActions combo boxes
- in ScaleRichView, a delayed update in the page scroller component

Installers

Trial versions are available here:
http://www.trichview.com/download/

Like before, there are two versions of the trial Setup.
The first version installs the components in Delphi (and also in C++Builder, if available). It supports both 32-bit and 64-bit platforms.
(important!) This version can install even in C++Builder without Delphi personality, if command line Delphi compilers are available (and they should). This is the recommended way to install.
The second version installs C++Builder only packages. This version of the installer is mainly provided for a backward compatibility (or use it, if you need to install in C++Builder 6).

Re: TRichView 16.14 - RAD Studio 10.2, math, font preview

Posted: Wed Mar 29, 2017 6:14 pm
by Sergey Tkachenko
Mathematical equations

Information about new mathematical objects is posted in the separate topic.

Font preview in combo boxes

TRVFontComboBox is a combo box that can be linked to TRichViewEdit or ScaleRichView editor to apply font to the selection.

In this version, this combo box can preview fonts. It does it by default. To turn off this feature, assign False to Preview property.

Image
Font combo box in the main window of ActionTest demo

Image
Font dialog

The combo box can correctly display mathematical and high fonts.
For symbol fonts, it displays a preview at the right side.

If BiDiMode=bdRightToLeft, alignment is reversed.

Re: TRichView 16.14 - RAD Studio 10.2, math, font preview

Posted: Thu Mar 30, 2017 7:31 am
by Sergey Tkachenko
In ScaleRichView, TSRVPageScroll component displays a preview of pages. You can find it at the left side of the main window of the ScaleRichView ActionTest demos.

Unfortunately, this component might slow down editing. In some cases, its redrawing is even slower than redrawing in TSRichViewEdit editor!

We solved this problem in this update. Now, this component is updated not immediately after each change, but after a small period of time (specified in the ChangeDelay property). If multiple changes occur (because of fast editing or a text selecting), updates are delayed even more, until the user finishes editing. So multiple fast consecutive editing operations cause a single redrawing in the page scroller, and it does not slow down editing any more.

Re: TRichView 16.14 - RAD Studio 10.2, math, font preview

Posted: Thu Mar 30, 2017 7:38 am
by Sergey Tkachenko
There is one more change I want to mention: widths of table columns when working with RTF and DocX files.

Their calculation is not trivial, because not only BestWidth properties of cells, but also border widths, spacing and padding affect values that must be written or read from Microsoft Word files.

In this update, we improved calculation of table sizes in RTF and DocX: now they are calculated exactly like in MS Word (when it's possible, because TRichView tables are built using HTML model, not MS Word model).

Re: TRichView 16.14 - RAD Studio 10.2, math, font preview

Posted: Thu Apr 06, 2017 2:12 pm
by Sergey Tkachenko
Minor update (Report Workshop 1.5.9): fix in reading BLOB fields