[Demo] How to use DocObjects

Demos, code samples. Only questions related to the existing topics are allowed here.
Post Reply
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

[Demo] How to use DocObjects

Post by Sergey Tkachenko »

TRichView.DocObjects - a collection of objects that can be stored in RVF documents (in addition to strings stored in DocProperties and properties stored in DocParameters).

TRichView itself uses DocObjects to store:
1) common information about equations (such as a default font name)
2) in Report Workshop, common report properties

This demo shows how to store your own objects in RVF documents:
SampleDocObjects.zip
(20.83 KiB) Downloaded 3926 times

It stores two objects. The first object contains a picture, the second object contains a text and a date.
The demo shows that these objects are stored in RVF by saving a document and loading in another editor.
SampleDocObjects.png
SampleDocObjects.png (122.04 KiB) Viewed 55484 times
Sergey Tkachenko
Site Admin
Posts: 17554
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: [Demo] How to use DocObjects

Post by Sergey Tkachenko »

The same demo for C++Builder 10.3 Rio:
Attachments
SampleDocObjectsCpp.zip
(74.84 KiB) Downloaded 3727 times
AndreMurta
Posts: 8
Joined: Tue Nov 25, 2014 5:55 pm

Re: [Demo] How to use DocObjects

Post by AndreMurta »

Thanks Sergey.
Post Reply