TRichView 16.14 - RAD Studio 10.2, math, font preview

News about TRichView and related components
Post Reply
Sergey Tkachenko
Site Admin
Posts: 13087
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView 16.14 - RAD Studio 10.2, math, font preview

Post by Sergey Tkachenko » Wed Mar 29, 2017 6:06 pm

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).

Sergey Tkachenko
Site Admin
Posts: 13087
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Wed Mar 29, 2017 6:14 pm

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.

Sergey Tkachenko
Site Admin
Posts: 13087
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Thu Mar 30, 2017 7:31 am

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.

Sergey Tkachenko
Site Admin
Posts: 13087
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Thu Mar 30, 2017 7:38 am

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).

Sergey Tkachenko
Site Admin
Posts: 13087
Joined: Sat Aug 27, 2005 10:28 am
Contact:

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

Post by Sergey Tkachenko » Thu Apr 06, 2017 2:12 pm

Minor update (Report Workshop 1.5.9): fix in reading BLOB fields

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests