TRichView 20, ScaleRichView 11, ReportWorkshop 4

News about TRichView, ScaleRichView, ReportWorkshop, RVMedia
Post Reply
Sergey Tkachenko
Site Admin
Posts: 16050
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView 20, ScaleRichView 11, ReportWorkshop 4

Post by Sergey Tkachenko »

We released new versions of our components: TRichView 20, ScaleRichView 11, ReportWorkshop 4.

Major changes since the last major update (TRichView 19, ScaleRichView 10, ReportWorkshop 3):

TRichView:
  • new FireMonkey version for Windows and macOS
  • support for Delphi and C++Builder 11 Alexandria
  • Markdown import
  • new selection drawing mode
  • new list numbering types
  • End-user help in RichViewActions
  • Equation objects can use both the free and the commercial version of Adit Math Engine
  • Functions for HTML from RTF de-encapsulation
ScaleRichView:
  • support for new features of TRichView
  • support for Delphi and C++Builder 11 Alexandria
  • improved zooming
  • shared TRVStyle properties
Report Workshop
  • support for new features of TRichView
  • support for Delphi and C++Builder 11 Alexandria
  • new date and time functions
  • new {$header} and {$footer} commands
Trial versions are available:
https://www.trichview.com/download/

This update is free for customers who ordered the components in 2020 and 2021
(also, VCL+LCL version of TRichView is free for customers who ordered TRichView in 2007 and before).

Previous version:
https://www.trichview.com/forums/viewto ... =6&t=10700
Sergey Tkachenko
Site Admin
Posts: 16050
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView - semitransparent selection

Post by Sergey Tkachenko »

TRichView - semitransparent selection

By default, selection is drawn using properties of TRVStyle: SelColor for background, SelTextColor for text (and similar properties for displaying selection when focus shifts to another control).

classic-selection.jpg
classic-selection.jpg (145.05 KiB) Viewed 1339 times

Since this version, an alternative mode is implemented: semitransparent selection. It is activated if you define a partial selection opacity in SelOpacity property

new-selection.jpg
new-selection.jpg (137.35 KiB) Viewed 1339 times
By default, the classic selection mode is used in VCL, LCL, and FireMonkey versions.
However, a new option is added to FireMonkey version: rvoDefaultSelectionFill.
If set (default), the component searches for a brush resource named 'selection' in the linked FireMonkey style, and takes a selection color and an opacity from it.
By default, TRichView uses 'memostyle' that has a semitransparent selection brush in resources.
So TRIchView editor now looks consistent with FireMonkey TEdit and TMemo controls.
Sergey Tkachenko
Site Admin
Posts: 16050
Joined: Sat Aug 27, 2005 10:28 am
Contact:

ScaleRichView: shared TRVStyle properties and zooming mode

Post by Sergey Tkachenko »

ScaleRichView: shared TRVStyle properties

In ScaleRichView, WYSIWYG editor control (TSRichViewEdit) has several internal editors (for editing the main document, a header, a footer, footnotes/endnotes/text boxes). Each internal editor is linked to its own internal TRVStyle control.
Before this version, these TRVStyle controls were independent (they had only one shared property: a collection of named styles StyleTemplates).
Since this version, all properties of these TRVStyle controls are shared (except for properties representing text, paragraph and list attributes).
It simplifies changes. For example, if you set SRichViewEdit.RichViewEdit.Style.SelOpacity, this change affects all parts of the editor.

ScaleRichView: zooming mode

Depending on property settings, zooming in TSRichViewEdit may be applied either to pages (print and side-to side view modes) or to document content (web mode and read-mode).
Zooming pages is very fast, but zooming content may require some time. Because of this, for large documents, fast multiple changes of ZoomPercent may be a problem.

Since this version, in slow zooming modes, when zooming is initiated by a mouse wheel or a track bar on a zooming panel, the editor enters in a special zooming mode. The zooming percent is displayed using ZoomFont. ZoomPercent is assigned when the user finishes using a mouse wheel / trackbar.

zooming-mode.png
zooming-mode.png (68.36 KiB) Viewed 1339 times
Sergey Tkachenko
Site Admin
Posts: 16050
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Report Workshop: header and footer commands

Post by Sergey Tkachenko »

Report Workshop: header and footer commands

In Report Workshop, when a data query was applied to a document, it was applied to the whole document.
If you wanted to add some fixed part at the beginning and/or the end of the document, the only solution was applying a data query not to a document, but to a report table.

Since this version, this limitation is removed. You can define a report header and/or footer. A data query is applied to content between them.
They are defined using {$header} and {$footer} commands.

header-footer-template.png
header-footer-template.png (29.87 KiB) Viewed 1325 times
Report template
header-footer-report.png
header-footer-report.png (71.8 KiB) Viewed 1325 times
Report result

PS: Report header/footer should not be confused with page header/footer.
Report header/footer is a part at the beginning/end of the document which is not repeated when a document data query is applied.
Page header/footer is an additional document which is displayed on top/bottom of each page.
Sergey Tkachenko
Site Admin
Posts: 16050
Joined: Sat Aug 27, 2005 10:28 am
Contact:

FireMonkey version

Post by Sergey Tkachenko »

New in FireMonkey version

In this update, the following additional components were ported to FireMonkey (Windows and macOS):
  • RvHtmlImporter (allows loading HTML files and streams)
  • RichViewXML (allows saving and loading TRichView content as XML)
Limitations in this version:
  • RvHtmlImporter: HTML pasting from the Clipboard is supported only in Windows
  • RichViewXML: TImageList is not supported in FireMonkey version (including bullets and hotspot items, and image list types of paragraph lists)
These limitations will be removed in future updates.
Sergey Tkachenko
Site Admin
Posts: 16050
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView 20.0.1 ScaleRichView 11.0.2

Post by Sergey Tkachenko »

TRichView 20.0.1 RichViewActions 10.1, ScaleRichView 11.0.2

We've updated TRichView, RichViewActions and ScaleRichView.
This is mainly a maintenance release, it contains several fixes and tweaks.

New features of TRichView: saving vertical alignment of contents of text boxes in RTF

New features of RichViewActions:
  • For tables and horizontal lines, an object properties dialog contains "Default" checkbox, allowing to use entered values for new tables/lines. In this update, we added properties that allow controlling a state of this checbox
  • A new event (TRVAControlPanel.OnChoosePicture) allows implementing your own dialog for choosing a picture (instead of using TOpenPictureDialog). Ideas: you can implement image selection from a gallery, from web, from a scanner.
Updated translations of RichViewActions and ScaleRichView: Hungarian (thanks to Bogáncs Sándor)
Post Reply