It includes minor tweaks, and updated translations.

In this update, new messages in RichViewActions (related to the equation editor) are translated to the following languages:

- Chinese (Simplified and Traditional)

- Danish

- Dutch

- English

- Farsi

- German

- Korean

- Polish

- Russian

- Spanish

More translations will be updated soon.

Spanish translation of Report Workshop is revised.

ReportWorkshop is translated to the following languages:

- Catalan,

- Chinese (simplified and traditional)

- Danish

- English

- German

- Hindi

- Hungarian

- Korean

- Lithuanian

- Norwegian

- Portuguese (Br)

- Russian

- Spanish

- Ukrainian

We offer licenses for translations, see viewtopic.php?f=6&t=7917

Statistics: Posted by Sergey Tkachenko — Sat May 13, 2017 5:12 pm

]]>

Completed Report Workshop translations:

Catalan, Chinese (simplified and traditional), Danish, English, German, Hindi, Hungarian, Korean, Lithuanian, Norwegian, Portuguese (Br), Russian, Spanish, Ukrainian

Statistics: Posted by Sergey Tkachenko — Wed May 03, 2017 9:30 am

]]>

License: TRichView includes Adit Math Engine, distributed under MPL 2.0

Statistics: Posted by Sergey Tkachenko — Tue May 02, 2017 3:44 pm

]]>

Trial versions are available here:

http://www.trichview.com/download/

Equation editor

New action is added: TrvActionInsertEquation. It can be used to implement "Insert | Equation" command.

Normally, it displays an equation editor dialog, allows to compose an equation, and inserts this equation in the caret position.

Alternatively, it can insert a predefined equation without displaying a dialog.

In the equation editor dialog, you can define:

- expression (in LaTeX-based language)

- font and color (for this equation, and default values for all equations in the document)

- inline style on/off (i.e. compact style, recommended for equations inserted inside a text line)

- background color, border, spacing.

TrvActionItemProperties ("Format | Object Properties" command) also displays this equation editor for editing the current equation.

Localization: in this version, the equation editor is translated only in English and Russian. More translations will be available soon.

RTF text protection

TRichView saves \protect keyword in RTF, if both rvprModifyProtect and rvprDeleteProtect are included in Protection of text.

When loading from RTF, \protect is loaded as [rvprModifyProtect, rvprDeleteProtect, rvprSticking,

rvprStyleProtect, rvprDoNotAutoSwitch]

\protect is ignored by the most rich text editors, but is supported by TRichEdit.

Previous versions

viewtopic.php?f=6&t=8640

Statistics: Posted by Sergey Tkachenko — Tue May 02, 2017 3:39 pm

]]>

- simplified representation of matrices and cases (as functions)

- brackets after \left and \right must be prefixed.

So the conversion to/from pure LaTeX must be simple.

Statistics: Posted by Sergey Tkachenko — Wed Apr 26, 2017 8:23 am

]]>

Statistics: Posted by DmitriPopov — Tue Apr 25, 2017 3:22 pm

]]>

Run RAD Studio, choose menu "Tools | GetIt Package Manager", type "TRichView" in the search box, click "Install" and follow instructions.

This trial includes TRichView, ScaleRichView, and Report Workshop.

Still, when you have a choice, I recommend using our installer from http://www.trichview.com/download/

There are the following reasons:

1) GetIt version cannot be installed in C++Builder without Delphi personality.

The both versions of our setups (Delphi packages and C++ packages) can be used in C++Builder.

2) GetIt installer installs only the main packages: TRichView, RichViewActions, ScaleRichView, SRVControls, Report Workshop, HunSpell parser, Indy downloader, FireDAC, dbExpress, ADO/dbGo data providers for Report Workshop, equation item, RvHtmlImporter, RichViewXML.

Our setups install not only these packages, but also optional packages requiring third-party components and components included in Delphi optionally: Report Builder objects, data editors for DevExpress components, parsers for ExpressSpellChecker, ASpell, Addict, CleverComponents downloader, RvHtmlViewImporter, much more data providers for Report Workshop. In GetIt version, you can install these optional packages manually.

3) Our installer removes paths to older versions of our components, so the installed components work correctly even if there is another version in different directories. When installing GetIt version, you must be sure that no older version can be found by RAD Studio.

However, GetIt installer is very convenient, so it can be used if you just want to try our components quickly.

Statistics: Posted by Sergey Tkachenko — Sat Apr 22, 2017 8:05 am

]]>

]]>

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

Statistics: Posted by Sergey Tkachenko — Thu Mar 30, 2017 7:38 am

]]>

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.

Statistics: Posted by Sergey Tkachenko — Thu Mar 30, 2017 7:31 am

]]>

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.

Font combo box in the main window of ActionTest demo

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.

Statistics: Posted by Sergey Tkachenko — Wed Mar 29, 2017 6:14 pm

]]>

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

Statistics: Posted by Sergey Tkachenko — Wed Mar 29, 2017 6:06 pm

]]>

CODE:

` \frac{\frac{1}{x}+\frac{1}{y}}{y-z} f(n) = \case{ n/2 & \quad \text{if } n \text{ is even} \\ -(n+1)/2 & \quad \text{if } n \text{ is odd}} \matrix{ a_{11} & a_{12} & \cdots & a_{1n} \\ a_{21} & a_{22} & \cdots & a_{2n} \\ \vdots & \vdots & \ddots & \vdots \\ a_{m1} & a_{m2} & \cdots & a_{mn} }`

Note that the item's language has differences in defining matrices and cases.

We plan to add a dialog for visual editing of these strings in RichViewActions soon.

Statistics: Posted by Sergey Tkachenko — Wed Mar 29, 2017 5:46 pm

]]>

The main properties of this item are: font name, font size (defined in half-points), text color. You can set default values for all formulas in the document, and override them in specific formulas.

You can also define fill color, border color and width.

You can also specify the inline style for the formula (Boolean property). The inline style is more compact and is recommended for using for formulas inserted in text lines.

You can use only mathematical fonts. By default, the item uses 'Cambria Math'. You can use other mathematical fonts as well (such as 'Asana Math', 'Latin Modern Math', 'XITS Math', see the help file for download locations).

If the specified font is not installed on the computer, the item uses 'Cambria Math'. If 'Cambria Math' is not installed, it uses the first found available mathematical font. If no mathematical font is found, the item is displayed in an erroneous state (a crossed rectangle).

Note: 'Cambria Math' is a default font for equations in Microsoft Word.

Export

This version of the item is exported to HTML, RTF and DocX as a raster image (if possible, as PNG). Probably, more options will be available in future.

Statistics: Posted by Sergey Tkachenko — Wed Mar 29, 2017 5:39 pm

]]>

Expressions are defined in a LaTeX-like language.

The current version includes the item itself, but does not include a dialog for editing equations. It will be included in the next update.

License

The item uses units of Adit Math Engine. Currently, they are distributed exclusively with TRichView.

They are covered by the open source license MPL 2.0 with the following addition restrictions:

You can contact Adit Software if you want to use Adit Math Engine under a different license or to request an exception from the restrictions above.Adit Math Engine cannot be used in any E-learning/Assessment/Testing/Math software (Freeware or Shareware) or outside TRichView engine without our [Adit Software] written permission.

The main reason of these restrictions is not allowing using in software that can compete with their own product.

Currently, Adit Math Engine can be used in RAD Studio XE4 and newer. Contact them if you want to use it in older versions of Delphi/C++Builder.

Statistics: Posted by Sergey Tkachenko — Wed Mar 29, 2017 5:30 pm

]]>