TRichView 14.9 - XE5, headers, new editing ops, font size

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

TRichView 14.9 - XE5, headers, new editing ops, font size

Post by Sergey Tkachenko » Mon Sep 30, 2013 3:02 pm

New versions are released: TRichView 14.9, RichViewActions 4.5, ScaleRichView 5.7

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

New features

RAD Studio XE5 is supported

Our components can be used in Delphi and C++Builder XE5 (in 32-bit and 64-bit VCL projects)
New packages are added: *DXE5.dproj packages; they install the components both in Delphi and C++Builder XE5. The trial version contains compiled files for *DXE5.dproj packages.
However, if you have C++Builder XE5 and do not have Delphi XE5, you cannot use these packages. For this case, we provide C++Builder-only packages: *CBXE5.cbproj. They are available for registered users. Trial version of these packages are available on request.

Font size in half-points

A new text property is added: FontSizeDouble.
It allows defining font sizes in half-points. The old Size property (size in points) still exists. Assigning value to one property changes value of another property.
Font sizes with precision up to 0.5 points can be imported from RTF, saved to RTF, DocX and HTML (however, Chrome and Opera round them to the full points; IE10 and Mozilla display them precisely)
RichViewActions support this feature: font sizes in half-points are supported by a font size combobox, TrvActionFontEx and the StyleTemplate-related actions.

Image

New editing operations

In the new version, TRichViewEdit can change document properties as editing (undoable operations). These properties include: margins, background image and color, BiDiMode, DocParameters (page properties, title, author, etc.)
RichViewActions support this feature: results of the following actions can be undone:
- TrvActionColor, TrvActionBackground
- (for ScaleRichView) TsrvActionPageSetup, TsrvActionPageFormat, TsrvActionOrientationPortrait, TsrvActionOrientationLandscape

Printing

TRVPrint (a component for printing TRichViewEdit) has new set of properties defining margins and header/footer positions. Previously, they can be defined in millimeters as integer values. Now they can be defined as floating point values in millimeters, centimeter, inches, points, screen pixels, etc. The new properties allow defining values with higher precision.
The old properties still work, so there is a complete backward compatibility.
(In ScaleRichView, similar properties always were defined as floating point values in different measure units)

TRVPrint can (optionally) print different headers and footers for the first page and odd/even pages.
(In ScaleRichView, this feature will be implemented later)

Changes in formatting

By default, the components do not justify (i.e. do not expand spaces between words) before line breaks (added with Shift+Enter).
A new option allows to justify them.

Complete list of changes Previous versions
http://www.trichview.com/forums/viewtopic.php?t=5967
Last edited by Sergey Tkachenko on Mon Sep 30, 2013 4:22 pm, edited 4 times in total.

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

New demo projects for TRichView 14.9 and ScaleRichView 5.7

Post by Sergey Tkachenko » Mon Sep 30, 2013 3:30 pm

TRichView demos:

Demos\*\Assorted\Printing\Headers\
The demo was changed:
- it supports all 6 types of headers and footers.
- it reads margins and header/footer positions from files

ScaleRichView demos:

Demos\FreePos\TwoPages\
A new demo. It show how to implement a two-page mode, similar to reading mode in MS Word.
Image

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

TRichView 14.9.3, RichViewActions 4.5.1, ScaleRichView 5.7.2

Post by Sergey Tkachenko » Thu Oct 03, 2013 3:27 pm

Update: TRichView 14.9.3, RichViewActions 4.5.1, ScaleRichView 5.7.2

Some fixes.

Post Reply