TRichView 21.3 - FireMonkey for Linux

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

TRichView 21.3 - FireMonkey for Linux

Post by Sergey Tkachenko »

We've released TRichView 21.3.

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

Changes:
  • New supported FireMonkey platform: Linux
  • The trial setup supports RAD Studio Community Edition version 11 instead of version 10.4
  • Compatibility with Lazarus 2.2.6
This update is free for TRichView customers who ordered or renewed their licenses in 2021 or later.

Previous version:
viewtopic.php?t=11412
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

FireMonkey for Linux requirements

Post by Sergey Tkachenko »

FireMonkey for Linux requirements

Supported Delphi versions

TRichView supports Linux in the following Delphi versions:
  • Delphi 10.3
  • Delphi 10.4
  • Delphi 11.x
Only Enterprise and Architect editions of Delphi support Linux platform.

FMXLinux

Unlike other FireMonkey platforms, Linux platform requires an additional library: FMXLinux.
TRichView requires FMXLinux version 1.72 or newer.
The current version (1.73) is highly recommended.

FMXLinux is available:
  • via the RAD Studio GetIt Package Manager in the IDE, for Delphi and RAD Studio Enterprise and Architect customers who have Update Subscription.
  • from https://www.fmxlinux.com/ , where you can download a trial version or order a life-time license.
There are some minor problems with FMXLinux distribution. They are discussed below.

FMLXLinux: a version from fmxlinux.com

TRichView packages for Linux were created for FMXLinux version from fmxlinux.com web site.
This version does not include "FMX" package, all units that should be in this package are distributed as separate files. Because of this, the first your or third-party package that uses these units will include them implicitly.
As a result we added a reference to "FMX" package to RVPkgFMXD*.dpk as {$IFnDEF LINUX}fmx,{$ENDIF}

FMLXLinux: GetIt version

In GetIt package manager, FMXLinux v1.73 is available only for Delphi 11.
Delphi 10.3 and 10.4 have older version of FMXLinux that cannot be used with TRichView (so, if you do not want to upgrade Delphi, the only option is FMXLinux from www.fmxlinux.com)

This version includes a compiled "FMX" package for Linux.
So, if you use GetIt version, open RVPkgFMXD11.dpk and change {$IFnDEF LINUX}fmx,{$ENDIF} to fmx,. The same for RVPkgFMXD11_Dsgn.dpk
But, at least when I tested it, a path to this package was not added to Delphi library paths for Linux platform.
If you see a compilation error that the package cannot be found, add the path to it manually in Delphi library paths (menu "Tools | Options", page "Language | Delphi | Library", platform "Linux 64-bit"). Usually it is "$(BDSCatalogRepositoryAllUsers)\FmxLinux-1.73\Redist\"
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

TRichView for Linux features

Post by Sergey Tkachenko »

TRichView for Linux features

Linux version of TRichView supports all the features that were already supported on other platforms. You can create, edit, preview and print rich text documents, save and load RVF, RTF, DocX, HTML, Markdown files.
You can copy and paste text, images, RTF from the Clipboard. You can paste HTML from the Clipboard.
However, unlike Windows and macOS version, TRichView for Linux uses the standard FireMonkey Clipboard service. This service supports copying only a single format to the Clipboard. This means that you may need special commands like "Copy as text or image", "Copy as RTF", "Copy as RVF".


All TRichView demo projects have been ported to Linux.

Image

The changes in demo projects are minimal. Deployment of additional files, and functions that return paths to them are configured for Linux. Changes related to TPrintDialog are made (the current version of FMXLinux counts FromPage and ToPage from 0, unlike Windows and macOS versions that count them from 1).
Stan-Troeh
Posts: 1
Joined: Sun Feb 12, 2023 8:28 pm

Re: FireMonkey for Linux requirements

Post by Stan-Troeh »

Great to have TRichView on Linux available!

You can get FMXLinux from FMXLinux's website, as I've done the same. Their website mentions the prerequisite "Embarcadero Delphi with Linux development add-on" which is only available (per Embarcadero, I asked last week) with either Enterprise or Architect editions.

Due to the prerequisite requirement, I suspect neither Community Edition (which I don't have) nor Professional Edition (which I am using), will have the ability to compile for a linux target. The most I get after installing FMXLinux is the option to turn on linux support -- which does whatever it does without complaint, but doesn't offer a linux target (I presume because it is missing Delphi with Linux add-on).

As I read your announcement, it seemed that perhaps the FMXLinux download option would be sufficient for non-Enterprise/Architect users. My tests indicate otherwise. Perhaps you've have a way around, or could add further clarity to your announcement.

Keep up the great work.

Sergey Tkachenko wrote: Fri Apr 28, 2023 8:27 am FireMonkey for Linux requirements

Supported Delphi versions

TRichView supports Linux in the following Delphi versions:
  • Delphi 10.3
  • Delphi 10.4
  • Delphi 11.x
...
Sergey Tkachenko
Site Admin
Posts: 17253
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: TRichView 21.3 - FireMonkey for Linux

Post by Sergey Tkachenko »

It seems you are right. Linux compiler is included only in Enterprise and Architect editions. Linux applications cannot be created in Community and Professional editions :(
I'll modify the topic.
Post Reply