Wrapper v1.15 for ReportBuilder 9-14

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

Wrapper v1.15 for ReportBuilder 9-14

Post by Sergey Tkachenko »

Wrapper v1.15 for ReportBuilder 9-14

Requires TRichView 14.0+

This wrapper allows using TRichView as objects in ReportBuilder reports.
ReportBuilder web site: www.digital-metaphors.com
The wrapper implements two report objects: ppRichView and ppDBRichView.

http://www.trichview.com/resources/repo ... uilder.zip

new: TppDBRichView.OnGetText event, similar to the event of standard RB text and rich text objects. This event is called after loading from a database. It has RTF string as a parameter. You can modify this RTF, and it will be loaded back. This method can be used for field replacement, however, I recommend using OnLoadDocument and working with ppDBRichView.RichView content directly, using one of the methods shown in http://www.trichview.com/forums/viewtopic.php?t=8

new: KeepTogether property (and the corresponding popup menu item).
If both Stretch and KeepTogether = True, and there is not enough space on the page to display the object completely, it is moved to the next page.

impr: new toolbar icons

fix: document must not be stored in DFM for ppDBRichView.

Previous version
http://www.trichview.com/forums/viewtopic.php?t=5048
mforland
Posts: 1
Joined: Thu Dec 15, 2011 9:24 am

issue with OnGetRichText event (TppDBRichView)

Post by mforland »

Hi, I cant get the OnGetRichText to work. I'm on DXE2 and latest version if wrapper and ReportBuilder.

My event is as follow:
"procedure TfPolicy.InsBordGetCondUWRT(Sender: TObject;
var Text: String);
begin
if cdsINSBORDDETAIL.Active then
Text := FillFormatTextFromDataSet(cdsINSBORDDETAIL, Text);
end;
"
When i put on a break I can see that Text contains RTF code, but report is empty. If i remove this event I get the text on the report.

Any knoen issues with this event??

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

Post by Sergey Tkachenko »

Can you send me a simple project reproducing this problem to richviewgmailcom?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Wrapper v1.15.1 for ReportBuilder 9-14

Post by Sergey Tkachenko »

Wrapper v1.15.1 for ReportBuilder 9-14

The same location.

Updated for compatibility with TRichView 14.5
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Information about ReportBuilder 15.

Post by Sergey Tkachenko »

Information about ReportBuilder 15.

This wrapper can be used in ReportBuilder 15, except for PDF export (ppPDFRendererRV.pas).
A newer version of the wrapper, with full RB15 support, is available for registered users.
I cannot make it public yet, because it requires new features which are not available in the trial TRichView version.
Post Reply